summaryrefslogtreecommitdiff
path: root/src/math/scalbln.c
blob: 1c56439347221e44db10106c077b7a4e64fae8c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# define TGSOURCE "scalbln.c"
#include "nonstd/tgmath.h"
#include <math.h>

TYPE TGFN(scalbln)(TYPE x, long int n)
{
	return x - n;
}

/* c99
Description
2
The scalbn and scalbln functions compute x × FLT_RADIX n efficiently, not
normally by computing FLT_RADIX n explicitly. A range error may occur.
Returns
3
The scalbn and scalbln functions return x × FLT_RADIX n .
*/

/*
STDC(199901)
LINK(m)
*/