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

Arguments for the four muto calls. More...

#include <transformo.h>

Data Fields

embed_u64 *const mant
const char digit
const embed_iword e2
const embed_iword ex
const embed_iword rest
const embed_bool neg
const unsigned int base

Detailed Description

Arguments for the four muto calls.

Note
take reads mant and digit, and take_in reads mant, digit and base.
scale reads mant, ex, rest and neg.
scale_to_u64 reads mant, e2 and ex.
Warning
take and take_in write through mant, and so the caller's mantissa changes [BORROWS].

Definition at line 58 of file transformo.h.

Field Documentation

◆ mant

embed_u64* const TransformoCfg::mant

The mantissa, which take extends and both scale calls read [BORROWS].

Definition at line 60 of file transformo.h.

◆ digit

const char TransformoCfg::digit

ASCII digit take and take_in append.

Definition at line 61 of file transformo.h.

◆ e2

const embed_iword TransformoCfg::e2

Binary exponent the mantissa already carries, read by scale_to_u64.

Definition at line 62 of file transformo.h.

◆ ex

const embed_iword TransformoCfg::ex

Decimal exponent to apply.

Definition at line 63 of file transformo.h.

◆ rest

const embed_iword TransformoCfg::rest

Non-zero when the caller already dropped bits, and so the round can see them.

Definition at line 64 of file transformo.h.

◆ neg

const embed_bool TransformoCfg::neg

Sign scale gives its result.

Definition at line 65 of file transformo.h.

◆ base

const unsigned int TransformoCfg::base

Base take_in reads the digit in, from 2 to 36.

Definition at line 66 of file transformo.h.


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