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.
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.