BRender Technical Reference Manual:4 Data Structures (Alphabetical Reference):br_int_8/16/32
Next|Prev|Up
The Integral Type
Arithmetic
Comparison
Conversion
Copy/Assign

br_int_8/16/32


The Integral Type

BRender's signed integer types. Use this type where the integer word length is critical.

The typedef

(See compiler.h for precise declaration)

signed char br_int_8 8 bit signed integer

signed short br_int_16 16 bit signed integer

signed long br_int_32 32 bit signed integer

Arithmetic

All standard C arithmetic operators are valid as with standard integer types.

Comparison

All standard C comparison operators are valid as with standard integer types.

Conversion

Use casts as with any other standard C type.

Copy/Assign

Freely assign. Use as a standard C type, as this type is only concerned with ensuring specific sizes - not representation.


Generated with
CERN WebMaker