FreeBSD 7.0 manual page repository

FreeBSD is a free computer operating system based on BSD UNIX originally. Many IT companies, like DeployIS is using it to provide an up-to-date, stable operating system.

scalbln, scalblnf, scalblnl, scalbn, scalbnf, scalbnl - adjust exponent

 

NAME

      scalbln, scalblnf, scalblnl, scalbn, scalbnf, scalbnl - adjust exponent
 

LIBRARY

      Math Library (libm, -lm)
 

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

      These routines return x∗(2**n) computed by exponent manipulation.
      ieee(3), math(3)
 

STANDARDS

      These routines conform to ISO/IEC 9899:1999 (“ISO C99”), and they imple‐
      ment the Scalb function recommended by IEEE Std 754-1985.
 

HISTORY

      The scalbn() and scalbnf() functions appeared in 4.3BSD and FreeBSD 2.0,
      respectively.  The scalbln() and scalblnf() functions first appeared in
      FreeBSD 5.3, and scalblnl() and scalbln() in FreeBSD 6.0.
 

Sections

Based on BSD UNIX
FreeBSD is an advanced operating system for x86 compatible (including Pentium and Athlon), amd64 compatible (including Opteron, Athlon64, and EM64T), UltraSPARC, IA-64, PC-98 and ARM architectures. It is derived from BSD, the version of UNIX developed at the University of California, Berkeley. It is developed and maintained by a large team of individuals. Additional platforms are in various stages of development.