Here are two math problems all of us can do with pen and paper. What is 10^16 + 1 ?
What is exp(15*log(10)) ? But R gets these wrong.> options(scipen=20) > 10^16 + 1 [1] 10000000000000000 > exp(15*log(10)) [1] 1000000000000006Why is that? We use computers for all of our analyses, but most of us don't really understand how computers store and process numbers, let alone how R stores and processes numbers, so we're surprised when we see things like R mess up a simple math problem."
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
Raconteur.pdf | manage | 265.7 K | 03 Nov 2010 - 16:40 | UnknownUser | ||
linux20091026.pdf | manage | 492.5 K | 28 Oct 2009 - 14:39 | CharlesDupont |