Lines Matching refs:valueAsBits
17 using __llvm_libc::fputil::valueAsBits;
26 valueAsBits(__llvm_libc::logb(valueFromBits(BitPatterns::aQuietNaN)))); in TEST()
28 valueAsBits(__llvm_libc::logb( in TEST()
32 valueAsBits( in TEST()
35 valueAsBits(__llvm_libc::logb( in TEST()
39 valueAsBits(__llvm_libc::logb(valueFromBits(BitPatterns::inf)))); in TEST()
41 valueAsBits(__llvm_libc::logb(valueFromBits(BitPatterns::negInf)))); in TEST()
44 valueAsBits(__llvm_libc::logb(valueFromBits(BitPatterns::zero)))); in TEST()
45 EXPECT_EQ(BitPatterns::negInf, valueAsBits(__llvm_libc::logb( in TEST()
50 EXPECT_EQ(valueAsBits(0.0), valueAsBits(__llvm_libc::logb(1.0))); in TEST()
51 EXPECT_EQ(valueAsBits(0.0), valueAsBits(__llvm_libc::logb(-1.0))); in TEST()
53 EXPECT_EQ(valueAsBits(1.0), valueAsBits(__llvm_libc::logb(2.0))); in TEST()
54 EXPECT_EQ(valueAsBits(1.0), valueAsBits(__llvm_libc::logb(-2.0))); in TEST()
56 EXPECT_EQ(valueAsBits(2.0), valueAsBits(__llvm_libc::logb(4.0))); in TEST()
57 EXPECT_EQ(valueAsBits(2.0), valueAsBits(__llvm_libc::logb(-4.0))); in TEST()
59 EXPECT_EQ(valueAsBits(3.0), valueAsBits(__llvm_libc::logb(8.0))); in TEST()
60 EXPECT_EQ(valueAsBits(3.0), valueAsBits(__llvm_libc::logb(-8.0))); in TEST()
62 EXPECT_EQ(valueAsBits(4.0), valueAsBits(__llvm_libc::logb(16.0))); in TEST()
63 EXPECT_EQ(valueAsBits(4.0), valueAsBits(__llvm_libc::logb(-16.0))); in TEST()
65 EXPECT_EQ(valueAsBits(5.0), valueAsBits(__llvm_libc::logb(32.0))); in TEST()
66 EXPECT_EQ(valueAsBits(5.0), valueAsBits(__llvm_libc::logb(-32.0))); in TEST()
70 EXPECT_EQ(valueAsBits(1.0), valueAsBits(__llvm_libc::logb(3.0))); in TEST()
71 EXPECT_EQ(valueAsBits(1.0), valueAsBits(__llvm_libc::logb(-3.0))); in TEST()
73 EXPECT_EQ(valueAsBits(2.0), valueAsBits(__llvm_libc::logb(7.0))); in TEST()
74 EXPECT_EQ(valueAsBits(2.0), valueAsBits(__llvm_libc::logb(-7.0))); in TEST()
76 EXPECT_EQ(valueAsBits(3.0), valueAsBits(__llvm_libc::logb(10.0))); in TEST()
77 EXPECT_EQ(valueAsBits(3.0), valueAsBits(__llvm_libc::logb(-10.0))); in TEST()
79 EXPECT_EQ(valueAsBits(4.0), valueAsBits(__llvm_libc::logb(31.0))); in TEST()
80 EXPECT_EQ(valueAsBits(4.0), valueAsBits(__llvm_libc::logb(-31.0))); in TEST()
82 EXPECT_EQ(valueAsBits(5.0), valueAsBits(__llvm_libc::logb(55.0))); in TEST()
83 EXPECT_EQ(valueAsBits(5.0), valueAsBits(__llvm_libc::logb(-55.0))); in TEST()