GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SCALBN(3) FreeBSD Library Functions Manual SCALBN(3)

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

Math Library (libm, -lm)

#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);

These routines return x∗(2**n) computed by exponent manipulation.

ieee(3), math(3)

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

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.
March 4, 2005 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.