These functions can be used to get limits for numeric types. They are used in automatically generated test cases.
Macro | Definition |
---|---|
char cpptestLimitsGetMaxChar(void) | Returns maximum value of char type. |
char cpptestLimitsGetMinChar(void) | Returns minimum value of char type. |
signed char cpptestLimitsGetMaxSignedChar(void) | Returns maximum value of signed char type. |
signed char cpptestLimitsGetMinSignedChar(void) | Returns minimum value of signed char type. |
unsigned char cpptestLimitsGetMaxUnsignedChar(void) | Returns maximum value of unsigned char type. |
short cpptestLimitsGetMaxShort(void) | Returns maximum value of short type. |
short cpptestLimitsGetMinShort(void) | Returns minimum value of short type. |
unsigned short cpptestLimitsGetMaxUnsignedShort(void) | Returns maximum value of unsigned short type. |
int cpptestLimitsGetMaxInt(void) | Returns maximum value of int type. |
int cpptestLimitsGetMinInt(void) | Returns minimum value of int type. |
unsigned int cpptestLimitsGetMaxUnsignedInt(void) | Returns maximum value of unsigned int type. |
long cpptestLimitsGetMaxLong(void) | Returns maximum value of long type. |
long cpptestLimitsGetMinLong(void) | Returns minimum value of long type. |
unsigned long cpptestLimitsGetMaxUnsignedLong(void) | Returns maximum value of unsigned long type. |
float cpptestLimitsGetMaxPosFloat(void) | Returns maximum positive value of float type. |
float cpptestLimitsGetMinNegFloat(void) | Returns minimum negative value of float type. |
float cpptestLimitsGetMaxNegFloat(void) | Returns minimum negative value of float type. |
float cpptestLimitsGetMaxNegFloat(void) | Returns maximum negative value of float type. |
float cpptestLimitsGetMinPosFloat(void) | Returns minimum positive value of float type. |
double cpptestLimitsGetMaxPosDouble(void) | Returns maximum positive value of double type. |
double cpptestLimitsGetMinNegDouble(void) | Returns minimum negative value of double type. |
double cpptestLimitsGetMaxNegDouble(void) | Returns maximum negative value of double type. |
double cpptestLimitsGetMinPosDouble(void) | Returns minimum positive value of double type. |
long double cpptestLimitsGetMaxPosLongDouble(void) | Returns maximum positive value of long double type. |
long double cpptestLimitsGetMinNegLongDouble(void) | Returns minimum negative value of long double type. |
long double cpptestLimitsGetMaxNegLongDouble(void) | Returns maximum negative value of long double type. |
long double cpptestLimitsGetMinPosLongDouble(void) | Returns maximum positive value of long double type. |