Message134159
The three most popular logarithm bases are 10, e, and 2. The math library has direct function calls for the first two but not the latter which is important in informatics.
Since a direct call can use a custom algorithm or native hardware support (such as the FLDLN2 fpu instruction), it provides better speed and accuracy than our existing math.log(x, 2) option. |
|
Date |
User |
Action |
Args |
2011-04-20 15:58:52 | rhettinger | set | recipients:
+ rhettinger, mark.dickinson |
2011-04-20 15:58:52 | rhettinger | set | messageid: <1303315132.33.0.304023866846.issue11888@psf.upfronthosting.co.za> |
2011-04-20 15:58:48 | rhettinger | link | issue11888 messages |
2011-04-20 15:58:48 | rhettinger | create | |
|