Update NaN/mask handling docs.