
5 Jan
2017
5 Jan
'17
2:30 p.m.
On 2017-01-05 01:16 PM, Henson wrote:
I have one Rational number (3 + sqrt 5)
Irrational Number.
let x = (truncate ((3 + sqrt 5) ^ 2000000)) `mod` 1000 and result is 216.
You need to firstly read http://floating-point-gui.de/formats/fp/ , and secondly google for "goldberg floating point" and read "what every computer scientist should know about floating-point arithmetic".