4 ms·
Can anyone here provide an explanation for why some code that is supposed to be high quality and trusted is calling isnan(int)? That seems to be the more press
by com2kid 13y ago
Can anyone here provide an explanation for why some code that is supposed to be high quality and trusted is calling isnan(int)?
That seems to be the more pressing issue here, not the (long since done) inclusion of a new feature in C!
- rcfox 13y agoUsually, whenever there's something weird being done in C, it's because of macros or other forms of code generation. However in the case of floating point vs integers, it's also likely that a literal is missing a decimal. 1/4 != 1.0/4