<b>integer_type</b>




Document: The safe-c User Guide

next floating_point_type
up Constants and Data Types
gif boolean_type

integer_type

Objects of integer_type may take on values representing positive or negative integer numbers. Internally these are stored in a 32-bit, 2's complement notation. This means that the range of numbers that can be represented is approximately . The maximum (most positive) and minimum (most negative) values that can be represented are denoted by the symbolic constants INTEGER_MAX and INTEGER_MIN.

Constants of integer_type may be represented in your programs in normal, decimal, notation, such as 42 or -4561237 etc. You must not embed commas or spaces in these constants - something like 1,000,000 would not be acceptable. Nor (since these are integer values) should you include a decimal point - not even if the fractional part is given as zero. So, again, something like 45.0 is not regarded as a valid integer value.




Document: The safe-c User Guide

next floating_point_type
up Constants and Data Types
gif boolean_type



McMullin@eeng.dcu.ie
Fri Jan 12 12:30:02 GMT 1996