SW500009 Microchip Technology, SW500009 Datasheet - Page 217

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Library Functions
LDEXP
Synopsis
Description
The ldexp() function performs the inverse of frexp() operation; the integer i is added to the exponent
of the floating point f and the resultant returned.
Example
See Also
frexp()
Return Value
The return value is the integer i added to the exponent of the floating point value f.
#include <math.h>
double ldexp (double f, int i)
#include <math.h>
#include <stdio.h>
void
main (void)
{
}
double f;
f = ldexp(1.0, 10);
printf("1.0 * 2^10 = %f\n", f);
203

Related parts for SW500009