math: Mathematics in SQLite

The sqlean-math extension provides common math functions for SQLite versions compiled without the SQLITE_ENABLE_MATH_FUNCTIONS flag.

Provides following functions:

Full description

Acknowledgements

Adapted from SQLite source code (func.c).

Installation and usage

SQLite command-line interface:

sqlite> .load ./math
sqlite> select math_sqrt(9);

See How to install an extension for usage with IDE, Python, etc.

Download the extension.

Explore other extensions.

Subscribe to stay on top of new features.