Consider the following code:
If I compile and run, b!=c (in fact, b is 4095 whereas c is 4096).
If I modify the code as such
all is well.
If this some sort of integer or type coersion bug?
Neil
Local a,b,c a=64 b=a^2 c=a*a If b=c Print "All ok!" Else Print "WTF?!" EndIf
If I compile and run, b!=c (in fact, b is 4095 whereas c is 4096).
If I modify the code as such
Local a:Float,b:Float,c:Float a=64 b=a^2 c=a*a If b=c Print "All ok!" Else Print "WTF?!" EndIf
all is well.
If this some sort of integer or type coersion bug?
Neil