Tests for NaN.
math.isnan(x)
One number.
Boolean.
Uses floating classification.
Requires a number.
use math assert(math.isnan(math.nan))