Home
last modified time | relevance | path

Searched refs:FP_NAN (Results 1 – 25 of 69) sorted by relevance

123

/third_party/musl/libc-test/src/math/
Dfpclassify.c12 T(0.0/0.0, FP_NAN)
13 T(-0.0/0.0, FP_NAN)
31 T(0.0/0.0, FP_NAN)
32 T(-0.0/0.0, FP_NAN)
50 T(0.0/0.0, FP_NAN)
51 T(-0.0/0.0, FP_NAN)
75 C(FP_NAN) in strclass()
97 if (!!isnan(tf[i].f) != (tf[i].class == FP_NAN)) in main()
110 if (!!isnan(td[i].f) != (td[i].class == FP_NAN)) in main()
123 if (!!isnan(tl[i].f) != (tl[i].class == FP_NAN)) in main()
/third_party/musl/src/math/
D__fpclassifyl.c23 return FP_NAN; in __fpclassifyl()
24 return u.i.m << 1 ? FP_NAN : FP_INFINITE; in __fpclassifyl()
27 return FP_NAN; in __fpclassifyl()
39 return u.i2.lo | u.i2.hi ? FP_NAN : FP_INFINITE; in __fpclassifyl()
D__fpclassifyf.c9 if (e==0xff) return u.i<<9 ? FP_NAN : FP_INFINITE; in __fpclassifyf()
D__fpclassify.c9 if (e==0x7ff) return u.i<<12 ? FP_NAN : FP_INFINITE; in __fpclassify()
/third_party/musl/porting/liteos_a/kernel/src/math/
D__fpclassifyl.c23 return FP_NAN; in __fpclassifyl()
24 return u.i.m << 1 ? FP_NAN : FP_INFINITE; in __fpclassifyl()
27 return FP_NAN; in __fpclassifyl()
39 return u.i2.lo | u.i2.hi ? FP_NAN : FP_INFINITE; in __fpclassifyl()
D__fpclassifyf.c9 if (e==0xff) return u.i<<9 ? FP_NAN : FP_INFINITE; in __fpclassifyf()
D__fpclassify.c9 if (e==0x7ff) return u.i<<12 ? FP_NAN : FP_INFINITE; in __fpclassify()
/third_party/musl/porting/liteos_m/kernel/src/math/
D__fpclassifyl.c23 return FP_NAN; in __fpclassifyl()
24 return u.i.m << 1 ? FP_NAN : FP_INFINITE; in __fpclassifyl()
27 return FP_NAN; in __fpclassifyl()
39 return u.i2.lo | u.i2.hi ? FP_NAN : FP_INFINITE; in __fpclassifyl()
D__fpclassify.c9 if (e==0x7ff) return u.i<<12 ? FP_NAN : FP_INFINITE; in __fpclassify()
/third_party/musl/porting/uniproton/kernel/src/math/
D__fpclassifyl.c23 return FP_NAN; in __fpclassifyl()
24 return u.i.m << 1 ? FP_NAN : FP_INFINITE; in __fpclassifyl()
27 return FP_NAN; in __fpclassifyl()
39 return u.i2.lo | u.i2.hi ? FP_NAN : FP_INFINITE; in __fpclassifyl()
D__fpclassify.c9 if (e==0x7ff) return u.i<<12 ? FP_NAN : FP_INFINITE; in __fpclassify()
/third_party/ltp/tools/sparse/sparse-src/validation/expand/
Dbuiltin_fpclassify.c1 enum { FP_NAN, FP_INF, FP_NOR, FP_SUB, FP_ZERO }; enumerator
3 #define classify(X) __builtin_fpclassify(FP_NAN,FP_INF,FP_NOR,FP_SUB,FP_ZERO,X)
7 if (classify(__builtin_nan("0")) != FP_NAN) in test()
/third_party/musl/libc-test/src/regression/
Dfpclassify-invalid-ld80.c16 C(FP_NAN) in strclass()
56 T(u.f, "normal with msb unset", c, FP_NAN, s, "nan"); in main()
59 T(u.f, "infinity with msb unset", c, FP_NAN, s, "nan"); in main()
62 T(u.f, "nan with msb unset", c, FP_NAN, s, "nan"); in main()
/third_party/boost/libs/spirit/test/qi/
Dreal1.cpp91 && FP_NAN == fpclassify(d)); in main()
94 && FP_NAN == fpclassify(d)); in main()
97 && FP_NAN == fpclassify(d)); in main()
100 && FP_NAN == fpclassify(d)); in main()
Dreal2.cpp131 FP_NAN == fpclassify(d) && signbit(d)); in main()
134 FP_NAN == fpclassify(d) && signbit(d)); in main()
138 FP_NAN == fpclassify(d) && signbit(d)); in main()
141 FP_NAN == fpclassify(d) && signbit(d)); in main()
/third_party/mesa3d/include/
Dc99_math.h157 static inline enum {FP_NAN, FP_INFINITE, FP_ZERO, FP_SUBNORMAL, FP_NORMAL} enumerator
163 return FP_NAN; in fpclassify()
180 return FP_NAN; in fpclassify()
/third_party/boost/libs/spirit/test/x3/
Dreal2.cpp107 FP_NAN == fpclassify(d) && signbit(d)); in main()
110 FP_NAN == fpclassify(d) && signbit(d)); in main()
114 FP_NAN == fpclassify(d) && signbit(d)); in main()
117 FP_NAN == fpclassify(d) && signbit(d)); in main()
/third_party/ffmpeg/compat/djgpp/
Dmath.c24 if (fpclassify(x) == FP_NAN) return y; \
25 if (fpclassify(y) == FP_NAN) return x; \
/third_party/boost/boost/math/special_functions/
Dfpclassify.hpp119 return (BOOST_FPCLASSIFY_PREFIX fpclassify(t) == (int)FP_NAN); in is_nan_helper()
167 return FP_NAN; in BOOST_NO_MACRO_EXPAND()
170 return FP_NAN; in BOOST_NO_MACRO_EXPAND()
173 return FP_NAN; in BOOST_NO_MACRO_EXPAND()
192 return FP_NAN; in BOOST_NO_MACRO_EXPAND()
237 return FP_NAN; in BOOST_NO_MACRO_EXPAND()
264 return FP_NAN; in BOOST_NO_MACRO_EXPAND()
Dulp.hpp29 if(fpclass == (int)FP_NAN) in ulp_imp()
63 if(fpclass == (int)FP_NAN) in ulp_imp()
/third_party/boost/libs/math/test/
Dtest_classify.cpp223 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (int)FP_NAN); in test_classify()
224 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(-t), (int)FP_NAN); in test_classify()
241 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (int)FP_NAN); in test_classify()
242 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(-t), (int)FP_NAN); in test_classify()
275 std::cout << "FP_NAN: " << (int)FP_NAN << std::endl; in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/multiprecision/detail/functions/
Dtrig.hpp92 case FP_NAN: in eval_sin()
249 case FP_NAN: in eval_cos()
449 case FP_NAN: in eval_asin()
566 case FP_NAN: in eval_acos()
622 case FP_NAN: in eval_atan()
730 case FP_NAN: in eval_atan2()
780 case FP_NAN: in eval_atan2()
/third_party/musl/libc-test/src/functionalext/supplement/math/
D__fpclassifyf.c43 EXPECT_EQ("__fpclassifyf_0200", ret, FP_NAN); in __fpclassifyf_0200()
D__fpclassifyl.c43 EXPECT_EQ("__fpclassifyl_0200", ret, FP_NAN); in __fpclassifyl_0200()
/third_party/boost/libs/multiprecision/test/
Dtest_fpclassify.cpp258 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (int)FP_NAN); in test()
259 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(-t), (int)FP_NAN); in test()
276 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(t), (int)FP_NAN); in test()
277 BOOST_CHECK_EQUAL((::boost::math::fpclassify)(-t), (int)FP_NAN); in test()
382 std::cout << "FP_NAN: " << (int)FP_NAN << std::endl; in main()

123