Skip to content

[BUG] CheckNormGrad() will square FLT_MAX causing a FP overflow. #2090

@stolk

Description

@stolk

Environment

Debian Trixie

Describe the bug

Running the unit tests with FP exceptions enabled showed that CheckNormGrad() will square FLT_MAX, causing a FP overflow.

To Reproduce

Enable FP exceptions (MR with toggle for the test will follow.)

Expected behavior

No FP overflow

Additional context

I have a fix, and will be creating an MR to address this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions