Module constants

Module constants 

Source
Expand description

π-derived calibration constants for low-precision systems

Using π (or π-derived constants) for normalization, angular embeddings, periodic projections, and phase encoding gives a stable, universal reference that doesn’t align with powers of two or quantization boundaries.

This avoids resonance artifacts where values collapse into repeating buckets. In short: π breaks symmetry.

Structs§

AngularFrequencyTable
Angular frequency table for SIMD-friendly operations
PiCalibration
π-derived calibration constants for a precision lane

Constants§

PHI_APPROX
Golden ratio derived from π for optimal distribution
PI_DIGITS
First 100 digits of π for deterministic seeding
PI_SCALE_3BIT
π-based scale factor for 3-bit quantization Chosen to avoid power-of-2 boundaries
PI_SCALE_5BIT
π-based scale factor for 5-bit quantization
PI_SCALE_7BIT
π-based scale factor for 7-bit quantization