NaN and -Infinity or Infinity

Blitz3D Forums/Blitz3D Programming/NaN and -Infinity or Infinity

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Brrrr...Wrong :) Divison by zero gives +/-infinite, taking the square root of a negative number gives Nan.
a# = 0.0
Print  1.0/a
Print -1.0/a
Print  100000000000000000000.0*10000000000000000000.0
Print -100000000000000000000.0*10000000000000000000.0
Print Sqr(-1.0)
WaitKey()
End