Use Hacker's Delight impl in i64::midpoint instead of wide i128 impl · qinheping/verify-rust-std@b534a02 (original) (raw)

Original file line number Diff line number Diff line change
@@ -429,7 +429,7 @@ impl i64 {
429 429 from_xe_bytes_doc = "",
430 430 bound_condition = "",
431 431 }
432 -midpoint_impl! { i64, i128, signed }
432 +midpoint_impl! { i64, signed }
433 433 }
434 434
435 435 impl i128 {
@@ -530,7 +530,7 @@ impl isize {
530 530 from_xe_bytes_doc = usize_isize_from_xe_bytes_doc!(),
531 531 bound_condition = " on 64-bit targets",
532 532 }
533 -midpoint_impl! { isize, i128, signed }
533 +midpoint_impl! { isize, signed }
534 534 }
535 535
536 536 /// If the 6th bit is set ascii is lower case.