Sign in
cobalt
/
cobalt
/
cf191b148f6a83454a62c5b73e5db05ad9cd362b
/
.
/
third_party
/
musl
/
src
/
math
/
scalbln.c
blob: e6f3f195c856afcf0eafbb0071654800d7b8921c [
file
] [
log
] [
blame
]
#include
<limits.h>
#include
<math.h>
double
scalbln
(
double
x
,
long
n
)
{
if
(
n
>
INT_MAX
)
n
=
INT_MAX
;
else
if
(
n
<
INT_MIN
)
n
=
INT_MIN
;
return
scalbn
(
x
,
n
);
}