Both the OpenCL C spec and the OpenCL SPIR-V environment spec describe required edge case behavior for certain math functions. These sections also reference the C99 specifications, which describe required edge case behavior for other math functions:
Note that these sections both say: "Those values shall produce exactly the prescribed answers, and no other."
As far as I can tell, though, these edge case behaviors are not tested for in the math bruteforce tests or elsewhere. Instead, for these inputs, the usual tests for math accuracy apply. Do we need dedicated tests for these edge case values?
Both the OpenCL C spec and the OpenCL SPIR-V environment spec describe required edge case behavior for certain math functions. These sections also reference the C99 specifications, which describe required edge case behavior for other math functions:
Note that these sections both say: "Those values shall produce exactly the prescribed answers, and no other."
As far as I can tell, though, these edge case behaviors are not tested for in the math bruteforce tests or elsewhere. Instead, for these inputs, the usual tests for math accuracy apply. Do we need dedicated tests for these edge case values?