__nan() is not available on Apple M1, replaced by (0.0F/0.0F)