Commit de73f39
committed
Generate trigonometric constants and lookup tables using Sollya
Added precomputed constants and lookup tables for sine/cosine functions generated with Sollya.
These tables include:
- Pi constants with different precision levels for float and double types
- Sine approximation tables for fast trigonometric calculations
- Angle reduction constants
- KPi/16 inline constants for range reduction
The data was generated using the 'spin sollya' tool and separated into multiple header files
to reduce code size and improve organization.
Files added:
- npsr/trig/data/approx.h: Sine approximation tables
- npsr/trig/data/constants.h: Pi and other trigonometric constants
- npsr/trig/data/data.h: Main data header
- npsr/trig/data/kpi16-inl.h: KPi/16 inline constants
- npsr/trig/data/reduction.h: Angle reduction constants1 parent 32d7b75 commit de73f39
File tree
5 files changed
+3979
-0
lines changed- npsr/trig/data
5 files changed
+3979
-0
lines changed
0 commit comments