Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating-point redesign #7

Open
KFAFSP opened this issue Jan 24, 2023 · 1 comment
Open

Floating-point redesign #7

KFAFSP opened this issue Jan 24, 2023 · 1 comment

Comments

@KFAFSP
Copy link
Owner

KFAFSP commented Jan 24, 2023

Current floating point is fixated on IEEE-754, which is already not enough for future usage scenarios.

Design considerations:

  • s/q NaN distinction should not be modeled
  • NaN and Inf may remain special values, but must follow our own spec everywhere (no minNumber confusions)
  • Floating-point types should be product types
  • Floating-point environment functions that are independent of rounding (ldexp, frexp, ...) should be the minimal set of required interpretation functions
  • We should consider a binary_float ancestor type
@KFAFSP
Copy link
Owner Author

KFAFSP commented Jan 24, 2023

  • Define NaN, Inf semantics outside of IEEE-754
  • Remove special handling of NaN, Inf where now inappropriate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant