libpressio 0.93.0
Loading...
Searching...
No Matches
Macros | Enumerations | Functions
pressio_dtype.h File Reference

Information on types used by libpressio. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  pressio_dtype {
  pressio_double_dtype , pressio_float_dtype , pressio_uint8_dtype , pressio_uint16_dtype ,
  pressio_uint32_dtype , pressio_uint64_dtype , pressio_int8_dtype , pressio_int16_dtype ,
  pressio_int32_dtype , pressio_int64_dtype , pressio_byte_dtype , pressio_bool_dtype
}
 

Functions

int pressio_dtype_size (enum pressio_dtype dtype)
 
int pressio_dtype_is_floating (enum pressio_dtype dtype)
 
int pressio_dtype_is_numeric (enum pressio_dtype dtype)
 
int pressio_dtype_is_signed (enum pressio_dtype dtype)
 

Detailed Description

Information on types used by libpressio.

Enumeration Type Documentation

◆ pressio_dtype

data types recognized by libpressio for compression and decompression

Enumerator
pressio_double_dtype 

64 bit double precision floating point

pressio_float_dtype 

32 bit double precision floating point

pressio_uint8_dtype 

8 bit unsigned integer

pressio_uint16_dtype 

16 bit unsigned integer

pressio_uint32_dtype 

32 bit unsigned integer

pressio_uint64_dtype 

64 bit unsigned integer

pressio_int8_dtype 

8 bit signed integer

pressio_int16_dtype 

16 bit signed integer

pressio_int32_dtype 

32 bit signed integer

pressio_int64_dtype 

64 bit signed integer

pressio_byte_dtype 

8 bit data type

pressio_bool_dtype 

8 bit data type

Function Documentation

◆ pressio_dtype_is_floating()

int pressio_dtype_is_floating ( enum pressio_dtype  dtype)
Returns
non-zero if the type is a floating point value

◆ pressio_dtype_is_numeric()

int pressio_dtype_is_numeric ( enum pressio_dtype  dtype)
Returns
non-zero if the type is a numeric value

◆ pressio_dtype_is_signed()

int pressio_dtype_is_signed ( enum pressio_dtype  dtype)
Returns
non-zero if the type is signed

◆ pressio_dtype_size()

int pressio_dtype_size ( enum pressio_dtype  dtype)
Returns
the size in bytes of a libpressio recognized type