News for hackers. Stuff that matters.
Re:A Radical Approach to Computation with Real Numbers [pdf] by antiquark on Sunday April 03, 2016 @03:08PM (#11417200)
Prolly an etiquette violation to crosspost to reddit, but I wrote a little "bootleg" version of unums in C++. There seems to be some inherent problems with the unum2 concept though:

* The smallest non-zero value is 1e-9.

* The biggest non-infinite value is 1e9.

* The first integer that shows roundoff error is 3.

* The integer 100001 loses its last digit. 100001 -> unum -> float = 100000.

See the link at: https://www.reddit.com/r/programming/comments/4d08g0/a_radic...

Re:A Radical Approach to Computation with Real Numbers [pdf] by tlack on Sunday April 03, 2016 @05:35PM (#11417879)
Hmmm. But isn't the idea of unum2 that the size of the representation, and hence its properties, can and should vary by application?
Re:A Radical Approach to Computation with Real Numbers [pdf] by antiquark on Sunday April 03, 2016 @05:39PM (#11417891)
Yes, but I thought I would try one that takes 4 bytes like a float, just to see how it compares.