Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Public Attributes | List of all members
bentleyottmann::Int96 Struct Reference

#include <Int96.h>

Static Public Member Functions

static Int96 Make (int32_t a)
 
static Int96 Make (int64_t a)
 

Public Attributes

int64_t hi
 
uint32_t lo
 

Detailed Description

Definition at line 10 of file Int96.h.

Member Function Documentation

◆ Make() [1/2]

Int96 bentleyottmann::Int96::Make ( int32_t  a)
static

Definition at line 11 of file Int96.cpp.

11 {
12 return {a >= 0 ? 0 : -1, (uint32_t)a};
13}
struct MyStruct a[10]

◆ Make() [2/2]

Int96 bentleyottmann::Int96::Make ( int64_t  a)
static

Definition at line 15 of file Int96.cpp.

15 {
16 return {a >> 32, (uint32_t)(a & 0xFFFFFFFF)};
17}

Member Data Documentation

◆ hi

int64_t bentleyottmann::Int96::hi

Definition at line 11 of file Int96.h.

◆ lo

uint32_t bentleyottmann::Int96::lo

Definition at line 12 of file Int96.h.


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