blob: 1ab650b11e7163de8712ee754a1cfb40f4c505ac (
plain)
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
/* Test DFP macros defined in <float.h> with DFP support. */
/* { dg-do compile } */
/* { dg-options "-std=c23" } */
#include <float.h>
#ifndef DEC32_MANT_DIG
# error "DEC32_MANT_DIG not defined"
#endif
#ifndef DEC64_MANT_DIG
# error "DEC64_MANT_DIG not defined"
#endif
#ifndef DEC128_MANT_DIG
# error "DEC128_MANT_DIG not defined"
#endif
#ifndef DEC32_MIN_EXP
# error "DEC32_MIN_EXP not defined"
#endif
#ifndef DEC64_MIN_EXP
# error "DEC64_MIN_EXP not defined"
#endif
#ifndef DEC128_MIN_EXP
# error "DEC128_MIN_EXP not defined"
#endif
#ifndef DEC32_MAX_EXP
# error "DEC32_MAX_EXP not defined"
#endif
#ifndef DEC64_MAX_EXP
# error "DEC64_MAX_EXP not defined"
#endif
#ifndef DEC128_MAX_EXP
# error "DEC128_MAX_EXP not defined"
#endif
#ifndef DEC32_MAX
# error "DEC32_MAX not defined"
#endif
#ifndef DEC64_MAX
# error "DEC64_MAX not defined"
#endif
#ifndef DEC128_MAX
# error "DEC128_MAX not defined"
#endif
#ifndef DEC32_EPSILON
# error "DEC32_EPSILON not defined"
#endif
#ifndef DEC64_EPSILON
# error "DEC64_EPSILON not defined"
#endif
#ifndef DEC128_EPSILON
# error "DEC128_EPSILON not defined"
#endif
#ifndef DEC32_MIN
# error "DEC32_MIN not defined"
#endif
#ifndef DEC64_MIN
# error "DEC64_MIN not defined"
#endif
#ifndef DEC128_MIN
# error "DEC128_MIN not defined"
#endif
#ifndef DEC32_TRUE_MIN
# error "DEC32_TRUE_MIN not defined"
#endif
#ifndef DEC64_TRUE_MIN
# error "DEC64_TRUE_MIN not defined"
#endif
#ifndef DEC128_TRUE_MIN
# error "DEC128_TRUE_MIN not defined"
#endif
/* These macros from TR 24732 should not be defined. */
#ifdef DEC32_SUBNORMAL_MIN
# error "DEC32_SUBNORMAL_MIN defined"
#endif
#ifdef DEC64_SUBNORMAL_MIN
# error "DEC64_SUBNORMAL_MIN defined"
#endif
#ifdef DEC128_SUBNORMAL_MIN
# error "DEC128_SUBNORMAL_MIN defined"
#endif
|