Skip to content

Conversation

@lonevox
Copy link

@lonevox lonevox commented Sep 10, 2024

This change makes NaN Decimals get created from Decimal.dNaN instead of from components. This means that if dNaN is ever changed in the future, these lines won't need to be changed too. It is also more readable imo.

This change makes NaN Decimals get created from Decimal.dNaN instead of from components. This means that if dNaN is ever changed in the future, these lines won't need to be changed too. It is also more readable imo.
@MathCookie17
Copy link
Collaborator

Should we do this for Infinity and -Infinity too?

Also updated the dist files with the NaN improvements
@MathCookie17
Copy link
Collaborator

I made the changes for Infinity and -Infinity. Let me know if we're good to merge.

@lonevox
Copy link
Author

lonevox commented Oct 3, 2024

Yep looks good!

MathCookie17 added a commit that referenced this pull request Oct 7, 2024
Also fixed #172 in the process
@MathCookie17
Copy link
Collaborator

While I didn't technically do it by merging this pull request in GitHub (because I also added code from another request), this pull request has been merged.

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

Successfully merging this pull request may close these issues.

2 participants