Skip to content

Commit e102c0a

Browse files
committed
Add test for +0.0f underflow output.
1 parent 7b34e70 commit e102c0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libc/test/src/math/smoke/powf_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,5 @@ TEST_F(LlvmLibcPowfTest, SpecialNumbers) {
192192
}
193193

194194
EXPECT_FP_EQ(-0.0f, LIBC_NAMESPACE::powf(-0.015625f, 25.0f));
195+
EXPECT_FP_EQ(0.0f, LIBC_NAMESPACE::powf(-0.015625f, 26.0f));
195196
}

0 commit comments

Comments
 (0)