Documentation Archive Developer
Search
ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



SCALBN(3)                BSD Library Functions Manual                SCALBN(3)

NAME
     scalbn, scalbln

SYNOPSIS
     #include <math.h>

     double
     scalbn(double x, int n);

     long double
     scalbnl(long double x, int n);

     float
     scalbnf(float x, int n);

     double
     scalbln(double x, long int n);

     long double
     scalblnl(long double x, long int n);

     float
     scalblnf(float x, long int n);

DESCRIPTION
     The scalbn() , and scalbln() functions return x*(2**n) computed by expo-nent exponent
     nent manipulation.

SPECIAL VALUES
     scalbn(+-0, n) returns +-0.

     scalbn(x, 0) returns x.

     scalbn(+-infinity, n) returns +-infinity.

     scalbln() has the same special values.

SEE ALSO
     math(3), ldexp(3)

STANDARDS
     The scalbn() , and scalbln() functions conform to ISO/IEC 9899:1999(E).

BSD                              July 23, 2003                             BSD