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

Double-check pow implementation on MIPS #106

Open
vks opened this issue Mar 7, 2019 · 1 comment
Open

Double-check pow implementation on MIPS #106

vks opened this issue Mar 7, 2019 · 1 comment

Comments

@vks
Copy link
Contributor

vks commented Mar 7, 2019

In Rand, we use essentially the same implementation as in in num_traits, but it fails to return the correct result on the MIPS architecture: rust-random/rand#752

It seems likely that the num implementation is also affected by this issue.

@cuviper
Copy link
Member

cuviper commented Mar 7, 2019

Does it give the same wrong answer on debug and release builds? Have you stepped through to see where it goes wrong? Either way, if this only fails on MIPS, it seems more likely to be a codegen issue to report to the compiler.

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