math
math copied to clipboard
Wishlist: flzero?
I wish math/flonum (or racket/flonum) had an flzero? function. There are flonum-specific functions for most other arithmetic functions, but not zero?.
Interestingly, math/flonum has fl2zero? for double-doubles, but nothing for ordinary doubles.
Other Scheme implementations, like Gambit-C and Guile, have this function. Internally, Chez Scheme has an flzero? function, but it's not exposed to Racket programs.