projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
more pow(0,-inf) fixes
[libc-test]
/
src
/
math
/
ucb
/
powf.h
diff --git
a/src/math/ucb/powf.h
b/src/math/ucb/powf.h
index
d9e00db
..
c0d7747
100644
(file)
--- a/
src/math/ucb/powf.h
+++ b/
src/math/ucb/powf.h
@@
-277,28
+277,28
@@
T(RD, -0x0p+0, inf, 0x0p+0, 0x0p+0, 0)
// +-(|x| < 1) ** -inf is +inf
T(RN, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RN, 0x1p-149, -inf, inf, 0x0p+0, 0)
// +-(|x| < 1) ** -inf is +inf
T(RN, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RN, 0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RN, 0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RN, 0x0p+0, -inf, inf, 0x0p+0,
0
)
T(RN, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RN, -0x1p-149, -inf, inf, 0x0p+0, 0)
T(RN, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RN, -0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RN, -0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RN, -0x0p+0, -inf, inf, 0x0p+0,
0
)
T(RZ, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RZ, 0x1p-149, -inf, inf, 0x0p+0, 0)
T(RZ, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RZ, 0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RZ, 0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RZ, 0x0p+0, -inf, inf, 0x0p+0,
0
)
T(RZ, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RZ, -0x1p-149, -inf, inf, 0x0p+0, 0)
T(RZ, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RZ, -0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RZ, -0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RZ, -0x0p+0, -inf, inf, 0x0p+0,
0
)
T(RU, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RU, 0x1p-149, -inf, inf, 0x0p+0, 0)
T(RU, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RU, 0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RU, 0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RU, 0x0p+0, -inf, inf, 0x0p+0,
0
)
T(RU, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RU, -0x1p-149, -inf, inf, 0x0p+0, 0)
T(RU, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RU, -0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RU, -0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RU, -0x0p+0, -inf, inf, 0x0p+0,
0
)
T(RD, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RD, 0x1p-149, -inf, inf, 0x0p+0, 0)
T(RD, 0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RD, 0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RD, 0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RD, 0x0p+0, -inf, inf, 0x0p+0,
0
)
T(RD, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RD, -0x1p-149, -inf, inf, 0x0p+0, 0)
T(RD, -0x1.fffffep-1, -inf, inf, 0x0p+0, 0)
T(RD, -0x1p-149, -inf, inf, 0x0p+0, 0)
-T(RD, -0x0p+0, -inf, inf, 0x0p+0,
DIVBYZERO
)
+T(RD, -0x0p+0, -inf, inf, 0x0p+0,
0
)
// +-1 ** +-inf is +1
T(RN, 0x1p+0, inf, 0x1p+0, 0x0p+0, 0)
T(RN, 0x1p+0, -inf, 0x1p+0, 0x0p+0, 0)
// +-1 ** +-inf is +1
T(RN, 0x1p+0, inf, 0x1p+0, 0x0p+0, 0)
T(RN, 0x1p+0, -inf, 0x1p+0, 0x0p+0, 0)