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 760 of file Defs.h.

◆ int16_min

◆ int32_max

#define int32_max   int32( 2147483647 )

The largest 32-bit signed integer.

Definition at line 800 of file Defs.h.

Referenced by pcl::TimePoint::TryFromString().

◆ int32_min

◆ int64_max

#define int64_max   int64( 9223372036854775807ll )

The largest 64-bit signed integer.

Definition at line 822 of file Defs.h.

◆ int64_min

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

The smallest 64-bit signed integer.

Definition at line 816 of file Defs.h.

◆ int8_max

#define int8_max   int8( 127 )

The largest 8-bit signed integer.

Definition at line 739 of file Defs.h.

◆ int8_min

◆ uint16_max

◆ uint20_max

#define uint20_max   uint32( 0xfffffu )

The largest 20-bit unsigned integer.

Definition at line 776 of file Defs.h.

Referenced by pcl::UInt20PixelTraits::MaxSampleValue(), pcl::UInt20PixelTraits::ToSample(), and pcl::UInt20PixelTraits::ToSampleConstrained().

◆ uint22_max

#define uint22_max   uint32( 0x3fffffu )

The largest 22-bit unsigned integer.

Definition at line 782 of file Defs.h.

◆ uint24_max

#define uint24_max   uint32( 0xffffffu )

The largest 24-bit unsigned integer.

Definition at line 788 of file Defs.h.

Referenced by pcl::UInt24PixelTraits::MaxSampleValue(), pcl::UInt24PixelTraits::ToSample(), and pcl::UInt24PixelTraits::ToSampleConstrained().

◆ uint32_max

◆ uint64_max

#define uint64_max   uint64( 0xffffffffffffffffull )

The largest 64-bit unsigned integer.

Definition at line 831 of file Defs.h.

◆ uint8_max