MMgr v1.0.0
Zero-heap memory manager in C11. One borrowed buffer, carved by asserted offset.
Loading...
Searching...
No Matches
TransformoNs Struct Reference

Type of the muto dispatch table. More...

#include <transformo.h>

Data Fields

embed_bool(*) take (const TransformoCfg *args)
double(*) scale (const TransformoCfg *args)
embed_u64(*) scale_to_u64 (const TransformoCfg *args)

Detailed Description

Type of the muto dispatch table.

Note
EMBED_TABLE_LAYOUT asserts the three members sit at consecutive EMBED_FUNCTION_POINTER_BYTES offsets, with nothing else.

Definition at line 71 of file transformo.h.

Field Documentation

◆ take

embed_bool(*) TransformoNs::take(const TransformoCfg *args)

Appends one decimal digit to a mantissa.

Definition at line 73 of file transformo.h.

◆ scale

double(*) TransformoNs::scale(const TransformoCfg *args)

Turns a mantissa and decimal exponent into a double.

Definition at line 74 of file transformo.h.

◆ scale_to_u64

embed_u64(*) TransformoNs::scale_to_u64(const TransformoCfg *args)

Turns the same plus e2 into a rounded 64-bit integer.

Definition at line 75 of file transformo.h.


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