Skip to content

Conversation

@ZERICO2005
Copy link
Contributor

@ZERICO2005 ZERICO2005 commented Mar 15, 2025

Changes:

  • Functions like isnan and islessequal now use _Generic in C, and use overloads in C++. Additionally, the return value is casted to int in C, and bool in C++
  • All math.h functions can be used in the std:: namespace
  • <cmath> no longer includes <type_traits>, instead using <__cmath_type_traits>. __cmath_is_integral being identical to is_integral
  • Including <math.h> in C++ now includes <cmath>

@adriweb adriweb merged commit 5833aa0 into master Mar 15, 2025
9 checks passed
@adriweb adriweb deleted the pr/fix_cmath branch March 15, 2025 07:35
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