Challenge: Testing Inf and NaN with `gfortran-13 -Ofast`

Does the solution provided by @RonShepard in the other thread work? Is this expected? - #5 by RonShepard