1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
# name nextdown
# arg1 decimal
# ret decimal
0 -DEC_SUBNORMAL_MIN
-0 -DEC_SUBNORMAL_MIN
DEC_SUBNORMAL_MIN 0
1 0.9999999 decimal32
2 1.999999 decimal32
3 2.999999 decimal32
3 2.999999999999999 decimal64
3 2.999999999999999999999999999999999 decimal128
9.999998E+DEC_MAX_EXP 9.999997E+DEC_MAX_EXP decimal32
9.999999999999998E+DEC_MAX_EXP 9.999999999999997E+DEC_MAX_EXP decimal64
9.999999999999999999999999999999998E+DEC_MAX_EXP 9.999999999999999999999999999999997E+DEC_MAX_EXP decimal128
-0.999999E-DEC_MIN_EXP -1E-DEC_MIN_EXP decimal32
-0.999999999999999E-DEC_MIN_EXP -1E-DEC_MIN_EXP decimal64
-0.999999999999999999999999999999999E-DEC_MIN_EXP -1E-DEC_MIN_EXP decimal128
NaN NaN
Inf DEC_MAX
-Inf -Inf
-DEC_MAX -Inf
|