user: implement mlibc as the libc, finally.
It's finally done.. Signed-off-by: kaguya <vpshinomiya@protonmail.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include "libm.h"
|
||||
|
||||
float scalblnf(float x, long n)
|
||||
{
|
||||
if (n > INT_MAX)
|
||||
n = INT_MAX;
|
||||
else if (n < INT_MIN)
|
||||
n = INT_MIN;
|
||||
return scalbnf(x, n);
|
||||
}
|
||||
Reference in New Issue
Block a user