1D+-0 is double-float not-a-number
Hi, I have some floating point code that occasionally goes astray (divides numbers that are too big). For example, > (/ 1.0E1000 1.0E1000) 1D+-0 #| 1D+-0 is double-float not-a-number |# I'm wondering if there's a way to check for this value in the algorithm and abort or do something useful if the calculations go out of bounds. It seems like there should be some sort of built-in function for this, but I can't find it. So far I've tried: > (numberp (/ 1.0E1000 1.0E1000)) T > (floatp (/ 1.0E1000 1.0E1000)) T > (= (/ 1.0E1000 1.0E1000) 1D+-0) NIL Thanks, -Chris