Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
SCALBN(3)		 BSD Library Functions Manual		     SCALBN(3)

NAME
     scalbln, scalblnf,	scalbn,	scalbnf	-- adjust exponent

LIBRARY
     Math Library (libm, -lm)

SYNOPSIS
     #include <math.h>

     double
     scalbln(double x, long n);

     float
     scalblnf(float x, long n);

     double
     scalbn(double x, int n);

     float
     scalbnf(float x, int n);

DESCRIPTION
     scalbln(),	scalblnf(), scalbn(), and scalbnf() return x*(2**n) computed
     by	exponent manipulation.

SEE ALSO
     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.

BSD			       January 26, 2005				   BSD

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO | STANDARDS | HISTORY

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=scalbn&sektion=3&manpath=FreeBSD+5.4-RELEASE>

home | help