Quote:
Originally Posted by scriptless
So is there any reason this is not working properly?
Output
It should be 8 ????
|
actually it's more like 3.9 something and I guess GScript is truncating it into an int rather than rounding (int cast) so it is becoming 3.
EDIT:
GScript isn't truncating it so it must be you.
echo(0x7FF / 512);
output
3.998046875