Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and medical aesthetics - Linux2.4 floating-point numbers are cast to unsigned integers?
Linux2.4 floating-point numbers are cast to unsigned integers?
I tested it, and your result may be written backwards.

And in the test, it is found that there is no problem if it is short or int type, but there is a problem with unsigned short and unsigned int.

Getting information is not very clear.

I think it should be a BUG in C. Wait for the master and see if there is a clearer master.