Commit 072f34be authored by YongHao Hu's avatar YongHao Hu Committed by Alexandre Julliard

msvcr120: Enable MSVCRT__nextafterf when _MSVCR_VER>=120.

parent e559ec2a
...@@ -293,9 +293,9 @@ ...@@ -293,9 +293,9 @@
@ stub nearbyint @ stub nearbyint
@ stub nearbyintf @ stub nearbyintf
@ stub nearbyintl @ stub nearbyintl
@ stub nextafter @ cdecl nextafter(double double) ucrtbase.nextafter
@ stub nextafterf @ cdecl nextafterf(float float) ucrtbase.nextafterf
@ stub nextafterl @ cdecl nextafterl(double double) ucrtbase.nextafterl
@ stub nexttoward @ stub nexttoward
@ stub nexttowardf @ stub nexttowardf
@ stub nexttowardl @ stub nexttowardl
......
...@@ -2299,9 +2299,9 @@ ...@@ -2299,9 +2299,9 @@
@ stub nearbyint @ stub nearbyint
@ stub nearbyintf @ stub nearbyintf
@ stub nearbyintl @ stub nearbyintl
@ stub nextafter @ cdecl nextafter(double double) MSVCRT__nextafter
@ stub nextafterf @ cdecl nextafterf(float float) MSVCRT__nextafterf
@ stub nextafterl @ cdecl nextafterl(double double) MSVCRT__nextafter
@ stub nexttoward @ stub nexttoward
@ stub nexttowardf @ stub nexttowardf
@ stub nexttowardl @ stub nexttowardl
......
...@@ -1962,9 +1962,9 @@ ...@@ -1962,9 +1962,9 @@
@ stub nearbyint @ stub nearbyint
@ stub nearbyintf @ stub nearbyintf
@ stub nearbyintl @ stub nearbyintl
@ stub nextafter @ cdecl nextafter(double double) msvcr120.nextafter
@ stub nextafterf @ cdecl nextafterf(float float) msvcr120.nextafterf
@ stub nextafterl @ cdecl nextafterl(double double) msvcr120.nextafterl
@ stub nexttoward @ stub nexttoward
@ stub nexttowardf @ stub nexttowardf
@ stub nexttowardl @ stub nexttowardl
......
...@@ -94,6 +94,15 @@ float CDECL MSVCRT__copysignf( float num, float sign ) ...@@ -94,6 +94,15 @@ float CDECL MSVCRT__copysignf( float num, float sign )
return signbit(num) ? -num : num; return signbit(num) ? -num : num;
} }
/*********************************************************************
* _nextafterf (MSVCRT.@)
*/
float CDECL MSVCRT__nextafterf( float num, float next )
{
if (!finitef(num) || !finitef(next)) *MSVCRT__errno() = MSVCRT_EDOM;
return nextafterf( num, next );
}
#endif #endif
#if defined(__x86_64__) || defined(__arm__) #if defined(__x86_64__) || defined(__arm__)
...@@ -126,15 +135,6 @@ float CDECL MSVCRT__logbf( float num ) ...@@ -126,15 +135,6 @@ float CDECL MSVCRT__logbf( float num )
} }
/********************************************************************* /*********************************************************************
* _nextafterf (MSVCRT.@)
*/
float CDECL MSVCRT__nextafterf( float num, float next )
{
if (!finitef(num) || !finitef(next)) *MSVCRT__errno() = MSVCRT_EDOM;
return nextafterf( num, next );
}
/*********************************************************************
* MSVCRT_acosf (MSVCRT.@) * MSVCRT_acosf (MSVCRT.@)
*/ */
float CDECL MSVCRT_acosf( float x ) float CDECL MSVCRT_acosf( float x )
......
...@@ -2434,9 +2434,9 @@ ...@@ -2434,9 +2434,9 @@
@ stub nearbyint @ stub nearbyint
@ stub nearbyintf @ stub nearbyintf
@ stub nearbyintl @ stub nearbyintl
@ stub nextafter @ cdecl nextafter(double double) MSVCRT__nextafter
@ stub nextafterf @ cdecl nextafterf(float float) MSVCRT__nextafterf
@ stub nextafterl @ cdecl nextafterl(double double) MSVCRT__nextafter
@ stub nexttoward @ stub nexttoward
@ stub nexttowardf @ stub nexttowardf
@ stub nexttowardl @ stub nexttowardl
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment