Mjolnir Core
Core functionality of the Mjolnir API
Typedefs | Variables
fundamental_types.h File Reference

Defines the fundamental data types. More...

#include <climits>
#include <cstddef>
#include <cstdint>
Include dependency graph for fundamental_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

using F32 = float
 32 bit floating point type
 
using F64 = double
 64 bit floating point type
 
using I16 = std::int16_t
 16 bit signed integer type
 
using I32 = std::int32_t
 32 bit signed integer type
 
using I64 = std::int64_t
 64 bit signed integer type
 
using I8 = std::int8_t
 8 bit signed integer type
 
using IPT = std::intptr_t
 Signed integer type that has the same size as a pointer.
 
using U16 = std::uint16_t
 16 bit unsigned integer type
 
using U32 = std::uint32_t
 32 bit unsigned integer type
 
using U64 = std::uint64_t
 64 bit unsigned integer type
 
using U8 = std::uint8_t
 8 bit unsigned integer type
 
using UPT = std::uintptr_t
 Unsigned integer type that has the same size as a pointer.
 
using UST = std::size_t
 Unsigned integer type that is returned by sizeof operations.
 

Variables

constexpr UST double_bit_size = 64
 Required size of a double in bits.
 
constexpr UST float_bit_size = 32
 Required size of a float in bits.
 

Detailed Description

Defines the fundamental data types.

fundamental_types.h