Home
last modified time | relevance | path

Searched refs:NAN (Results 1 – 11 of 11) sorted by relevance

/picolibc-latest/test/
Dmath_errhandling_tests.c50 volatile const FLOAT_T makemathname(qnanval) = (FLOAT_T) NAN;
804 #define sNAN_RET NAN
819 TEST(acos_2, (FLOAT_T) NAN, FE_INVALID, EDOM),
820 TEST(acos_qnan, (FLOAT_T) NAN, 0, 0),
821 TEST(acos_snan, (FLOAT_T) NAN, FE_INVALID, 0),
822 TEST(acos_inf, (FLOAT_T) NAN, FE_INVALID, EDOM),
823 TEST(acos_minf, (FLOAT_T) NAN, FE_INVALID, EDOM),
825 TEST(acosh_half, (FLOAT_T)NAN, FE_INVALID, EDOM),
826 TEST(acosh_qnan, (FLOAT_T)NAN, 0, 0),
827 TEST(acosh_snan, (FLOAT_T)NAN, FE_INVALID, 0),
[all …]
Dlong_double_vec.h5043 { .line = __LINE__, .x0 = -4L, .x1 = -3.75L, .y = (long double) NAN },
5044 { .line = __LINE__, .x0 = -4L, .x1 = -3.5L, .y = (long double) NAN },
5045 { .line = __LINE__, .x0 = -4L, .x1 = -3.25L, .y = (long double) NAN },
5046 { .line = __LINE__, .x0 = -4L, .x1 = -2.75L, .y = (long double) NAN },
5047 { .line = __LINE__, .x0 = -4L, .x1 = -2.5L, .y = (long double) NAN },
5048 { .line = __LINE__, .x0 = -4L, .x1 = -2.25L, .y = (long double) NAN },
5049 { .line = __LINE__, .x0 = -4L, .x1 = -1.75L, .y = (long double) NAN },
5050 { .line = __LINE__, .x0 = -4L, .x1 = -1.5L, .y = (long double) NAN },
5051 { .line = __LINE__, .x0 = -4L, .x1 = -1.25L, .y = (long double) NAN },
5052 { .line = __LINE__, .x0 = -4L, .x1 = -0.75L, .y = (long double) NAN },
[all …]
Dtestcases.c707 result |= test(__LINE__, "nan", "%a", printf_float(NAN));
708 result |= test(__LINE__, "-nan", "%a", printf_float(-(FLOAT) NAN));
711 result |= test(__LINE__, "NAN", "%A", printf_float(NAN));
712 result |= test(__LINE__, "-NAN", "%A", printf_float(-(FLOAT) NAN));
771 result |= test(__LINE__, "nan", "%La", (long double) NAN);
772 result |= test(__LINE__, "-nan", "%La", (long double) -NAN);
775 result |= test(__LINE__, "NAN", "%LA", (long double) NAN);
776 result |= test(__LINE__, "-NAN", "%LA", (long double) -NAN);
/picolibc-latest/newlib/libm/common/
Dmath_errf_invalidf.c32 static CONST_FORCE_FLOAT VAL = pick_float_except(0.0f, (float) NAN);
38 return pick_float_except(x + x, (float) NAN); in __math_invalidf()
Dmath_err_invalid.c33 static CONST_FORCE_FLOAT64 VAL = pick_float64_except(_F_64(0.0), (__float64) NAN);
/picolibc-latest/newlib/libm/ld/
Dmath_errl_invalidl.c33 static CONST_FORCE_LONG_DOUBLE VAL = pick_long_double_except((long double) 0.0, (long double) NAN);
/picolibc-latest/newlib/libc/include/
Dmath.h65 # ifndef NAN
66 # define NAN (__builtin_nanf("")) macro
99 #if !defined(NAN)
106 #define NAN (__Nanf.__d)
108 #define NAN (0.0F/0.0F)
/picolibc-latest/newlib/libc/tinystdio/
Dconv_flt.c225 flt = (FLOAT) NAN; in conv_flt()
/picolibc-latest/newlib/libm/test/
Dconv_vec.c3683 {__LINE__, "NAN", (double) NAN, 3, },
3684 {__LINE__, "nan", (double) NAN, 3, },
3685 {__LINE__, "NaN", (double) NAN, 3, },
/picolibc-latest/
DREADME.md878 'NAN' and 'INF' in fscanf in a case-insensitive manner, fix
/picolibc-latest/newlib/
DChangeLog-20155231 FP_ILOGBNAN returns for 0 and NAN arguments, respectively, instead of
6184 for the non-builtin case for INFINITY and NAN. Gate HUGE_VALL and
6729 * libm/common/s_fdim.c: Return NAN for NAN arg, add fdim() and fdimf()
6731 * libm/common/sf_fdim.c: Return NAN for NAN arg, HUGE_VALF for inf arg.
10359 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)