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

long float assignment crashed compiler #32907

Closed
ford--prefect opened this issue Apr 12, 2016 · 4 comments
Closed

long float assignment crashed compiler #32907

ford--prefect opened this issue Apr 12, 2016 · 4 comments

Comments

@ford--prefect
Copy link

an assignment of pi with big precision makes rustc go nuts:
code line:

let pi: f64 = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609;

backtrace at http://pastebin.com/4Yb9ezpH

@alexcrichton
Copy link
Member

cc @oli-obk

@oli-obk
Copy link
Contributor

oli-obk commented Apr 12, 2016

this is already "fixed": http://is.gd/6x7P43

see #31407 for more

@hanna-kruppe
Copy link
Contributor

Well not fixed but known and already has an issue.

Man I should really get around to fixing that.

@alexcrichton
Copy link
Member

Ah ok, closing as a dupe of #31407

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

4 participants