Lines Matching refs:__half_raw
27 using Eigen::half_impl::__half_raw; in test_conversion()
44 float val1 = float(half(__half_raw(0x3c00))); in test_conversion()
45 float val2 = float(half(__half_raw(0x3c01))); in test_conversion()
46 float val3 = float(half(__half_raw(0x3c02))); in test_conversion()
62 VERIFY_IS_EQUAL(float(half(__half_raw(0x0000))), 0.0f); in test_conversion()
63 VERIFY_IS_EQUAL(float(half(__half_raw(0x3c00))), 1.0f); in test_conversion()
66 VERIFY_IS_APPROX(float(half(__half_raw(0x8001))), -5.96046e-08f); in test_conversion()
67 VERIFY_IS_APPROX(float(half(__half_raw(0x0001))), 5.96046e-08f); in test_conversion()
68 VERIFY_IS_APPROX(float(half(__half_raw(0x0002))), 1.19209e-07f); in test_conversion()
73 VERIFY((numext::isinf)(float(half(__half_raw(0xfc00))))); in test_conversion()
74 VERIFY((numext::isnan)(float(half(__half_raw(0xfc01))))); in test_conversion()
75 VERIFY((numext::isinf)(float(half(__half_raw(0x7c00))))); in test_conversion()
76 VERIFY((numext::isnan)(float(half(__half_raw(0x7c01))))); in test_conversion()
86 VERIFY(!(numext::isinf)(half(__half_raw(0x7bff)))); in test_conversion()
87 VERIFY(!(numext::isnan)(half(__half_raw(0x0000)))); in test_conversion()
88 VERIFY((numext::isinf)(half(__half_raw(0xfc00)))); in test_conversion()
89 VERIFY((numext::isnan)(half(__half_raw(0xfc01)))); in test_conversion()
90 VERIFY((numext::isinf)(half(__half_raw(0x7c00)))); in test_conversion()
91 VERIFY((numext::isnan)(half(__half_raw(0x7c01)))); in test_conversion()