savage
savage copied to clipboard
Non integer exponents appear not to work
Non integer exponents appear not to work. For example, the following produces results as if the exponent was truncated.
in: 6^0.5
out[1]: 1
in: 6^(0.5)
out[2]: 1
in: 6^(1.5)
out[3]: 6
in: 6^(2.5)
out[4]: 36
Thank you for reporting this. The root cause is this upstream issue: https://github.com/rust-num/num-rational/issues/102
Thanks for investigating!