Lines Matching refs:modf
28 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::aQuietNaN), in TEST()
31 valueAsBits(__llvm_libc::modf( in TEST()
35 valueAsBits(__llvm_libc::modf( in TEST()
39 valueAsBits(__llvm_libc::modf( in TEST()
44 __llvm_libc::modf(valueFromBits(BitPatterns::inf), &integral))); in TEST()
48 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negInf), in TEST()
53 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::zero), in TEST()
58 valueAsBits(__llvm_libc::modf(valueFromBits(BitPatterns::negZero), in TEST()
66 EXPECT_EQ(BitPatterns::zero, valueAsBits(__llvm_libc::modf(1.0, &integral))); in TEST()
70 valueAsBits(__llvm_libc::modf(-1.0, &integral))); in TEST()
73 EXPECT_EQ(BitPatterns::zero, valueAsBits(__llvm_libc::modf(10.0, &integral))); in TEST()
77 valueAsBits(__llvm_libc::modf(-10.0, &integral))); in TEST()
81 valueAsBits(__llvm_libc::modf(12345.0, &integral))); in TEST()
85 valueAsBits(__llvm_libc::modf(-12345.0, &integral))); in TEST()
92 EXPECT_EQ(valueAsBits(0.5), valueAsBits(__llvm_libc::modf(1.5, &integral))); in TEST()
95 EXPECT_EQ(valueAsBits(-0.5), valueAsBits(__llvm_libc::modf(-1.5, &integral))); in TEST()
99 valueAsBits(__llvm_libc::modf(10.75, &integral))); in TEST()
103 valueAsBits(__llvm_libc::modf(-10.75, &integral))); in TEST()
107 valueAsBits(__llvm_libc::modf(100.125, &integral))); in TEST()
111 valueAsBits(__llvm_libc::modf(-100.125, &integral))); in TEST()
127 double frac = __llvm_libc::modf(x, &integral); in TEST()