-
Notifications
You must be signed in to change notification settings - Fork 387
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
Math.log10 #11
Comments
Do you propose to round the result? The function uses just built-in js math funcs: |
rounding will not help users of this shim should be informed... |
I've added |
how did you calculate this accuracy? |
It's simple, it's the smallest accuracy when all math tests are passing. |
Math.hypot(10e200, 0) - 10e200 |
and this is a bug in hypot. it should be probably for large numbers
|
meh, it gives incorrect result too |
@paulmillr see https://gist.github.com/2427837 for "hypot" - http://www.netlib.org/fdlibm/e_hypot.c translated to js |
great, thanks, i'll look at it & try to merge |
nice |
Math.log10(1e15) is 14.999999999999996 in Chrome 19
The text was updated successfully, but these errors were encountered: