SQLite Forum

Native math function support for SQLite
> The libmath routines are defined by C99 but not C89.

Everything on [this page][1] not marked C99 is in C89.

Most of what you quoted is included, primarily excepting π, but you can get that at runtime with `acos(-1)` or other identities. That in turn gets you degree to radian conversion: π/180°.

A better reason for SQLite to not include math: the size of the soft FP lib on systems without hard FP, like the ARM Cortex M0, machines where SQLite often makes the most sense of the restricted set of options available.

[1]: https://en.cppreference.com/w/c/numeric/math