Kwasniok / cpp-raytracing

non-linear raytraycing based on "Raytracing in One Weekend"
2 stars 0 forks source link

-Ofast and Nan #20

Open Kwasniok opened 2 years ago

Kwasniok commented 2 years ago

-Ofast leads to bugged behavior of NaN values.

see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84949

How to ensure NaN does not pop up in the programm?