Epok Engine

EPOK RUNTIME

epok::fixed_math::one

Variable

Declarations are extracted from the pinned headers. Examples and general guidance are generated sketches, not verified complete programs; consult the linked source and guides for the actual contract.

Variable

Exposes `one` on the `epok::fixed_math` namespace for shared Q12 integer math primitives.

Belongs to
epok::fixed_math
Header
fixed_math.hpp

Declaration

Declaration
const int32_t one

Exposes `one` on the `epok::fixed_math` namespace for shared Q12 integer math primitives.

Type
const int32_t
Storage
Namespace scope

Example sketch

C++ example
#include "fixed_math.hpp"

auto value = epok::fixed_math::one;

Trade-offs and warnings

Consult the linked header for the meaning, lifetime and permitted use of this declaration.

Declared in runtime/fixed_math.hpp:7