Search
Tuesday, 10th of December 2019, 16:56:07 UTC
17:06:13
flip214
Krystof: you think you can make me understand why we would need 2⁵³ different NaN values? Perhaps the PARSE-FLOAT library should understand NaN and ±∞ as well?
19:09:34
Krystof
but javascript, and some numerical environments, encode information in the free NaN bits
19:09:56
Krystof
there are two kinds of NaN: signalling and quiet (depending on whether they trigger FP exceptions in the chip
19:10:24
Krystof
(or set the exception flag if you have raising exceptions turned off)
19:10:43
Krystof
I concede that this is a hack looking for a use!
20:26:29
Shinmera
flip214: ieee-floats has functions to en/decode floats directly using underlying implementation features
20:26:50
Shinmera
or do you mean parse from a string?
20:27:16
Shinmera
err *the float-features library
22:10:59
pfdietz
NaNs are needed to keep up with Clasp, perhaps?
Wednesday, 11th of December 2019, 4:56:07 UTC