Suppose i have:
double f(const double *r) { return 0*(r[0]*r[1]); }
should compiler be able to optimize out the segment, or does it sti
Depends on whether the compiler implements IEEE754. Neither C nor C++ requires that a compiler supports NaN, but IEEE754 does.
NaN