p-e-w / savage

A primitive computer algebra system

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non integer exponents appear not to work

Edgeworth opened this issue · 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

Thank you for reporting this. The root cause is this upstream issue: rust-num/num-rational#102

Thanks for investigating!