fixed_point128 1.0.1.0
128 bit integer, fixed point and floating point arithmetic for C++20
Loading...
Searching...
No Matches
fp128::float128::narrowed Struct Reference

A finite value rounded to a narrower binary format, see narrow(). More...

#include <float128.h>

Public Attributes

uint64_t sig = 0
 Significand, below 2^P. Zero for a zero result.
int32_t lsb = 0
 Weight of the significand's lowest bit, as a power of two.
uint32_t sign = 0
 Sign of the result.
bool to_inf = false
 The value overflowed to infinity.

Detailed Description

A finite value rounded to a narrower binary format, see narrow().

Definition at line 970 of file float128.h.

Member Data Documentation

◆ sig

uint64_t fp128::float128::narrowed::sig = 0

Significand, below 2^P. Zero for a zero result.

Definition at line 971 of file float128.h.

◆ lsb

int32_t fp128::float128::narrowed::lsb = 0

Weight of the significand's lowest bit, as a power of two.

Definition at line 972 of file float128.h.

◆ sign

uint32_t fp128::float128::narrowed::sign = 0

Sign of the result.

Definition at line 973 of file float128.h.

◆ to_inf

bool fp128::float128::narrowed::to_inf = false

The value overflowed to infinity.

Definition at line 974 of file float128.h.


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