feat(osmomath): log2 approximation (#2788)
* feat: osmomath log2 approximation * lint * fix comment * comment * Update osmomath/decimal.go * improve accuracy with narrower range * comment * implement and test precise log for x >= 1 * tests for negative values * make non-mutative and test * bench * changelog * remove redundant assignments * improve comments
Showing
+205 -31
osmomath/log2_bench_test.go
0 → 100644
Please register or sign in to comment