MMgr v2.3.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
FractioCfg Struct Reference

Pins the two scale bounds to the values binary64 gives. More...

#include <fractio.h>

Data Structures

union  [union].__unnamed0__

Data Fields

union  
const embed_u64 sign
const embed_u64 exp
const embed_u64 mant

Detailed Description

Pins the two scale bounds to the values binary64 gives.

Arguments for the fract calls, where each call reads only the members it needs.

Note
val and bits share storage, and so a write of one and a read of the other reinterprets the same bytes.
Only merge reads sign, exp and mant. The other five calls read the union.

Definition at line 125 of file fractio.h.

Field Documentation

◆ sign

const embed_u64 FractioCfg::sign

Sign for merge, 0 or 1.

Definition at line 131 of file fractio.h.

◆ exp

const embed_u64 FractioCfg::exp

Biased exponent for merge.

Definition at line 132 of file fractio.h.

◆ mant

const embed_u64 FractioCfg::mant

Stored mantissa for merge.

Definition at line 133 of file fractio.h.


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