strconv: remove an assert for now
parent
5b53b3d7e3
commit
be327962d3
|
@ -96,7 +96,8 @@ fn decimal_len_32(u u32) int {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn mul_shift_32(m u32, mul u64, ishift int) u32 {
|
fn mul_shift_32(m u32, mul u64, ishift int) u32 {
|
||||||
assert ishift > 32
|
// QTODO
|
||||||
|
//assert ishift > 32
|
||||||
|
|
||||||
hi, lo := bits.mul_64(u64(m), mul)
|
hi, lo := bits.mul_64(u64(m), mul)
|
||||||
shifted_sum := (lo >> u64(ishift)) + (hi << u64(64-ishift))
|
shifted_sum := (lo >> u64(ishift)) + (hi << u64(64-ishift))
|
||||||
|
|
Loading…
Reference in New Issue