Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 480ebc1

Browse files
committed
Use inclusive range for testing all f32 bit patterns
1 parent b10d776 commit 480ebc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/libm-test/tests/exhaustive32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ macro_rules! exhaustive32 {
6060
fn $id($arg_id: f32) -> $ret_ty;
6161
}
6262

63-
for i in 0..u32::max_value() {
63+
for i in 0..=u32::max_value() {
6464
let arg: f32 = unsafe { std::mem::transmute(i) };
6565
let result = libm::$id(arg);
6666
let expected = unsafe { $id(arg) };

0 commit comments

Comments
 (0)