-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[Merged by Bors] - Use cbrt()
instead of powf(1./3.)
#6481
Conversation
Merging as trivial. bors r+ |
# Objective - Use cube root library function instead of handrolling. ## Solution - Instead of `powf(1./3.)` use `cbrt()`.
cbrt()
instead of powf(1./3.)
cbrt()
instead of powf(1./3.)
This is fine in an example, but I don't think the implementation for |
Oof, that's really frustrating. Noted! |
I understand what you're saying (and I know Alice does as well, since we're both Factorio fans), but... |
Explicit yes, documented not really. We should probably add it to the contributing guide. |
# Objective - Use cube root library function instead of handrolling. ## Solution - Instead of `powf(1./3.)` use `cbrt()`.
Objective
Solution
powf(1./3.)
usecbrt()
.