28 ms·
I think casting a NaN to an int will always just return gibberish, signed or not. In fact, this is explicitly undefined behavior in C.
by dvt 5y ago
I think casting a NaN to an int will always just return gibberish, signed or not. In fact, this is explicitly undefined behavior in C.