Undefined values are represented by the IEEE constants NaN, meaning Not a Number, and +/-INF, standing for Infinity. These can arise e.g. where there is a divide by 0 (resulting in +/-INF) or an attempt to take the log of a negative value (resulting in NAN)