[CRT:MATH] Import nextafter, nextafterf and nexttowardf from musl

Note: On Windows, where a long double is the same as a double, nextafterl is the same as nextafter, nexttowardl is the same as nexttoward.
Also nexttoward is the same as nextafter.
This commit is contained in:
Timo Kreuzer 2024-11-20 16:23:22 +02:00
parent 5c26ccdb29
commit a9ee20cb9a
12 changed files with 210 additions and 39 deletions

View file

@ -14,6 +14,9 @@ list(APPEND LIBCNTPR_MATH_SOURCE
math/div.c
math/exp2f.c
math/labs.c
math/nextafter.c
math/nextafterf.c
math/nexttowardf.c
math/round.c
math/roundf.c
math/scalbn.c