DragonFly On-Line Manual Pages

SCALBN(3)	      DragonFly Library Functions 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);

DESCRIPTION

scalbln() 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() func- tions are extended precision versions of scalbln() and scalbn(), respec- tively.

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. DragonFly 4.3 June 5, 2013 DragonFly 4.3