Lines Matching refs:BitPatterns
21 using BitPatterns = __llvm_libc::fputil::BitPatterns<double>; typedef
27 EXPECT_EQ(BitPatterns::aQuietNaN, in TEST()
28 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::aQuietNaN), in TEST()
30 EXPECT_EQ(BitPatterns::aNegativeQuietNaN, in TEST()
32 valueFromBits(BitPatterns::aNegativeQuietNaN), &integral))); in TEST()
34 EXPECT_EQ(BitPatterns::aSignallingNaN, in TEST()
36 valueFromBits(BitPatterns::aSignallingNaN), &integral))); in TEST()
38 BitPatterns::aNegativeSignallingNaN, in TEST()
40 valueFromBits(BitPatterns::aNegativeSignallingNaN), &integral))); in TEST()
42 EXPECT_EQ(BitPatterns::zero, in TEST()
44 __llvm_libc::modf(valueFromBits(BitPatterns::inf), &integral))); in TEST()
45 EXPECT_EQ(valueAsBits(integral), BitPatterns::inf); in TEST()
47 EXPECT_EQ(BitPatterns::negZero, in TEST()
48 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negInf), in TEST()
50 EXPECT_EQ(valueAsBits(integral), BitPatterns::negInf); in TEST()
52 EXPECT_EQ(BitPatterns::zero, in TEST()
53 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::zero), in TEST()
55 EXPECT_EQ(valueAsBits(integral), BitPatterns::zero); in TEST()
57 EXPECT_EQ(BitPatterns::negZero, in TEST()
58 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negZero), in TEST()
60 EXPECT_EQ(valueAsBits(integral), BitPatterns::negZero); in TEST()
66 EXPECT_EQ(BitPatterns::zero, valueAsBits(__llvm_libc::modf(1.0, &integral))); in TEST()
69 EXPECT_EQ(BitPatterns::negZero, in TEST()
73 EXPECT_EQ(BitPatterns::zero, valueAsBits(__llvm_libc::modf(10.0, &integral))); in TEST()
76 EXPECT_EQ(BitPatterns::negZero, in TEST()
80 EXPECT_EQ(BitPatterns::zero, in TEST()
84 EXPECT_EQ(BitPatterns::negZero, in TEST()