SCALBN(3) OpenBSD Programmer's Manual SCALBN(3)NAME
scalbln, scalblnf, scalblnl, scalbn, scalbnf, scalbnl - adjust exponent
by radix
SYNOPSIS
#include <math.h>
double
scalbln(double x, long n);
float
scalblnf(float x, long n);
long double
scalblnl(long double x, long n);
double
scalbn(double x, int n);
float
scalbnf(float x, int n);
long double
scalbnl(long double x, int n);
DESCRIPTIONscalbln() and scalbn() return x*(2**n) computed by exponent manipulation.
The scalblnf() and scalbnf() functions are single precision versions of
scalbln() and scalbn(), respectively. The scalblnl() and scalbnl()
functions are extended precision versions of scalbln() and scalbn(),
respectively.
SEE ALSOmath(3)STANDARDS
IEEE Std 754-1985
HISTORY
The scalbln, scalblnf and scalblnl functions appeared in OpenBSD 4.7.
The scalbn, scalbnf, and scalbnl, functions appeared in 4.3BSD,
NetBSD 1.1 and OpenBSD 4.5, respectively.
OpenBSD 4.9 July 29, 2009 OpenBSD 4.9