scalblnf.c\math\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/math/scalblnf.c
blob: d8e8166b10d6ea53c6630a252498e3a4d9cc124c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#include <limits.h>
#include <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);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年10月06日 04:34:44 +0000

AltStyle によって変換されたページ (->オリジナル) /