Support pi() function

This commit is contained in:
Lauri Virtanen 2024-12-12 22:54:28 +02:00
parent 5e426a7624
commit 89d0289444
No known key found for this signature in database
GPG key ID: C04293ED964C2539
4 changed files with 25 additions and 1 deletions

View file

@ -364,6 +364,11 @@ do_execsql_test bitwise-not-zero {
set tolerance 1e-13
do_execsql_test_tolerance pi {
SELECT pi()
} {3.14159265358979} $tolerance
do_execsql_test_tolerance acos-int {
SELECT acos(1)
} {0.0} $tolerance