2 releases
Uses old Rust 2015
0.1.1 | Feb 5, 2019 |
---|---|
0.1.0 | Feb 4, 2019 |
#4 in #integers
6KB
122 lines
memo_int_sqrt
Definitely run the benchmarks before using this. In my benchmarking, I found that for f32
s, .sqrt().recip()
is often
faster than using the lookup table. For f64
s, the lookup table is faster for inverse squareroot, but not for squareroot.