(I feel that this should be a duplicate question, but I could not find the correct search terms when searching.)
In general, (silent) NAN times zero should give NAN - and it does.
However, in one specific performance-critical part of my code, I want a null value to be null.
What is a quick way to do this in C ++?
c ++ nan
Mehrdad
source share