math icon indicating copy to clipboard operation
math copied to clipboard

Results 12 math issues
Sort by recently updated
recently updated
newest added

The [docs](https://docs.racket-lang.org/math/flonum.html#%28def._%28%28lib._math%2Fflonum..rkt%29._flsgn%29%29) claim that `flsgn` is “like [`sgn`](https://docs.racket-lang.org/reference/generic-numbers.html#%28def._%28%28lib._racket%2Fmath..rkt%29._sgn%29%29) … but restricted to flonum input.” However, the two functions behave differently for `-0.0` and `+nan.0`: ```racket #lang racket (require math/flonum) (flsgn...

This makes the documentation match the implementation and the last example. (It may be obvious that this is what it should do, but it confused me for a while.)