News for hackers. Stuff that matters.
Re:Converting binary floating-point numbers to integers by CyberRabbi on Saturday October 23, 2021 @03:37PM (#28971532)
It's undefined behavior in C++. In C it is not certain if it is undefined or unspecified behavior. https://stackoverflow.com/questions/11373203/accessing-inact...
Re:Converting binary floating-point numbers to integers by chrisseaton on Saturday October 23, 2021 @04:21PM (#28971873)
I think the standard and the link you've giving makes it pretty explicit that it's unspecified. I don't really see where you can get undefined from?