Epok Engine

EPOK RUNTIME

epok::fixed_trig_detail::sine_series

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

Compile-time generation from the mathematical definition, not game assets.

Belongs to
epok::fixed_trig_detail
Header
fixed_trigonometry.hpp
Overloads
1

Declaration

Declaration
constexpr double sine_series(double x)

Compile-time generation from the mathematical definition, not game assets.

ParameterTypeMeaning
xdoubleNot documented; consult the linked header.

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

Example sketch

C++ example
#include "fixed_trigonometry.hpp"

// Assume these named values have been initialized with valid data:
// double x

auto result = epok::fixed_trig_detail::sine_series(x);

Trade-offs and warnings

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

Declared in runtime/fixed_trigonometry.hpp:9

Related members