STORMM Source Documentation
Loading...
Searching...
No Matches
stormm::int95_t Struct Reference

A mixed tuple for 95-bit integer accumulation. This is the proper way to take double-precision floating point arithmetic into fixed precision format with minimal loss. More...

#include <stormm_vector_types.h>

Public Attributes

long long int x
 
int y
 Overflow accumulator, used when the primary value would be exceeded.
 

Detailed Description

A mixed tuple for 95-bit integer accumulation. This is the proper way to take double-precision floating point arithmetic into fixed precision format with minimal loss.

Member Data Documentation

◆ x

long long int stormm::data_types::int95_t::x

The primary accumulator. If the fixed precision takes 55 bits after the decimal, this accumulator is enough to capture all the information in a 64-bit floating point number in the range +/-256.


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