Skip to content

Math.Atan2 does not follow IEEE 754 for all inputs #7510

@tannergooding

Description

@tannergooding

The IEEE 754 spec indicates:

  • atan2(±∞, −∞) is ±3π/4
  • atan2(±∞, +∞) is ±π/4.

However, the current implementation returns NaN for the specified inputs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions