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

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
calloc( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
ceil( )
Syntax:
Parameters:
Returns:
Function:
Availability:
Requires:
Examples:
Example Files:
Also See:
ptr=calloc(nmem, size)
nmem is an integer representing the number of member objects, and size is the
number of bytes to be allocated for each one of them.
A pointer to the allocated memory, if any. Returns null otherwise.
The calloc function allocates space for an array of nmem objects whose size is
specified by size. The space is initialized to all bits zero.
All devices
#INCLUDE <stdlibm.h>
int * iptr;
iptr=calloc(5,10);
// iptr will point to a block of memory of
// 50 bytes all initialized to 0.
None
realloc(), free(),
result = ceil (value)
value is any float type
A float with precision equal to value
Computes the smallest integer value greater than the argument. CEIL(12.67) is 13.00.
All devices
#INCLUDE<math.h>
// Calculate cost based on weight rounded
// up to the next pound
cost = ceil( weight ) * DollarsPerPound;
None
floor()
malloc()
167

Related parts for PCDIDE COMPILER