potentially, as log with a negative number is not defined.
Another case is division by a very large number so it underflows instead of overflowing as with division by zero.
the best thing you can do is debug stop or put in debuglog statements and check the var to see between which 2 points it breaks and debugstop that area.
Another case is division by a very large number so it underflows instead of overflowing as with division by zero.
the best thing you can do is debug stop or put in debuglog statements and check the var to see between which 2 points it breaks and debugstop that area.