mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-12 17:27:56 +00:00
12 lines
184 B
C
12 lines
184 B
C
|
#include "libc/limits.h"
|
||
|
#include "libc/math/math.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);
|
||
|
}
|