Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The Mathematical Hacker. Parent comment
This usually gives enough accuracy for the purposes of floating point.
However, I'm not sure if "pow" can be usefully implemented this way. I am guessing no, because pow grows faster than any polynomial eventually...
edit: Hmm, pow at least looks linear here: http://www.netlib.org/fdlibm/e_pow.c
There are no comments on this comment yet.
This usually gives enough accuracy for the purposes of floating point.
However, I'm not sure if "pow" can be usefully implemented this way. I am guessing no, because pow grows faster than any polynomial eventually...
edit: Hmm, pow at least looks linear here: http://www.netlib.org/fdlibm/e_pow.c