Skip to content

math/big: possible problem with Float.Float32() for denormal values #10321

@griesemer

Description

@griesemer

In cmd/internal/gc/mparith3.go, function mpgetfltN, using Float32() will cause all.bash to fail in some cases. The suspicion is that there is a problem with Float.Float32() for values that end up being denormal float32's. There appear to be no explicit test cases that expose the problem for the existing mpgetfltN code which might not be correct (such test cases exist for float64 values, e.g. in the strconv library).

Investigate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions