This is probably Apple Silicon specific, not OSX per se:

> sum(rep(1 / 9, 9)) - 1
[1] 0

> On 23 Oct 2024, at 07:26 , Stevie Pederson <[email protected]> 
> wrote:
> 
> sum(rep(1 / 9, 9)) - 1
> # [1] 2.220446e-16

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: [email protected]  Priv: [email protected]

______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to