minix/lib/math/scalbn.c

23 lines
249 B
C
Raw Normal View History

2010-01-08 08:27:54 +01:00
#include <math.h>
double scalbln(double x, long n)
{
return ldexp(x, n);
}
float scalblnf(float x, long n)
{
return ldexp(x, n);
}
double scalbn(double x, int n)
{
return ldexp(x, n);
}
float scalbnf(float x, int n)
{
return ldexp(x, n);
}