[Chicken-users] thoughts on alternate "posits" / "unums" instead of traditional floats?

2019-07-09 Thread Daniel Ortmann
I am probably the last to run across this alternate floating point format ... but now I am curious. If these posits were implemented in Chicken, what sort of work would be required? Would they replace the traditional floats? Or would they be an optional part of the numeric stack? https://www.next

Re: [Chicken-users] thoughts on alternate "posits" / "unums" instead of traditional floats?

2019-07-09 Thread Peter Bex
On Tue, Jul 09, 2019 at 12:25:12PM -0500, Daniel Ortmann wrote: > I am probably the last to run across this alternate floating point > format ... but now I am curious. > > If these posits were implemented in Chicken, what sort of work would be > required? > Would they replace the traditional float

Re: [Chicken-users] thoughts on alternate "posits" / "unums" instead of traditional floats?

2019-07-09 Thread John Cowan
On Tue, Jul 9, 2019 at 2:07 PM Peter Bex wrote: They could be, but Scheme does not really allow for multiple types > of inexact numbers. Actually it has no problem with them. There are literals for up to four separate inexact types, using S, F, D, and L as exponent markers, and arithmetic jus