[ot] [wrong] personal project probstats notes

Karl gmkarl at gmail.com
Tue Jun 1 15:08:43 PDT 2021


Floating point optimizations for pow() (note: all the histograms could
totally be integers):
-
https://stackoverflow.com/questions/6475373/optimizations-for-pow-with-const-non-integer-exponent
-
https://martin.ankerl.com/2007/10/04/optimized-pow-approximation-for-java-and-c-c/

I think it was the second answer to the stackoverflow link that contained a
pow() implementation that could be made arbitrarily accurate and took just
a few instructions to execute.

Integer optimizations for pow():
- https://gist.github.com/orlp/3551590
- https://github.com/ampl/gsl/blob/master/sys/pow_int.c

I'm not yet finding a library that contains these from google.  The
optimizations are almost a decade old.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/html
Size: 1466 bytes
Desc: not available
URL: <https://lists.cpunks.org/pipermail/cypherpunks/attachments/20210601/03bf2307/attachment.txt>


More information about the cypherpunks mailing list