-- pgbench function/operator test
-- pgbench -f <this file> -t 1
\set d ddebug(0.0)
\set i idebug(1)
\set i idebug(min(1+1, 2*3, 5/2))
\set i idebug(max(0, 10-11, 3%4, -17.0))
\set i idebug(sqrt(4.0 + 3.0 * 4.0))
\set i idebug(abs(-5))
\set i idebug(int(abs(-6.5)))
\set i idebug(random(7, 7))
\set i idebug(gaussrand(8, 8, 1.0))
\set i idebug(exporand(9, 9, 2.0))
\set i idebug(double(10))
\set d ddebug(int(11.0))
\set d ddebug(min(23.5*12.3, 4*3.0, 100.0/2.1))
\set d ddebug(max(-12.3, 169/13.0, 0))
-- randoms
\set i idebug((random(1,10) + random(1,10) + random(1,10) + random(1,10)) / 4)
\set i idebug(gaussrand(1, 10, 2.0))
\set i idebug(exporand(1, 10, 3.0))




