Skip to content

Conversation

@ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Mar 14, 2025

Changes:

  • added header_test.c and header_test.cpp to test for conflicts
  • documented the ULP or relative precision of functions
  • added 3-argument hypot to C++, it can also be used in C through <tgmath.h>
  • implemented expl logl atanl atan2l asinhl acoshl atanhl erfl erfcl
  • optimized various float32 math functions
  • __float32_constants.h and __float64_constants.h were added to maintain consistency.
  • Added basic tests to for each math function (tests a positive and negative input, and sees if the result is "accurate" enough (within 512ulp))

@adriweb adriweb merged commit c71b7b0 into master Mar 14, 2025
9 checks passed
@adriweb adriweb deleted the pr/libm_improvements branch March 14, 2025 21:36
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