Searched refs:value_f32 (Results 1 – 2 of 2) sorted by relevance
/external/FP16/test/ |
D | alt-from-fp32-value.cc | 354 const float value_f32 = fp16_alt_to_fp32_value(f16); in TEST() local 356 memcpy(&bits_f32, &value_f32, sizeof(bits_f32)); in TEST() 358 ASSERT_EQ(f16, fp16_alt_from_fp32_value(value_f32)) << in TEST() 362 "F16(F32(F16)) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(value_f32); in TEST() 367 const float value_f32 = fp16_alt_to_fp32_value(f16); in TEST() local 369 memcpy(&bits_f32, &value_f32, sizeof(bits_f32)); in TEST() 371 ASSERT_EQ(f16, fp16_alt_from_fp32_value(value_f32)) << in TEST() 375 "F16(F32(F16)) = 0x" << std::setw(4) << fp16_alt_from_fp32_value(value_f32); in TEST()
|
D | ieee-from-fp32-value.cc | 354 const float value_f32 = fp16_ieee_to_fp32_value(f16); in TEST() local 356 memcpy(&bits_f32, &value_f32, sizeof(bits_f32)); in TEST() 358 ASSERT_EQ(f16, fp16_ieee_from_fp32_value(value_f32)) << in TEST() 362 "F16(F32(F16)) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(value_f32); in TEST() 367 const float value_f32 = fp16_ieee_to_fp32_value(f16); in TEST() local 369 memcpy(&bits_f32, &value_f32, sizeof(bits_f32)); in TEST() 371 ASSERT_EQ(f16, fp16_ieee_from_fp32_value(value_f32)) << in TEST() 375 "F16(F32(F16)) = 0x" << std::setw(4) << fp16_ieee_from_fp32_value(value_f32); in TEST()
|