We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Math.cbrt(-x) should be equal to -Math.cbrt(x)
Math.cbrt(-x)
-Math.cbrt(x)
The text was updated successfully, but these errors were encountered:
@Yaffle hmm?
console.log(Math.cbrt(-1)) // => -1
Sorry, something went wrong.
Ah, excuse me, I copied Math.cbrt manually, and forgot sign(x), seems.
Math.cbrt
sign(x)
Also, please look at compat-table/compat-table#392
I do not think that this accuracy is needed, especially as it is not defined in the specification.
@zloirock I do not think the specification is needed so.
No branches or pull requests
Math.cbrt(-x)
should be equal to-Math.cbrt(x)
The text was updated successfully, but these errors were encountered: