snapshot of https://github.com/sqlc-dev/sqlc.git (main, 2026-09-16; blobs > 131072B omitted)
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
Some checks failed
kotlin / test (push) Has been skipped
python / test (push) Has been skipped
typescript / test (push) Has been skipped
go / build darwin/amd64 (push) Has been cancelled
go / build linux/amd64 (push) Has been cancelled
go / build windows/amd64 (push) Has been cancelled
go / build darwin/arm64 (push) Has been cancelled
go / build linux/arm64 (push) Has been cancelled
go / build windows/arm64 (push) Has been cancelled
go / test (push) Has been cancelled
go / vuln_check (push) Has been cancelled
This commit is contained in:
86
internal/endtoend/testdata/builtins/sqlite/queries/mathfunc.sql
vendored
Normal file
86
internal/endtoend/testdata/builtins/sqlite/queries/mathfunc.sql
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
-- name: GetAcos :one
|
||||
SELECT acos(1.0);
|
||||
|
||||
-- name: GetAcosh :one
|
||||
SELECT acosh(1.0);
|
||||
|
||||
-- name: GetAsin :one
|
||||
SELECT asin(1.0);
|
||||
|
||||
-- name: GetAsinh :one
|
||||
SELECT asinh(1.0);
|
||||
|
||||
-- name: GetAtan :one
|
||||
SELECT atan(1.0);
|
||||
|
||||
-- name: GetAtan2 :one
|
||||
SELECT atan2(1.0, 0.5);
|
||||
|
||||
-- name: GetAtanh :one
|
||||
SELECT atanh(1.0);
|
||||
|
||||
-- name: GetCeil :one
|
||||
SELECT ceil(1.0);
|
||||
|
||||
-- name: GetCeilin :one
|
||||
SELECT ceiling(1.0);
|
||||
|
||||
-- name: GetCos :one
|
||||
SELECT cos(1.0);
|
||||
|
||||
-- name: GetCosh :one
|
||||
SELECT cosh(1.0);
|
||||
|
||||
-- name: GetDegrees :one
|
||||
SELECT degrees(1.0);
|
||||
|
||||
-- name: GetExp :one
|
||||
SELECT exp(1.0);
|
||||
|
||||
-- name: GetFloor :one
|
||||
SELECT floor(1.0);
|
||||
|
||||
-- name: GetLn :one
|
||||
SELECT ln(1.0);
|
||||
|
||||
-- name: GetLog :one
|
||||
SELECT log(1.0);
|
||||
|
||||
-- name: GetLog10 :one
|
||||
SELECT log10(1.0);
|
||||
|
||||
-- name: GetLogBase :one
|
||||
SELECT log(1.0, 2.0);
|
||||
|
||||
-- name: GetLog2 :one
|
||||
SELECT log2(1.0);
|
||||
|
||||
-- name: GetMod :one
|
||||
SELECT mod(1, 2);
|
||||
|
||||
-- name: GetPi :one
|
||||
SELECT pi();
|
||||
|
||||
-- name: GetPow :one
|
||||
SELECT pow(1, 2);
|
||||
|
||||
-- name: GetPower :one
|
||||
SELECT power(1, 2);
|
||||
|
||||
-- name: GetRadians :one
|
||||
SELECT radians(1);
|
||||
|
||||
-- name: GetSin :one
|
||||
SELECT sin(1.0);
|
||||
|
||||
-- name: GetSinh :one
|
||||
SELECT sinh(1.0);
|
||||
|
||||
-- name: GetSqrt :one
|
||||
SELECT sqrt(1.0);
|
||||
|
||||
-- name: GetTan :one
|
||||
SELECT tan(1.0);
|
||||
|
||||
-- name: GetTrunc :one
|
||||
SELECT trunc(1.0);
|
||||
Reference in New Issue
Block a user