The routine uses vec::pop_char instead of vec::shift_char.
Activity
Yoric commentedon Oct 11, 2011
Ok, I'll pick this issue as my first foray into rust.
Yoric commentedon Oct 11, 2011
Actually, it's a bit worse:
str_to_float "1.5"
returns1
.jdm commentedon Oct 11, 2011
Oh right, I remember coming across that before.
Either start the loop at 0u and use i+1u in pow, or just make the loop
. I think that should resolve it.Yoric commentedon Oct 12, 2011
Well, eventually, I rewrote the whole function. This
int::pow
was also a problem as each call is linear.Auto merge of rust-lang#8802 - smoelius:allow-expect-unwrap-in-tests,…
Fix _mm_storeu_pd test (rust-lang#1015)
Tests for `assume` (rust-lang#1015)