PCL
Integer Limits

Macros

#define int16_max   int16( 32767 )
 
#define int16_min   (-int16( 32767 )-1)
 
#define int32_max   int32( 2147483647 )
 
#define int32_min   (-int32( 2147483647 )-1)
 
#define int64_max   int64( 9223372036854775807ll )
 
#define int64_min   (-int64( 9223372036854775807ll )-1)
 
#define int8_max   int8( 127 )
 
#define int8_min   (-int8( 127 )-1)
 
#define uint16_max   uint16( 0xffffu )
 
#define uint20_max   uint32( 0xfffffu )
 
#define uint22_max   uint32( 0x3fffffu )
 
#define uint24_max   uint32( 0xffffffu )
 
#define uint32_max   uint32( 0xffffffffu )
 
#define uint64_max   uint64( 0xffffffffffffffffull )
 
#define uint8_max   uint8( 0xffu )
 

Detailed Description

Macro Definition Documentation

◆ int16_max

#define int16_max   int16( 32767 )

The largest 16-bit signed integer.

Definition at line 826 of file Defs.h.

◆ int16_min

#define int16_min   (-int16( 32767 )-1)

The smallest 16-bit signed integer.

Definition at line 820 of file Defs.h.

◆ int32_max

#define int32_max   int32( 2147483647 )

The largest 32-bit signed integer.

Definition at line 866 of file Defs.h.

◆ int32_min

#define int32_min   (-int32( 2147483647 )-1)

The smallest 32-bit signed integer.

Definition at line 860 of file Defs.h.

◆ int64_max

#define int64_max   int64( 9223372036854775807ll )

The largest 64-bit signed integer.

Definition at line 888 of file Defs.h.

◆ int64_min

#define int64_min   (-int64( 9223372036854775807ll )-1)

The smallest 64-bit signed integer.

Definition at line 882 of file Defs.h.

◆ int8_max

#define int8_max   int8( 127 )

The largest 8-bit signed integer.

Definition at line 805 of file Defs.h.

◆ int8_min

#define int8_min   (-int8( 127 )-1)

The smallest 8-bit signed integer.

Definition at line 799 of file Defs.h.

◆ uint16_max

#define uint16_max   uint16( 0xffffu )

The largest 16-bit unsigned integer.

Definition at line 835 of file Defs.h.

◆ uint20_max

#define uint20_max   uint32( 0xfffffu )

The largest 20-bit unsigned integer.

Definition at line 842 of file Defs.h.

◆ uint22_max

#define uint22_max   uint32( 0x3fffffu )

The largest 22-bit unsigned integer.

Definition at line 848 of file Defs.h.

◆ uint24_max

#define uint24_max   uint32( 0xffffffu )

The largest 24-bit unsigned integer.

Definition at line 854 of file Defs.h.

◆ uint32_max

#define uint32_max   uint32( 0xffffffffu )

The largest 32-bit unsigned integer.

Definition at line 875 of file Defs.h.

◆ uint64_max

#define uint64_max   uint64( 0xffffffffffffffffull )

The largest 64-bit unsigned integer.

Definition at line 897 of file Defs.h.

◆ uint8_max

#define uint8_max   uint8( 0xffu )

The largest 8-bit unsigned integer.

Definition at line 814 of file Defs.h.