MMgr v1.0.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 writing one and reading the other reinterprets the same bytes.
sign, exp and mant are read by merge alone. The other five calls read the union.

Definition at line 122 of file fractio.h.

Field Documentation

◆ sign

const embed_u64 FractioCfg::sign

Sign for merge, 0 or 1.

Definition at line 128 of file fractio.h.

◆ exp

const embed_u64 FractioCfg::exp

Biased exponent for merge.

Definition at line 129 of file fractio.h.

◆ mant

const embed_u64 FractioCfg::mant

Stored mantissa for merge.

Definition at line 130 of file fractio.h.


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