1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

strconv: remove an assert for now

This commit is contained in:
Alexander Medvednikov 2020-04-02 14:26:35 +02:00
parent 5b53b3d7e3
commit be327962d3

View File

@ -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))