Skip to content

Fixed some CRT routines and implemented remaining long double <math.h> functions #588

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

Merged
merged 5 commits into from
Apr 14, 2025

Conversation

ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Apr 14, 2025

Changes:

  • Implemented truncl in assembly
  • Implemented the remaining C99 <math.h> functions for long double.
  • Fixed register preservation bugs in 64bit input, 32bit output CRT routines
  • Properly implemented __ftoull (it no longer aliases __ftoll), returns 0 for negative/overflow/invalid inputs.
  • Renamed softfloat functions so they won't conflict with user functions (i.e. f64_sqrt to __f64_sqrt)

@mateoconlechuga mateoconlechuga merged commit 12e83a1 into master Apr 14, 2025
9 checks passed
@mateoconlechuga mateoconlechuga deleted the pr/finish_long_double branch April 14, 2025 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants