EPOK RUNTIME
Fixed Trigonometry
fixed_trigonometry.hpp · fixed-point trigonometric helpers
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.
Module
fixed-point trigonometric helpers.
Include this module
C++ include
#include "fixed_trigonometry.hpp"Types
Functions and methods
cosine_turn12Performs `cosine turn12` as part of fixed-point trigonometric helpers.Functionmake_quarter_sinePerforms `make quarter sine` as part of fixed-point trigonometric helpers.Functionsine_seriesCompile-time generation from the mathematical definition, not game assets.Functionsine_turn12One turn = 4096; result is signed Q12.Function