[math-fun] NULL semantics in postgresql