According to the AppGameKit documentation, floats are supposed to range from 3.4 E +/- 38.
1) You can not hard wire 3.4E38 into your program. It ends up being 0 after compiling.
2) You can not write it out in terms of all the zeros either.
3) If you try to build the float up to the maximum or minimum values, these don't behave as expected either.
I'll report this at http://code.google.com/p/agk/issues/list.
maxInt as integer
maxInt = 2147483647
minInt as integer
minInt = -2147483648
maxFloat as float
maxFloat = 340000000000000000000000000000000000000
minFloat as float
minFloat = -340000000000000000000000000000000000000
i as float
i = 2.0
j as float
j = 0.5
do
print(minInt - 1)
print(minInt)
Print(maxInt)
print(MaxInt + 1)
print("")
print(minFloat - 1)
print(minFloat)
print(maxFloat)
print(maxFloat + 1)
print(i)
i = i * 2
print(j)
j = j/2
Sync()
sleep(1000)
loop