If n# = 1.0/ZERO print "n = infinity"
If n# = -1.0/ZERO print "n = -infinity"
If n# = sqr(-1) print "n = NaN"
Have to use a zero variable because Blitz will stop you if you just try to divide by 0. You can't use a constant because it will detect that as well.
You may put NaN in a constant though.
If n# = -1.0/ZERO print "n = -infinity"
If n# = sqr(-1) print "n = NaN"
Have to use a zero variable because Blitz will stop you if you just try to divide by 0. You can't use a constant because it will detect that as well.
You may put NaN in a constant though.