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

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
ldexp( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
log( )
Syntax:
Parameters:
Returns:
Function:
result = log (value)
value is any float type
A float with precision equal to value
Computes the natural logarithm of the float x. If the argument is less than or equal
to zero or too large, the behavior is undefined.
Note on error handling:
"errno.h" is included then the domain and range errors are stored in the errno
variable. The user can check the errno to see if an error has occurred and print the
error using the perror function.
Domain error occurs in the following cases:
result= ldexp (value, exp);
value is float any float type
exp is a signed int.
result is a float with value result times 2 raised to power exp.
result will have a precision equal to value
The ldexp function multiplies a floating-point number by an integral power of 2.
All devices.
#INCLUDE <math.h>
float result;
result=ldexp(.5,0);
// result is .5
None
frexp(), exp(), log(), log10(), modf()
log: when the argument is negative
207

Related parts for PCDIDE COMPILER