Commit 9acfcb0e authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

msvcr120: Add scalbn.

parent e8e27b1a
......@@ -316,12 +316,12 @@
@ cdecl round(double) ucrtbase.round
@ cdecl roundf(float) ucrtbase.roundf
@ cdecl roundl(double) ucrtbase.roundl
@ stub scalbln
@ stub scalblnf
@ stub scalblnl
@ stub scalbn
@ stub scalbnf
@ stub scalbnl
@ cdecl scalbln(double long) ucrtbase.scalbln
@ cdecl scalblnf(float long) ucrtbase.scalblnf
@ cdecl scalblnl(double long) ucrtbase.scalblnl
@ cdecl scalbn(double long) ucrtbase.scalbn
@ cdecl scalbnf(float long) ucrtbase.scalbnf
@ cdecl scalbnl(double long) ucrtbase.scalbnl
@ cdecl sin(double) ucrtbase.sin
@ cdecl -arch=arm,x86_64 sinf(float) ucrtbase.sinf
@ cdecl sinh(double) ucrtbase.sinh
......
......@@ -2339,12 +2339,12 @@
@ cdecl round(double) MSVCR120_round
@ cdecl roundf(float) MSVCR120_roundf
@ cdecl roundl(double) MSVCR120_roundl
@ stub scalbln
@ stub scalblnf
@ stub scalblnl
@ stub scalbn
@ stub scalbnf
@ stub scalbnl
@ cdecl scalbln(double long) MSVCRT__scalb
@ cdecl scalblnf(float long) MSVCRT__scalbf
@ cdecl scalblnl(double long) MSVCR120_scalbnl
@ cdecl scalbn(double long) MSVCRT__scalb
@ cdecl scalbnf(float long) MSVCRT__scalbf
@ cdecl scalbnl(double long) MSVCR120_scalbnl
@ varargs scanf(str) MSVCRT_scanf
@ varargs scanf_s(str) MSVCRT_scanf_s
@ cdecl setbuf(ptr ptr) MSVCRT_setbuf
......
......@@ -2002,12 +2002,12 @@
@ cdecl round(double) msvcr120.round
@ cdecl roundf(float) msvcr120.roundf
@ cdecl roundl(double) msvcr120.roundl
@ stub scalbln
@ stub scalblnf
@ stub scalblnl
@ stub scalbn
@ stub scalbnf
@ stub scalbnl
@ cdecl scalbln(double long) msvcr120.scalbln
@ cdecl scalblnf(float long) msvcr120.scalblnf
@ cdecl scalblnl(double long) msvcr120.scalblnl
@ cdecl scalbn(double long) msvcr120.scalbn
@ cdecl scalbnf(float long) msvcr120.scalbnf
@ cdecl scalbnl(double long) msvcr120.scalbnl
@ varargs scanf(str) msvcr120.scanf
@ varargs scanf_s(str) msvcr120.scanf_s
@ cdecl setbuf(ptr ptr) msvcr120.setbuf
......
......@@ -331,15 +331,6 @@ float CDECL MSVCRT_frexpf( float x, int *exp )
}
/*********************************************************************
* _scalbf (MSVCRT.@)
*/
float CDECL MSVCRT__scalbf(float num, MSVCRT_long power)
{
if (!finitef(num)) *MSVCRT__errno() = MSVCRT_EDOM;
return ldexpf(num, power);
}
/*********************************************************************
* modff (MSVCRT.@)
*/
float CDECL MSVCRT_modff( float x, float *iptr )
......@@ -818,15 +809,6 @@ double CDECL MSVCRT__logb(double num)
}
/*********************************************************************
* _scalb (MSVCRT.@)
*/
double CDECL MSVCRT__scalb(double num, MSVCRT_long power)
{
if (!isfinite(num)) *MSVCRT__errno() = MSVCRT_EDOM;
return ldexp(num, power);
}
/*********************************************************************
* _hypot (MSVCRT.@)
*/
double CDECL _hypot(double x, double y)
......@@ -2777,3 +2759,34 @@ LDOUBLE CDECL MSVCR120_asinhl(LDOUBLE x)
{
return MSVCR120_asinh(x);
}
/*********************************************************************
* _scalb (MSVCRT.@)
* scalbn (MSVCR120.@)
* scalbln (MSVCR120.@)
*/
double CDECL MSVCRT__scalb(double num, MSVCRT_long power)
{
if (!isfinite(num)) *MSVCRT__errno() = MSVCRT_EDOM;
return ldexp(num, power);
}
/*********************************************************************
* _scalbf (MSVCRT.@)
* scalbnf (MSVCR120.@)
* scalblnf (MSVCR120.@)
*/
float CDECL MSVCRT__scalbf(float num, MSVCRT_long power)
{
if (!finitef(num)) *MSVCRT__errno() = MSVCRT_EDOM;
return ldexpf(num, power);
}
/*********************************************************************
* scalbnl (MSVCR120.@)
* scalblnl (MSVCR120.@)
*/
LDOUBLE CDECL MSVCR120_scalbnl(LDOUBLE num, MSVCRT_long power)
{
return MSVCRT__scalb(num, power);
}
......@@ -2473,12 +2473,12 @@
@ cdecl round(double) MSVCR120_round
@ cdecl roundf(float) MSVCR120_roundf
@ cdecl roundl(double) MSVCR120_roundl
@ stub scalbln
@ stub scalblnf
@ stub scalblnl
@ stub scalbn
@ stub scalbnf
@ stub scalbnl
@ cdecl scalbln(double long) MSVCRT__scalb
@ cdecl scalblnf(float long) MSVCRT__scalbf
@ cdecl scalblnl(double long) MSVCR120_scalbnl
@ cdecl scalbn(double long) MSVCRT__scalb
@ cdecl scalbnf(float long) MSVCRT__scalbf
@ cdecl scalbnl(double long) MSVCR120_scalbnl
@ stub set_terminate
@ stub set_unexpected
@ cdecl setbuf(ptr ptr) MSVCRT_setbuf
......
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