Division by zero

Blitz3D Forums/Blitz3D Programming/Division by zero

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.

OK, thanks Floyd.

Is it possible to check the result for infinity?

Is the best way to check for div by zero 'If Abs(a#) < 0.000001 Then a# = Sgn(a#)*0.000001'? Not even sure the Sgn is needed?! Hmmm.

Thanks all.