projects
/
libm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use different const in __expo2
[libm]
/
src
/
math
/
__expo2f.c
diff --git
a/src/math/__expo2f.c
b/src/math/__expo2f.c
index
d35f440
..
7e61ba7
100644
(file)
--- a/
src/math/__expo2f.c
+++ b/
src/math/__expo2f.c
@@
-1,6
+1,6
@@
#include "libm.h"
-/* k
minimizes |exp(k ln2) - 2**k|, see cmath/__cexpf.c
*/
+/* k
is such that k*ln2 has minimal error
*/
static const uint32_t k = 235;
static const float kln2 = 162.88958740f;