We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 673a6f9 commit 258feadCopy full SHA for 258fead
build.rs
@@ -1913,8 +1913,9 @@ static TEST_CASES: &[((i128,), u64)] = &[
1913
fn floattidf() {
1914
for &((a,), b) in TEST_CASES {
1915
let b_ = __floattidf(a);
1916
- let diff = if to_u64(b_) > b { to_u64(b_) - b } else { b - to_u64(b_) };
1917
- assert_eq!(((a,), b, true), ((a,), b, diff <= 1));
+ let g_b = to_u64(b_);
+ let diff = if g_b > b { g_b - b } else { b - g_b };
1918
+ assert_eq!(((a,), b, g_b, true), ((a,), b, g_b, diff <= 1));
1919
}
1920
1921
"
@@ -2245,8 +2246,9 @@ static TEST_CASES: &[((u128,), u64)] = &[
2245
2246
fn floatuntidf() {
2247
2248
let b_ = __floatuntidf(a);
2249
2250
2251
2252
2253
2254
0 commit comments