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

msvcr120: Add scalbn.

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