@brief Test normal numbers. */
| 30 | |
| 31 | /** @brief Test normal numbers. */ |
| 32 | TEST(softfloat, FP16NormalNumbers) |
| 33 | { |
| 34 | float result = sf16_to_float((15 << 10) + 1); |
| 35 | EXPECT_NEAR(result, 1.00098f, 0.00005f); |
| 36 | } |
| 37 | |
| 38 | /** @brief Test denormal numbers. */ |
| 39 | TEST(softfloat, FP16DenormalNumbers) |
nothing calls this directly
no test coverage detected