float a = 1000.1;
int b = (int)a; // how is this done?
Can anyone explain the bit level operations for converting a floating point to an integer?
float a = 1000.1;
int b = (int)a; // how is this done?
Can anyone explain the bit level operations for converting a floating point to an integer?