News for hackers. Stuff that matters.
Re:John Gustafson’s crusade to replace floating point with s... by epr on Tuesday July 09, 2019 @09:44AM (#20391628)
Common Lisp over here like:

  * (+ (+ 1 1) (expt 2 256))
  115792089237316195423570985008687907853269984665640564039457584007913129639938

  * (+ 1 (+ 1 (expt 2 256)))
  115792089237316195423570985008687907853269984665640564039457584007913129639938
Re:John Gustafson’s crusade to replace floating point with s... by deathanatos on Wednesday July 10, 2019 @05:59PM (#20407050)
Python will happily do this too, if you remove the ".0" in the example, the values become integers, instead of floats, and the computation is precise.

The point is to demonstrate a property of IEEE floats, not the language. I'd expect CL has some means of using IEEE floats too, and with the appropriate syntax, the same issues could be demonstrated.

Re:John Gustafson’s crusade to replace floating point with s... by FabHK on Tuesday July 09, 2019 @10:25AM (#20392035)
Many languages support BigFloats and BigInts, but this discussion is about IEEE 754 floats vs Gustavson's proposals.