Re: [racket-dev] Subnormal numbers?

2011-11-29 Thread Jos Koot
29 de noviembre de 2011 20:39 To: dev@racket-lang.org Subject: Re: [racket-dev] Subnormal numbers? I can't answer the question about underflow. But if you don't mind installing a nightly build of Racket, you get the (currently undocumented) module `unstable/flonum', which exports

Re: [racket-dev] Subnormal numbers?

2011-11-29 Thread Neil Toronto
I can't answer the question about underflow. But if you don't mind installing a nightly build of Racket, you get the (currently undocumented) module `unstable/flonum', which exports these: flonum->bit-field bit-field->flonum flonum->ordinal; number of flonums away from 0 (+ or -

[racket-dev] Subnormal numbers?

2011-11-29 Thread J. Ian Johnson
I'm currently proctoring the freshmen's lab on inexact numbers and was curious how to denote subnormal numbers in Racket. Turns out that's not possible, since there is no underflow. Why does Racket follow the old standard of representing underflow with inexact zero? I imagine changing it now woul