Epok Engine

EPOK RUNTIME

epok::gte_divide

Function · 1 overload

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.

Function

Performs `gte divide` as part of the ordered projection module.

Belongs to
epok
Header
ordered_projection.hpp
Overloads
1

Declaration

Declaration
inline bool gte_divide(uint32_t h,uint32_t sz,uint32_t& quotient)

Performs `gte divide` as part of the ordered projection module.

ParameterTypeMeaning
huint32_tNot documented; consult the linked header.
szuint32_tNot documented; consult the linked header.
quotientuint32_t &Not documented; consult the linked header.

Returns: bool. Consult the linked header for its meaning.

Example sketch

C++ example
#include "ordered_projection.hpp"

// Assume these named values have been initialized with valid data:
// uint32_t h
// uint32_t sz
// uint32_t & quotient

auto result = epok::gte_divide(h, sz, quotient);

Trade-offs and warnings

Consult the linked header for this operation’s ownership, lifetime and failure behavior.

Declared in runtime/ordered_projection.hpp:127

Related members