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

fixed ultof and added tests #564

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fixed ultof and added tests #564

wants to merge 2 commits into from

Conversation

ZERICO2005
Copy link
Contributor

Fixes this issue #466

ultof now correctly handle values greater than INT32_MAX. However, ti's ltof will round to nearest with ties away from zero, while ultof will round to nearest with ties to even.

I am not sure if would be best for ultof to have the same rounding as ltof

Thanks to calc84maniac for help on ultof.src

@adriweb adriweb linked an issue Mar 25, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

__ultof actually implements __ltof
4 participants