from psql:
kemal=# select 0.99 % 0.50; ?column? ---------- 0.04(1 row)
Am I missing something fundemental here or is this indeed a bug?