Math filter functions are not null safe

Description

All java.lang.Math based filter functions use primitives and blow up in case their inputs are null, without providing any explanation.
Other functions are already null safe, we can mimic them, and either return null, or do like MulImpl that returns Double.NaN

Environment

None

Status

Assignee

Unassigned

Reporter

Andrea Aime

Triage

Components

Fix versions

Priority

Medium
Configure