Skip to content

Commit 8a371e3

Browse files
committed
Update
1 parent bf65a37 commit 8a371e3

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

testcrate/tests/cmp.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#![allow(unused_macros)]
2+
#![feature(f128)]
3+
#![feature(f16)]
24

35
use testcrate::*;
46

@@ -27,9 +29,9 @@ macro_rules! cmp {
2729
#[test]
2830
fn float_comparisons() {
2931
use compiler_builtins::float::cmp::{
30-
__eqdf2, __eqsf2, __gedf2, __gesf2, __gtdf2, __gtsf2, __ledf2, __lesf2, __ltdf2, __ltsf2,
31-
__nedf2, __nesf2, __unordtf2, __unorddf2, __unordsf2,
32-
__lttf2, __letft, __eqtf2, __getf2, __gttf2, __netf2
32+
__eqdf2, __eqsf2, __eqtf2, __gedf2, __gesf2, __getf2, __gtdf2, __gtsf2, __gttf2, __ledf2,
33+
__lesf2, __letft, __ltdf2, __ltsf2, __lttf2, __nedf2, __nesf2, __netf2, __unorddf2,
34+
__unordsf2, __unordtf2,
3335
};
3436

3537
fuzz_float_2(N, |x: f32, y: f32| {

testcrate/tests/div_rem.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ macro_rules! float {
114114
#[cfg(not(target_arch = "arm"))]
115115
if !Float::eq_repr(quo0, quo1) {
116116
panic!(
117-
"{}({}, {}): std: {}, builtins: {}",
117+
"{}({:?}, {:?}): std: {:?}, builtins: {:?}",
118118
stringify!($fn), x, y, quo0, quo1
119119
);
120120
}
@@ -124,7 +124,7 @@ macro_rules! float {
124124
if !(Float::is_subnormal(quo0) || Float::is_subnormal(quo1)) {
125125
if !Float::eq_repr(quo0, quo1) {
126126
panic!(
127-
"{}({}, {}): std: {}, builtins: {}",
127+
"{}({:?}, {:?}): std: {:?}, builtins: {:?}",
128128
stringify!($fn), x, y, quo0, quo1
129129
);
130130
}

0 commit comments

Comments
 (0)