PCDIDE COMPILER Custom Computer Services Inc (CCS), PCDIDE COMPILER Datasheet - Page 198

PCD C-COMPILER PIC24, DSPIC

PCDIDE COMPILER

Manufacturer Part Number
PCDIDE COMPILER
Description
PCD C-COMPILER PIC24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCDIDE COMPILER

For Use With/related Products
Microchip PIC24/dsPIC®
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1008
frexp( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
get_capture( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
184
result=frexp (value, & exp);
value is any float type
exp is a signed int.
result is a float with precision equal to value
The frexp function breaks a floating point number into a normalized fraction and
an integral power of 2. It stores the integer in the signed int object exp. The
result is in the interval [1/2,1) or zero, such that value is result times 2 raised to
power exp. If value is zero then both parts are zero.
All devices.
#INCLUDE <math.h>
float result;
signed int exp;
result=frexp(.5,&exp);
//
None
ldexp(), exp(), log(), log10(),
value = get_capture(x, wait)
x defines which input capture result buffer module to read from
wait signifies if the compiler should read the oldest result in the buffer or the next
result to enter the buffer
A 16-bit timer value.
If wait is true, the the current capture values in the result buffer are cleared, an
the next result to be sent to the buffer is returned. If wait is false, the default
setting, the first value currently in the buffer is returned. However, the buffer will
only hold four results while waiting for them to be read, so if read isn't being
called for every capture event, when wait is false, the buffer will fill with old
capture values and any new results will be lost.
Only available on devices with Input Capture modules
None
result is .5 and exp is 0
modf()

Related parts for PCDIDE COMPILER