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

PCWHD PIC10,16,18,24, DSPIC

PCWHD IDE COMPILER

Manufacturer Part Number
PCWHD IDE COMPILER
Description
PCWHD PIC10,16,18,24, DSPIC
Manufacturer
Custom Computer Services Inc (CCS)
Type
Compilerr
Datasheet

Specifications of PCWHD IDE COMPILER

For Use With/related Products
Microchip PIC10, PIC12, PIC16, PIC18, PIC24, dsPIC MCUs
Lead Free Status / RoHS Status
Not applicable / Not applicable
Other names
429-1009
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 PCWHD IDE COMPILER