savage icon indicating copy to clipboard operation
savage copied to clipboard

Non integer exponents appear not to work

Open Edgeworth opened this issue 2 years ago • 2 comments

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

Edgeworth avatar Apr 02 '22 03:04 Edgeworth

Thank you for reporting this. The root cause is this upstream issue: https://github.com/rust-num/num-rational/issues/102

p-e-w avatar Apr 04 '22 06:04 p-e-w

Thanks for investigating!

Edgeworth avatar Apr 04 '22 13:04 Edgeworth