File: nextdown.input

package info (click to toggle)
libdfp 1.0.17-0.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,172 kB
  • sloc: ansic: 255,724; sh: 4,225; makefile: 703; awk: 461; python: 432; cpp: 254
file content (28 lines) | stat: -rw-r--r-- 1,397 bytes parent folder | download
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