Files
wii-ipl/libs/MSL/src/MSL_Common/math_sun.c
2026-09-22 05:16:12 +00:00

11 lines
172 B
C

#include <math.h>
double scalbn(double x, int n) {
double man;
int exponent;
man = frexp(x, &exponent);
exponent += n;
return ldexp(man, exponent);
}