Home
last modified time | relevance | path

Searched refs:iszero (Results 1 – 10 of 10) sorted by relevance

/glibc-2.36/math/
Dtest-math-iszero.cc54 CHECK (iszero (T{}), 1); in check_type()
55 CHECK (iszero (T{0}), 1); in check_type()
56 CHECK (iszero (T{-0.0}), 1); in check_type()
57 CHECK (iszero (T{1}), 0); in check_type()
58 CHECK (iszero (T{-1}), 0); in check_type()
59 CHECK (iszero (limits::min ()), 0); in check_type()
60 CHECK (iszero (-limits::min ()), 0); in check_type()
61 CHECK (iszero (limits::max ()), 0); in check_type()
62 CHECK (iszero (-limits::max ()), 0); in check_type()
65 CHECK (iszero (limits::infinity ()), 0); in check_type()
[all …]
Dlibm-test-iszero.inc1 /* Test iszero.
23 TEST_f_b (iszero, 0, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
24 TEST_f_b (iszero, minus_zero, 1, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
25 TEST_f_b (iszero, 10, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
26 TEST_f_b (iszero, min_subnorm_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
27 TEST_f_b (iszero, -min_subnorm_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
28 TEST_f_b (iszero, min_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
29 TEST_f_b (iszero, -min_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
30 TEST_f_b (iszero, max_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
31 TEST_f_b (iszero, -max_value, 0, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED),
[all …]
Dmath.h1092 # define iszero(x) (fpclassify (x) == FP_ZERO) macro
1094 # define iszero(x) (((__typeof (x)) (x)) == 0) macro
1100 iszero (float __val) in iszero() function
1105 iszero (double __val) in iszero() function
1110 iszero (long double __val) in iszero() function
1122 iszero (_Float128 __val) in iszero() function
1129 iszero (__T __val)
Dtest-iszero-excess-precision.c26 if (iszero (TRUE_MIN / 2)) \
DMakefile248 test-femode-traps test-iszero-excess-precision \
268 tests += test-math-isinff test-math-iszero test-math-issignaling \
300 isunordered iszero llogb llrint llround logb lrint \
451 CFLAGS-test-math-iszero.cc += -std=gnu++11
455 CFLAGS-test-iszero-excess-precision.c += -fexcess-precision=standard
/glibc-2.36/sysdeps/powerpc/powerpc64/le/
DMakefile78 CFLAGS-test-math-iszero.cc += $(type-float128-CFLAGS)
/glibc-2.36/
DNEWS3603 - Classification macros: iscanonical, issubnormal, iszero.
3837 [20715] math: iszero macro breaks existing code
/glibc-2.36/manual/
Darith.texi425 @deftypefn {Macro} int iszero (@emph{float-type} @var{x})
/glibc-2.36/ChangeLog.old/
DChangeLog.1918176 issignaling(_Float128) and iszero(_Float128); and template
25406 (CFLAGS-test-math-iszero.cc): Likewise.
25409 (CFLAGS-test-iszero-excess-precision.c): Likewise.
36354 (iszero): New C++ implementation that does not use
36358 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
36364 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
DChangeLog.181226 * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
8662 * math/libm-test-iszero.inc: Include libm-test-driver.c.
9964 * math/libm-test-iszero.inc: Likewise.
15618 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15671 * math/math.h [__cplusplus] (iszero): Define as function template.
15672 * math/Makefile [CXX] (tests): Add test-math-iszero.
15673 (CFLAGS-test-math-iszero.cc): Set.
15674 * math/test-math-iszero.cc: New file.
16636 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16638 * math/test-iszero-excess-precision.c: New file.
[all …]