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

Exponentiation (**) operator ~x2 faster than Math.pow() #188

Open
GavinRay97 opened this issue Nov 13, 2019 · 1 comment
Open

Exponentiation (**) operator ~x2 faster than Math.pow() #188

GavinRay97 opened this issue Nov 13, 2019 · 1 comment

Comments

@GavinRay97
Copy link

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Exponentiation

Chrome [Version 79.0.3921.0 (Official Build) dev (64-bit)]:

mathpow-bench-chrome

Firefox Nightly [72.0a1 (2019-11-11) (64-bit)]:

math-pow-firefox

@raimannma
Copy link
Member

I will use this for the new RL part.

Thanks for sharing!

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