Lord KJWilliams
Member
I wanted to know if GMS has simple way of detecting values that are too large for converting a double , that is floored, into a int64 type?
I looked at the wiki of IEEE 754 : 2008 and it mentions that if you have in the exponent binaray section of the double, a value of
7ff with a fractional value of 0, it is interpreted as infinity, which I would assume represents overflow to a programming language.
I honestly do not know. So I tried searching in the GMS online manual ," checking for overflow ", or "integer overflow " and the online manual
failed me due to its design faults ( as in it wont let me see the remaining search results past the ones it is showing ).
So I was looking for a better way of checking for overflow, like a GML built-in function.
Does anyone know?
I looked at the wiki of IEEE 754 : 2008 and it mentions that if you have in the exponent binaray section of the double, a value of
7ff with a fractional value of 0, it is interpreted as infinity, which I would assume represents overflow to a programming language.
I honestly do not know. So I tried searching in the GMS online manual ," checking for overflow ", or "integer overflow " and the online manual
failed me due to its design faults ( as in it wont let me see the remaining search results past the ones it is showing ).
So I was looking for a better way of checking for overflow, like a GML built-in function.
Does anyone know?