Home
last modified time | relevance | path

Searched refs:truncate_fp (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/
Dgenerate_canonical.pass.cpp27 assert(f == truncate_fp((16807 - E::min()) / (E::max() - E::min() + F(1)))); in main()
34 assert(f == truncate_fp((16807 - E::min()) / (E::max() - E::min() + F(1)))); in main()
41 assert(f == truncate_fp((16807 - E::min()) / (E::max() - E::min() + F(1)))); in main()
48 assert(f == truncate_fp((16807 - E::min()) / (E::max() - E::min() + F(1)))); in main()
55 assert(f == truncate_fp((16807 - E::min()) / (E::max() - E::min() + F(1)))); in main()
63 assert(f == truncate_fp((16807 - E::min()) / (E::max() - E::min() + F(1)))); in main()
70 assert(f == truncate_fp((16807 - E::min()) / (E::max() - E::min() + F(1)))); in main()
77 assert(f == truncate_fp( in main()
87 assert(f == truncate_fp( in main()
97 assert(f == truncate_fp( in main()
/external/llvm-project/libcxx/test/std/numerics/rand/rand.util/rand.util.canonical/
Dgenerate_canonical.pass.cpp27 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
34 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
41 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
48 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
55 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
63 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
70 assert(f == truncate_fp((16807 - E::min()) / (static_cast<F>(E::max() - E::min()) + F(1)))); in main()
77 assert(f == truncate_fp( in main()
87 assert(f == truncate_fp( in main()
97 assert(f == truncate_fp( in main()
/external/llvm-project/libcxx/test/support/
Dtruncate_fp.h9 inline long double truncate_fp(long double val) { in truncate_fp() function
14 inline double truncate_fp(double val) { in truncate_fp() function
19 inline float truncate_fp(float val) { in truncate_fp() function
/external/libcxx/test/support/
Dtruncate_fp.h10 inline long double truncate_fp(long double val) { in truncate_fp() function
15 inline double truncate_fp(double val) { in truncate_fp() function
20 inline float truncate_fp(float val) { in truncate_fp() function
/external/llvm-project/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
Dop_divide_duration.pass.cpp44 assert(s1 / s2 == truncate_fp(20./3)); in main()
/external/libcxx/test/std/utilities/time/time.duration/time.duration.nonmember/
Dop_divide_duration.pass.cpp45 assert(s1 / s2 == truncate_fp(20./3)); in main()
/external/llvm-project/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp866 assert(truncate_fp(cbrt(1)) == 1); in test_cbrt()
/external/libcxx/test/std/depr/depr.c.headers/
Dmath_h.pass.cpp834 assert(truncate_fp(cbrt(1)) == 1); in test_cbrt()
/external/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp864 assert(truncate_fp(std::cbrt(1)) == 1); in test_cbrt()
/external/llvm-project/libcxx/test/std/numerics/c.math/
Dcmath.pass.cpp902 assert(truncate_fp(std::cbrt(1)) == 1); in test_cbrt()