Skip to content

documenting math function edge case behavior #1538

@bashbaug

Description

@bashbaug

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions