Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non integer exponents appear not to work #10

Open
Edgeworth opened this issue Apr 2, 2022 · 2 comments
Open

Non integer exponents appear not to work #10

Edgeworth opened this issue Apr 2, 2022 · 2 comments

Comments

@Edgeworth
Copy link

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
@p-e-w
Copy link
Owner

p-e-w commented Apr 4, 2022

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

@Edgeworth
Copy link
Author

Thanks for investigating!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants