NullSafeMathFunction, let me introduce you to my little friend https://github.com/neo4j/neo4j/blob/master/community/cypher/cypher-compiler-2.1/src/main/scala/org/neo4j/cypher/internal/compiler/v2_1/commands/expressions/NullInNullOutExpression.scala#L25