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

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
fmod( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
free( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
result= fmod (val1, val2)
val1 is any float type
val2 is any float type
result is a float with precision equal to input parameters val1 and val2
Returns the floating point remainder of val1/val2. Returns the value val1 - i*val2
for some integer “i” such that, if val2 is nonzero, the result has the same sign as
val1 and magnitude less than the magnitude of val2.
All devices.
#INCLUDE <math.h>
float result;
result=fmod(3,2);
// result is 1
None
None
free(ptr)
ptr is a pointer earlier returned by the calloc, malloc or realloc.
No value
The free function causes the space pointed to by the ptr to be deallocated, that is
made available for further allocation. If ptr is a null pointer, no action occurs. If the
ptr does not match a pointer earlier returned by the calloc, malloc or realloc, or if
the space has been deallocated by a call to free or realloc function, the behavior
is undefined.
All devices.
#INCLUDE <stdlibm.h>
int * iptr;
iptr=malloc(10);
free(iptr)
// iptr will be deallocated
None
realloc(), malloc(),
calloc()
183

Related parts for PCDIDE COMPILER