Commit 09e4fc83 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

msvcrt: Implement nan.

parent b924ccb6
......@@ -288,9 +288,9 @@
@ cdecl lroundl(double) ucrtbase.lroundl
@ cdecl modf(double ptr) ucrtbase.modf
@ cdecl -arch=arm,x86_64 modff(float ptr) ucrtbase.modff
@ stub nan
@ stub nanf
@ stub nanl
@ cdecl nan(str) ucrtbase.nan
@ cdecl nanf(str) ucrtbase.nanf
@ cdecl nanl(str) ucrtbase.nanl
@ cdecl nearbyint(double) ucrtbase.nearbyint
@ cdecl nearbyintf(float) ucrtbase.nearbyintf
@ cdecl nearbyintl(double) ucrtbase.nearbyintl
......
......@@ -2293,9 +2293,9 @@
@ cdecl memset(ptr long long) MSVCRT_memset
@ cdecl modf(double ptr) MSVCRT_modf
@ cdecl -arch=arm,x86_64 modff(float ptr) MSVCRT_modff
@ stub nan
@ stub nanf
@ stub nanl
@ cdecl nan(str) MSVCR120_nan
@ cdecl nanf(str) MSVCR120_nanf
@ cdecl nanl(str) MSVCR120_nan
@ cdecl nearbyint(double) MSVCRT_nearbyint
@ cdecl nearbyintf(float) MSVCRT_nearbyintf
@ cdecl nearbyintl(double) MSVCRT_nearbyint
......
......@@ -1956,9 +1956,9 @@
@ cdecl memset(ptr long long) msvcr120.memset
@ cdecl modf(double ptr) msvcr120.modf
@ cdecl -arch=arm,x86_64 modff(float ptr) msvcr120.modff
@ stub nan
@ stub nanf
@ stub nanl
@ cdecl nan(str) msvcr120.nan
@ cdecl nanf(str) msvcr120.nanf
@ cdecl nanl(str) msvcr120.nanl
@ cdecl nearbyint(double) msvcr120.nearbyint
@ cdecl nearbyintf(float) msvcr120.nearbyintf
@ cdecl nearbyintl(double) msvcr120.nearbyintl
......
......@@ -2901,3 +2901,20 @@ LDOUBLE CDECL MSVCR120_lgammal(LDOUBLE x)
{
return MSVCR120_lgamma(x);
}
/*********************************************************************
* nan (MSVCR120.@)
*/
double CDECL MSVCR120_nan(const char *tagp)
{
/* Windows ignores input (MSDN) */
return NAN;
}
/*********************************************************************
* nanf (MSVCR120.@)
*/
float CDECL MSVCR120_nanf(const char *tagp)
{
return NAN;
}
......@@ -2429,9 +2429,9 @@
@ cdecl memset(ptr long long) MSVCRT_memset
@ cdecl modf(double ptr) MSVCRT_modf
@ cdecl -arch=arm,x86_64 modff(float ptr) MSVCRT_modff
@ stub nan
@ stub nanf
@ stub nanl
@ cdecl nan(str) MSVCR120_nan
@ cdecl nanf(str) MSVCR120_nanf
@ cdecl nanl(str) MSVCR120_nan
@ cdecl nearbyint(double) MSVCRT_nearbyint
@ cdecl nearbyintf(float) MSVCRT_nearbyintf
@ cdecl nearbyintl(double) MSVCRT_nearbyint
......
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