Slightly related to: KhronosGroup/OpenCL-CTS#2641
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 parts of the C99 spec for additional edge case behavior, specifically section F.9. This is a bit confusing, though: it means that the reader needs to refer to two documents vs. one, and for SPIR-V especially, the reader needs to refer to the C99 specification vs. a SPIR-V document.
Should we document the required edge case behaviors for all math functions in the OpenCL documents instead, breaking the dependency on the C99 specification? Or, is this too much redundancy, and we should keep the reference as-is?
Slightly related to: KhronosGroup/OpenCL-CTS#2641
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 parts of the C99 spec for additional edge case behavior, specifically section F.9. This is a bit confusing, though: it means that the reader needs to refer to two documents vs. one, and for SPIR-V especially, the reader needs to refer to the C99 specification vs. a SPIR-V document.
Should we document the required edge case behaviors for all math functions in the OpenCL documents instead, breaking the dependency on the C99 specification? Or, is this too much redundancy, and we should keep the reference as-is?