@@ -492,11 +492,10 @@ unsafe fn write_significand17(
492492 all( target_arch = "x86_64" , target_feature = "sse2" , not( miri) ) ,
493493 ) ) ) ]
494494 {
495- let start = unsafe { buffer. add ( 1 ) } ;
496495 // Digits/pairs of digits are denoted by letters: value = abbccddeeffgghhii.
497496 let abbccddee = ( value / 100_000_000 ) as u32 ;
498497 let ffgghhii = ( value % 100_000_000 ) as u32 ;
499- buffer = unsafe { write_if ( start , abbccddee / 100_000_000 , has17digits) } ;
498+ buffer = unsafe { write_if ( buffer , abbccddee / 100_000_000 , has17digits) } ;
500499 let bcd = to_bcd8 ( u64:: from ( abbccddee % 100_000_000 ) ) ;
501500 unsafe {
502501 write8 ( buffer, bcd | ZEROS ) ;
@@ -567,8 +566,7 @@ unsafe fn write_significand17(
567566 let a = ( umul128 ( abbccddee, c. mul_const ) >> 90 ) as u64 ;
568567 let bbccddee = abbccddee - a * hundred_million;
569568
570- let start = unsafe { buffer. add ( 1 ) } ;
571- buffer = unsafe { write_if ( start, a as u32 , has17digits) } ;
569+ buffer = unsafe { write_if ( buffer, a as u32 , has17digits) } ;
572570
573571 unsafe {
574572 let ffgghhii_bbccddee_64: uint64x1_t =
@@ -1034,7 +1032,7 @@ where
10341032 dec_exp += Float :: MAX_DIGITS10 as i32 - 2 + i32:: from ( has17digits) ;
10351033 unsafe {
10361034 write_significand17 (
1037- buffer,
1035+ buffer. add ( 1 ) ,
10381036 dec. sig as u64 ,
10391037 has17digits,
10401038 #[ cfg( all( target_arch = "x86_64" , target_feature = "sse2" , not( miri) ) ) ]
0 commit comments