I want to typecast a float as an int. However, this does not do a bit by bit copy. Is it possible to typecast a float into an int while maintaining all the bits (sign, exponent, mantissa)?
I want to typecast a float as an int . However, this does not
Share
Most languages allow something like that, in C it is like: