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

FixedToFloat should accept a FloatingPoint for special case consideration #181

Open
mkorbel1 opened this issue Feb 25, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@mkorbel1
Copy link
Contributor

Motivation

Currently, FixedToFloat accepts an exponentWidth and mantissaWidth, but also then calculates infinity (for example) internally based on generic floating point rules. It would be better to use a FloatingPoint object, and it's FloatingPointValue type, to determine what "infinity" is represented as (or if it even supports infinity).

Desired solution

Modify/add a constructor and parameterize FixedToFloat so that it can properly handle special cases based on the type.

Alternatives considered

No response

Additional details

No response

@mkorbel1 mkorbel1 added the enhancement New feature or request label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant