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

comptime std.math #6270

Closed
xxxbxxx opened this issue Sep 7, 2020 · 1 comment · Fixed by #6603
Closed

comptime std.math #6270

xxxbxxx opened this issue Sep 7, 2020 · 1 comment · Fixed by #6603
Milestone

Comments

@xxxbxxx
Copy link
Contributor

xxxbxxx commented Sep 7, 2020

hi!

Since 0bd53dd
it's no longer possible to use comptime std.math code to precompute comptime data.

bug or feature?
(I mean, I don't quite understand the math precision vodoo with forced eval, so maybe it was previously working by mistake...)

example: https://godbolt.org/z/jMfbTE

@daurnimator
Copy link
Contributor

Related: #6168

@Vexu Vexu added this to the 0.7.0 milestone Sep 7, 2020
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

Successfully merging a pull request may close this issue.

3 participants