Skip to content

Expose floating point environment and handle fp exceptions #1379

Description

@boggle

libmath provides a rich interface to deal with numerical exceptions, rounding modes, and the like.

We need to figure, if and how much of it we want to (e.g. as a resource that clears on destruction)

Useful references and any comments on this very welcome

Additionally:

  • decide if and when to fail in the presence of unhandled floating point exceptions
  • verify sane concurrency behavior
  • beyond complex numbers that is the last part of libmath that needs wrapping

Activity

  1. catamorphism commented on May 27, 2013

    @catamorphism
    Contributor

    Not a backwards-compatibility thing. Nominating for milestone 3, feature-complete.

  2. graydon commented on May 30, 2013

    @graydon
    Contributor

    accepted for feature-complete milestone

  3. bblum commented on Jul 26, 2013

    @bblum
    Contributor

    Does libmath use global state for tracking anything?

  4. catamorphism commented on Oct 17, 2013

    @catamorphism
    Contributor

    Not 1.0

  5. thestinger commented on Nov 3, 2013

    @thestinger
    Contributor

    Closing in favour of #10186.

  6. added a commit that references this issue on Oct 24, 2023
    a558968
  7. added a commit that references this issue on Jun 4, 2024
    248fdb8
  8. added a commit that references this issue on Dec 30, 2024
  9. added a commit that references this issue on Jan 2, 2025
  10. added a commit that references this issue on Feb 15, 2025
  11. added 2 commits that reference this issue on Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions