Message305907
> Exposing exp2 in the math library would be less interesting
I disagree: a libm exp2 is likely to be significantly accurate than pow(2.0, x). The latter is unlikely to be special-cased by the libm pow.
> The latter can call exp2() internally if it provides more accuracy than exp(log(x)*y).
It would be a very poor pow implementation that used exp(log(x)*y). |
|
Date |
User |
Action |
Args |
2017-11-08 21:20:49 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, stutzbach, serhiy.storchaka |
2017-11-08 21:20:49 | mark.dickinson | set | messageid: <1510176049.09.0.213398074469.issue31980@psf.upfronthosting.co.za> |
2017-11-08 21:20:49 | mark.dickinson | link | issue31980 messages |
2017-11-08 21:20:49 | mark.dickinson | create | |
|