Skip to content

Commit 4a81e0c

Browse files
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 constants
1 parent 78aa3f5 commit 4a81e0c

File tree

5 files changed

+3979
-0
lines changed

5 files changed

+3979
-0
lines changed

0 commit comments

Comments
 (0)