Sign in
cobalt
/
cobalt
/
97b64f26fb12c9eab352139c26f0b01d1cb6d0b9
/
.
/
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
);
}