News for hackers. Stuff that matters.
Re:Show HN: libRmath.js – A port of R's Nmath numeric librar... by Jacobot on Thursday March 22, 2018 @08:51AM (#16648153)
The README in the github JS port has 9000 lines of documentation and code samples (R and JS side by side) to prove the output is the same for all functions.

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

Re:Show HN: libRmath.js – A port of R's Nmath numeric librar... by RobertRoberts on Thursday March 22, 2018 @09:15PM (#16654260)
>R is fudging numbers?

I said javascript fudges numbers, not R.

Re:Show HN: libRmath.js – A port of R's Nmath numeric librar... by Jacobot on Friday March 30, 2018 @04:17PM (#16719481)
Javascript fudges numbers??? I don't see how making stuff up is helpfull.

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