Manpage of SCALBN
SCALBN
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
1.40 `scalbn', `scalbnf'--scale by power of two
SYNOPSIS
#include <math.h>
double scalbn(double X, int Y);
float scalbnf(float X, int Y);
DESCRIPTION
`scalbn' and `scalbnf' scale X by N, returning X times 2 to the power
N. The result is computed by manipulating the exponent, rather than by
actually performing an exponentiation or multiplication.
RETURNS
X times 2 to the power N.
PORTABILITY
Neither `scalbn' nor `scalbnf' is required by ANSI C or by the System V
Interface Definition (Issue 2).
SEE ALSO
scalbn
is part of the
libm
library.
The full documentation for
libm
is maintained as a Texinfo manual. If
info
and
libm
are properly installed at your site, the command
-
info libm
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:31 GMT, May 16, 2005
www.fiveanddime.net