GetMathErrVal
The GetMathErrVal function sets a replacement value for math errors.
nValue = GetMathErrVal() where |
nValue is a number that is returned.
For illegal math operations such as divide by 0, log 0, or 0^0, the returned value is the one assigned to the resultant pixel.