Suppose I'm evaluating a / b
where a
and b
are both floating point types.
If b
is zero then the answer is -1.#IND.
Are there any any other values of b
(and a
) that will give me -1.#IND, or is checking for non-zero b
sufficient in order to avoid getting this result?
Possibly not relevant, but I'm coding in C++.