Duke's Big Numbers 1.0
C++ and Blueprint libraries for performing math, analysis, and formatting with really large numbers (>10e308).
Loading...
Searching...
No Matches
Duke::FBits Struct Reference

#include "Bits.h"

Static Public Member Functions

static uint32 MakeUInt32 (uint8 byte3, uint8 byte2, uint8 byte1, uint8 byte0)
 
static uint64 MakeUInt64 (uint32 highWord, uint32 lowWord)
 

Detailed Description

Provides functions for working at the bit-and-byte level

Member Function Documentation

◆ MakeUInt32()

DBN_FORCEINLINE uint32 FBits::MakeUInt32 ( uint8  byte3,
uint8  byte2,
uint8  byte1,
uint8  byte0 
)
staticFlavor:Static

Builds a uint32 from four uint8 values

Parameters
byte3The value for bits 24-31 of the resulting value
byte2The value for bits 16-23 of the resulting value
byte1The value for bits 8-15 of the resulting value
byte0The value for bits 0-7 of the resulting value
Returns
The combined uint32 value
Implements Opcode:
Flavor:Static U4 ← makeu4 U1 U1 U1 U1

◆ MakeUInt64()

DBN_FORCEINLINE uint64 FBits::MakeUInt64 ( uint32  highWord,
uint32  lowWord 
)
staticFlavor:Static

Builds a uint64 from two uint32 values

Parameters
highWordThe value for the upper 32 bits of the resulting value
lowWordThe value for the lower 32 bits of the resulting value
Returns
The combined uint64 value
Implements Opcode:
Flavor:Static U8 ← makeu8 U4 U4

The documentation for this struct was generated from the following files: