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
LDEXP(3) FreeBSD Library Functions Manual LDEXP(3)

ldexp, ldexpf, ldexpl
multiply floating-point number by integral power of 2

Math Library (libm, -lm)

#include <math.h>

double
ldexp(double x, int exp);

float
ldexpf(float x, int exp);

long double
ldexpl(long double x, int exp);

The ldexp(), ldexpf(), and ldexpl() functions multiply a floating-point number by an integral power of 2.

These functions return the value of x times 2 raised to the power exp.

frexp(3), math(3), modf(3)

The ldexp(), ldexpf(), and ldexpl() functions conform to ISO/IEC 9899:1999 (“ISO C99”).
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.