Skip to content

export NAN & INF for fp16 #41

@redplait

Description

@redplait

hello
can you add exports for this values? Sure we could use something like

const uint32_t positive_infinity_f32 = UINT32_C(0x7F800000);
const uint32_t negative_infinity_f32 = UINT32_C(0xFF800000);

for 32bit floats and it would be good to have similar constants for fp16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions