by Jacobot · 8y ago · 0 comments
R is fudging numbers? I dont think so, neither does JS or excel btw.
R shows limited precision to a human, you can control this with options('digits'=22) Example
> options(digits=22)
> 1/1.2
[1] 0.83333333333333337
> options(digits=4)
> 1/1.2
[1] 0.8333
I said javascript fudges numbers, not R.
The README contains over 8900 lines of 200+ well documented standalone examples with many many code samples comparing JS and R side by side for every function call.
THE RESULTS ARE EXACTLY THE SAME!!
You took the effort to throw dirt at JS, but could you not have glossed over the "proof" first?
You seem to not know that IEEE floating is a standard, I suggest you read up on that first