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




