/external/llvm-project/libc/test/src/math/ |
D | floor_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::floor(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::floor(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::floor(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::floor(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0, __llvm_libc::floor(1.0)); in TEST() 35 EXPECT_FP_EQ(-1.0, __llvm_libc::floor(-1.0)); in TEST() 36 EXPECT_FP_EQ(10.0, __llvm_libc::floor(10.0)); in TEST() 37 EXPECT_FP_EQ(-10.0, __llvm_libc::floor(-10.0)); in TEST() 38 EXPECT_FP_EQ(1234.0, __llvm_libc::floor(1234.0)); in TEST() 39 EXPECT_FP_EQ(-1234.0, __llvm_libc::floor(-1234.0)); in TEST() [all …]
|
D | ceil_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::ceil(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::ceil(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::ceil(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::ceil(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0, __llvm_libc::ceil(1.0)); in TEST() 35 EXPECT_FP_EQ(-1.0, __llvm_libc::ceil(-1.0)); in TEST() 36 EXPECT_FP_EQ(10.0, __llvm_libc::ceil(10.0)); in TEST() 37 EXPECT_FP_EQ(-10.0, __llvm_libc::ceil(-10.0)); in TEST() 38 EXPECT_FP_EQ(1234.0, __llvm_libc::ceil(1234.0)); in TEST() 39 EXPECT_FP_EQ(-1234.0, __llvm_libc::ceil(-1234.0)); in TEST() [all …]
|
D | truncf_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::truncf(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::truncf(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::truncf(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::truncf(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0f, __llvm_libc::truncf(1.0f)); in TEST() 35 EXPECT_FP_EQ(-1.0f, __llvm_libc::truncf(-1.0f)); in TEST() 36 EXPECT_FP_EQ(10.0f, __llvm_libc::truncf(10.0f)); in TEST() 37 EXPECT_FP_EQ(-10.0f, __llvm_libc::truncf(-10.0f)); in TEST() 38 EXPECT_FP_EQ(1234.0f, __llvm_libc::truncf(1234.0f)); in TEST() 39 EXPECT_FP_EQ(-1234.0f, __llvm_libc::truncf(-1234.0f)); in TEST() [all …]
|
D | round_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::round(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::round(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::round(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::round(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0, __llvm_libc::round(1.0)); in TEST() 35 EXPECT_FP_EQ(-1.0, __llvm_libc::round(-1.0)); in TEST() 36 EXPECT_FP_EQ(10.0, __llvm_libc::round(10.0)); in TEST() 37 EXPECT_FP_EQ(-10.0, __llvm_libc::round(-10.0)); in TEST() 38 EXPECT_FP_EQ(1234.0, __llvm_libc::round(1234.0)); in TEST() 39 EXPECT_FP_EQ(-1234.0, __llvm_libc::round(-1234.0)); in TEST() [all …]
|
D | truncl_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::truncl(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::truncl(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::truncl(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::truncl(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0l, __llvm_libc::truncl(1.0l)); in TEST() 35 EXPECT_FP_EQ(-1.0l, __llvm_libc::truncl(-1.0l)); in TEST() 36 EXPECT_FP_EQ(10.0l, __llvm_libc::truncl(10.0l)); in TEST() 37 EXPECT_FP_EQ(-10.0l, __llvm_libc::truncl(-10.0l)); in TEST() 38 EXPECT_FP_EQ(1234.0l, __llvm_libc::truncl(1234.0l)); in TEST() 39 EXPECT_FP_EQ(-1234.0l, __llvm_libc::truncl(-1234.0l)); in TEST() [all …]
|
D | roundl_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::roundl(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::roundl(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::roundl(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::roundl(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0l, __llvm_libc::roundl(1.0l)); in TEST() 35 EXPECT_FP_EQ(-1.0l, __llvm_libc::roundl(-1.0l)); in TEST() 36 EXPECT_FP_EQ(10.0l, __llvm_libc::roundl(10.0l)); in TEST() 37 EXPECT_FP_EQ(-10.0l, __llvm_libc::roundl(-10.0l)); in TEST() 38 EXPECT_FP_EQ(1234.0l, __llvm_libc::roundl(1234.0l)); in TEST() 39 EXPECT_FP_EQ(-1234.0l, __llvm_libc::roundl(-1234.0l)); in TEST() [all …]
|
D | ceilf_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::ceilf(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::ceilf(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::ceilf(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::ceilf(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0f, __llvm_libc::ceilf(1.0f)); in TEST() 35 EXPECT_FP_EQ(-1.0f, __llvm_libc::ceilf(-1.0f)); in TEST() 36 EXPECT_FP_EQ(10.0f, __llvm_libc::ceilf(10.0f)); in TEST() 37 EXPECT_FP_EQ(-10.0f, __llvm_libc::ceilf(-10.0f)); in TEST() 38 EXPECT_FP_EQ(1234.0f, __llvm_libc::ceilf(1234.0f)); in TEST() 39 EXPECT_FP_EQ(-1234.0f, __llvm_libc::ceilf(-1234.0f)); in TEST() [all …]
|
D | trunc_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::trunc(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::trunc(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::trunc(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::trunc(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0, __llvm_libc::trunc(1.0)); in TEST() 35 EXPECT_FP_EQ(-1.0, __llvm_libc::trunc(-1.0)); in TEST() 36 EXPECT_FP_EQ(10.0, __llvm_libc::trunc(10.0)); in TEST() 37 EXPECT_FP_EQ(-10.0, __llvm_libc::trunc(-10.0)); in TEST() 38 EXPECT_FP_EQ(1234.0, __llvm_libc::trunc(1234.0)); in TEST() 39 EXPECT_FP_EQ(-1234.0, __llvm_libc::trunc(-1234.0)); in TEST() [all …]
|
D | floorl_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::floorl(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::floorl(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::floorl(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::floorl(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0l, __llvm_libc::floorl(1.0l)); in TEST() 35 EXPECT_FP_EQ(-1.0l, __llvm_libc::floorl(-1.0l)); in TEST() 36 EXPECT_FP_EQ(10.0l, __llvm_libc::floorl(10.0l)); in TEST() 37 EXPECT_FP_EQ(-10.0l, __llvm_libc::floorl(-10.0l)); in TEST() 38 EXPECT_FP_EQ(1234.0l, __llvm_libc::floorl(1234.0l)); in TEST() 39 EXPECT_FP_EQ(-1234.0l, __llvm_libc::floorl(-1234.0l)); in TEST() [all …]
|
D | ceill_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::ceill(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::ceill(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::ceill(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::ceill(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0l, __llvm_libc::ceill(1.0l)); in TEST() 35 EXPECT_FP_EQ(-1.0l, __llvm_libc::ceill(-1.0l)); in TEST() 36 EXPECT_FP_EQ(10.0l, __llvm_libc::ceill(10.0l)); in TEST() 37 EXPECT_FP_EQ(-10.0l, __llvm_libc::ceill(-10.0l)); in TEST() 38 EXPECT_FP_EQ(1234.0l, __llvm_libc::ceill(1234.0l)); in TEST() 39 EXPECT_FP_EQ(-1234.0l, __llvm_libc::ceill(-1234.0l)); in TEST() [all …]
|
D | roundf_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::roundf(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::roundf(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::roundf(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::roundf(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0f, __llvm_libc::roundf(1.0f)); in TEST() 35 EXPECT_FP_EQ(-1.0f, __llvm_libc::roundf(-1.0f)); in TEST() 36 EXPECT_FP_EQ(10.0f, __llvm_libc::roundf(10.0f)); in TEST() 37 EXPECT_FP_EQ(-10.0f, __llvm_libc::roundf(-10.0f)); in TEST() 38 EXPECT_FP_EQ(1234.0f, __llvm_libc::roundf(1234.0f)); in TEST() 39 EXPECT_FP_EQ(-1234.0f, __llvm_libc::roundf(-1234.0f)); in TEST() [all …]
|
D | floorf_test.cpp | 23 EXPECT_FP_EQ(zero, __llvm_libc::floorf(zero)); in TEST() 24 EXPECT_FP_EQ(negZero, __llvm_libc::floorf(negZero)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::floorf(inf)); in TEST() 27 EXPECT_FP_EQ(negInf, __llvm_libc::floorf(negInf)); in TEST() 34 EXPECT_FP_EQ(1.0f, __llvm_libc::floorf(1.0f)); in TEST() 35 EXPECT_FP_EQ(-1.0f, __llvm_libc::floorf(-1.0f)); in TEST() 36 EXPECT_FP_EQ(10.0f, __llvm_libc::floorf(10.0f)); in TEST() 37 EXPECT_FP_EQ(-10.0f, __llvm_libc::floorf(-10.0f)); in TEST() 38 EXPECT_FP_EQ(1234.0f, __llvm_libc::floorf(1234.0f)); in TEST() 39 EXPECT_FP_EQ(-1234.0f, __llvm_libc::floorf(-1234.0f)); in TEST() [all …]
|
D | fmax_test.cpp | 20 EXPECT_FP_EQ(inf, __llvm_libc::fmax(nan, inf)); in TEST() 21 EXPECT_FP_EQ(negInf, __llvm_libc::fmax(negInf, nan)); in TEST() 22 EXPECT_FP_EQ(0.0, __llvm_libc::fmax(nan, 0.0)); in TEST() 23 EXPECT_FP_EQ(-0.0, __llvm_libc::fmax(-0.0, nan)); in TEST() 24 EXPECT_FP_EQ(-1.2345, __llvm_libc::fmax(nan, -1.2345)); in TEST() 25 EXPECT_FP_EQ(1.2345, __llvm_libc::fmax(1.2345, nan)); in TEST() 30 EXPECT_FP_EQ(inf, __llvm_libc::fmax(negInf, inf)); in TEST() 31 EXPECT_FP_EQ(inf, __llvm_libc::fmax(inf, 0.0)); in TEST() 32 EXPECT_FP_EQ(inf, __llvm_libc::fmax(-0.0, inf)); in TEST() 33 EXPECT_FP_EQ(inf, __llvm_libc::fmax(inf, 1.2345)); in TEST() [all …]
|
D | fminl_test.cpp | 20 EXPECT_FP_EQ(inf, __llvm_libc::fminl(nan, inf)); in TEST() 21 EXPECT_FP_EQ(negInf, __llvm_libc::fminl(negInf, nan)); in TEST() 22 EXPECT_FP_EQ(0.0L, __llvm_libc::fminl(nan, 0.0L)); in TEST() 23 EXPECT_FP_EQ(-0.0L, __llvm_libc::fminl(-0.0L, nan)); in TEST() 24 EXPECT_FP_EQ(-1.2345L, __llvm_libc::fminl(nan, -1.2345L)); in TEST() 25 EXPECT_FP_EQ(1.2345L, __llvm_libc::fminl(1.2345L, nan)); in TEST() 30 EXPECT_FP_EQ(negInf, __llvm_libc::fminl(negInf, inf)); in TEST() 31 EXPECT_FP_EQ(0.0L, __llvm_libc::fminl(inf, 0.0L)); in TEST() 32 EXPECT_FP_EQ(-0.0L, __llvm_libc::fminl(-0.0L, inf)); in TEST() 33 EXPECT_FP_EQ(1.2345L, __llvm_libc::fminl(inf, 1.2345L)); in TEST() [all …]
|
D | fmaxf_test.cpp | 20 EXPECT_FP_EQ(inf, __llvm_libc::fmaxf(nan, inf)); in TEST() 21 EXPECT_FP_EQ(negInf, __llvm_libc::fmaxf(negInf, nan)); in TEST() 22 EXPECT_FP_EQ(0.0f, __llvm_libc::fmaxf(nan, 0.0f)); in TEST() 23 EXPECT_FP_EQ(-0.0f, __llvm_libc::fmaxf(-0.0f, nan)); in TEST() 24 EXPECT_FP_EQ(-1.2345f, __llvm_libc::fmaxf(nan, -1.2345f)); in TEST() 25 EXPECT_FP_EQ(1.2345f, __llvm_libc::fmaxf(1.2345f, nan)); in TEST() 30 EXPECT_FP_EQ(inf, __llvm_libc::fmaxf(negInf, inf)); in TEST() 31 EXPECT_FP_EQ(inf, __llvm_libc::fmaxf(inf, 0.0f)); in TEST() 32 EXPECT_FP_EQ(inf, __llvm_libc::fmaxf(-0.0f, inf)); in TEST() 33 EXPECT_FP_EQ(inf, __llvm_libc::fmaxf(inf, 1.2345f)); in TEST() [all …]
|
D | fminf_test.cpp | 20 EXPECT_FP_EQ(inf, __llvm_libc::fminf(nan, inf)); in TEST() 21 EXPECT_FP_EQ(negInf, __llvm_libc::fminf(negInf, nan)); in TEST() 22 EXPECT_FP_EQ(0.0f, __llvm_libc::fminf(nan, 0.0f)); in TEST() 23 EXPECT_FP_EQ(-0.0f, __llvm_libc::fminf(-0.0f, nan)); in TEST() 24 EXPECT_FP_EQ(-1.2345f, __llvm_libc::fminf(nan, -1.2345f)); in TEST() 25 EXPECT_FP_EQ(1.2345f, __llvm_libc::fminf(1.2345f, nan)); in TEST() 30 EXPECT_FP_EQ(negInf, __llvm_libc::fminf(negInf, inf)); in TEST() 31 EXPECT_FP_EQ(0.0f, __llvm_libc::fminf(inf, 0.0f)); in TEST() 32 EXPECT_FP_EQ(-0.0f, __llvm_libc::fminf(-0.0f, inf)); in TEST() 33 EXPECT_FP_EQ(1.2345f, __llvm_libc::fminf(inf, 1.2345f)); in TEST() [all …]
|
D | fmin_test.cpp | 20 EXPECT_FP_EQ(inf, __llvm_libc::fmin(nan, inf)); in TEST() 21 EXPECT_FP_EQ(negInf, __llvm_libc::fmin(negInf, nan)); in TEST() 22 EXPECT_FP_EQ(0.0, __llvm_libc::fmin(nan, 0.0)); in TEST() 23 EXPECT_FP_EQ(-0.0, __llvm_libc::fmin(-0.0, nan)); in TEST() 24 EXPECT_FP_EQ(-1.2345, __llvm_libc::fmin(nan, -1.2345)); in TEST() 25 EXPECT_FP_EQ(1.2345, __llvm_libc::fmin(1.2345, nan)); in TEST() 30 EXPECT_FP_EQ(negInf, __llvm_libc::fmin(negInf, inf)); in TEST() 31 EXPECT_FP_EQ(0.0, __llvm_libc::fmin(inf, 0.0)); in TEST() 32 EXPECT_FP_EQ(-0.0, __llvm_libc::fmin(-0.0, inf)); in TEST() 33 EXPECT_FP_EQ(1.2345, __llvm_libc::fmin(inf, 1.2345)); in TEST() [all …]
|
D | fmaxl_test.cpp | 20 EXPECT_FP_EQ(inf, __llvm_libc::fmaxl(nan, inf)); in TEST() 21 EXPECT_FP_EQ(negInf, __llvm_libc::fmaxl(negInf, nan)); in TEST() 22 EXPECT_FP_EQ(0.0L, __llvm_libc::fmaxl(nan, 0.0L)); in TEST() 23 EXPECT_FP_EQ(-0.0L, __llvm_libc::fmaxl(-0.0L, nan)); in TEST() 24 EXPECT_FP_EQ(-1.2345L, __llvm_libc::fmaxl(nan, -1.2345L)); in TEST() 25 EXPECT_FP_EQ(1.2345L, __llvm_libc::fmaxl(1.2345L, nan)); in TEST() 30 EXPECT_FP_EQ(inf, __llvm_libc::fmaxl(negInf, inf)); in TEST() 31 EXPECT_FP_EQ(inf, __llvm_libc::fmaxl(inf, 0.0L)); in TEST() 32 EXPECT_FP_EQ(inf, __llvm_libc::fmaxl(-0.0L, inf)); in TEST() 33 EXPECT_FP_EQ(inf, __llvm_libc::fmaxl(inf, 1.2345L)); in TEST() [all …]
|
D | FDimTest.h | 23 EXPECT_FP_EQ(nan, func(nan, inf)); in testNaNArg() 24 EXPECT_FP_EQ(nan, func(negInf, nan)); in testNaNArg() 25 EXPECT_FP_EQ(nan, func(nan, zero)); in testNaNArg() 26 EXPECT_FP_EQ(nan, func(negZero, nan)); in testNaNArg() 27 EXPECT_FP_EQ(nan, func(nan, T(-1.2345))); in testNaNArg() 28 EXPECT_FP_EQ(nan, func(T(1.2345), nan)); in testNaNArg() 33 EXPECT_FP_EQ(zero, func(negInf, inf)); in testInfArg() 34 EXPECT_FP_EQ(inf, func(inf, zero)); in testInfArg() 35 EXPECT_FP_EQ(zero, func(negZero, inf)); in testInfArg() 36 EXPECT_FP_EQ(inf, func(inf, T(1.2345))); in testInfArg() [all …]
|
D | copysignl_test.cpp | 20 EXPECT_FP_EQ(nan, __llvm_libc::copysignl(nan, -1.0)); in TEST() 21 EXPECT_FP_EQ(nan, __llvm_libc::copysignl(nan, 1.0)); in TEST() 23 EXPECT_FP_EQ(negInf, __llvm_libc::copysignl(inf, -1.0)); in TEST() 24 EXPECT_FP_EQ(inf, __llvm_libc::copysignl(negInf, 1.0)); in TEST() 26 EXPECT_FP_EQ(negZero, __llvm_libc::copysignl(zero, -1.0)); in TEST() 27 EXPECT_FP_EQ(zero, __llvm_libc::copysignl(negZero, 1.0)); in TEST()
|
D | copysign_test.cpp | 20 EXPECT_FP_EQ(nan, __llvm_libc::copysign(nan, -1.0)); in TEST() 21 EXPECT_FP_EQ(nan, __llvm_libc::copysign(nan, 1.0)); in TEST() 23 EXPECT_FP_EQ(negInf, __llvm_libc::copysign(inf, -1.0)); in TEST() 24 EXPECT_FP_EQ(inf, __llvm_libc::copysign(negInf, 1.0)); in TEST() 26 EXPECT_FP_EQ(negZero, __llvm_libc::copysign(zero, -1.0)); in TEST() 27 EXPECT_FP_EQ(zero, __llvm_libc::copysign(negZero, 1.0)); in TEST()
|
D | copysignf_test.cpp | 20 EXPECT_FP_EQ(nan, __llvm_libc::copysignf(nan, -1.0)); in TEST() 21 EXPECT_FP_EQ(nan, __llvm_libc::copysignf(nan, 1.0)); in TEST() 23 EXPECT_FP_EQ(negInf, __llvm_libc::copysignf(inf, -1.0)); in TEST() 24 EXPECT_FP_EQ(inf, __llvm_libc::copysignf(negInf, 1.0)); in TEST() 26 EXPECT_FP_EQ(negZero, __llvm_libc::copysignf(zero, -1.0)); in TEST() 27 EXPECT_FP_EQ(zero, __llvm_libc::copysignf(negZero, 1.0)); in TEST()
|
D | HypotTest.h | 35 EXPECT_FP_EQ(func(inf, nan), inf); in testSpecialNumbers() 36 EXPECT_FP_EQ(func(nan, negInf), inf); in testSpecialNumbers() 37 EXPECT_FP_EQ(func(zero, inf), inf); in testSpecialNumbers() 38 EXPECT_FP_EQ(func(negInf, negZero), inf); in testSpecialNumbers() 40 EXPECT_FP_EQ(func(nan, nan), nan); in testSpecialNumbers() 41 EXPECT_FP_EQ(func(nan, zero), nan); in testSpecialNumbers() 42 EXPECT_FP_EQ(func(negZero, nan), nan); in testSpecialNumbers() 44 EXPECT_FP_EQ(func(negZero, zero), zero); in testSpecialNumbers()
|
D | fabs_test.cpp | 23 EXPECT_FP_EQ(nan, __llvm_libc::fabs(nan)); in TEST() 25 EXPECT_FP_EQ(inf, __llvm_libc::fabs(inf)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::fabs(negInf)); in TEST() 28 EXPECT_FP_EQ(zero, __llvm_libc::fabs(zero)); in TEST() 29 EXPECT_FP_EQ(zero, __llvm_libc::fabs(negZero)); in TEST()
|
D | fabsf_test.cpp | 23 EXPECT_FP_EQ(nan, __llvm_libc::fabsf(nan)); in TEST() 25 EXPECT_FP_EQ(inf, __llvm_libc::fabsf(inf)); in TEST() 26 EXPECT_FP_EQ(inf, __llvm_libc::fabsf(negInf)); in TEST() 28 EXPECT_FP_EQ(zero, __llvm_libc::fabsf(zero)); in TEST() 29 EXPECT_FP_EQ(zero, __llvm_libc::fabsf(negZero)); in TEST()
|