|
| Data Conversion Routines| Routine | Attributes | Description |
|---|
| abs | reentrant | Generates the absolute value of an integer type. | | atof | | Converts a string to a float. | | atof517 | | Converts a string to a float. | | atoi | | Converts a string to an int. | | atol | | Converts a string to a long. | | cabs | reentrant | Generates the absolute value of a character type. | | labs | reentrant | Generates the absolute value of a long type. | | strtod | | Converts a string to a float. | | strtod517 | | Converts a string to a float. | | strtol | | Converts a string to a long. | | strtoul | | Converts a string to an unsigned long. |
The data conversion routines convert strings of ASCII characters to numbers. All of these routines are implemented as functions and most are prototyped in stdlib.h. The abs, cabs, and labs functions are prototyped in math.h. The atof517 and strtod517 functions are prototyped in 80c517.h. |
|