math functions are pure but not static

Having the functions declared as static might lead to warnings about
unused functions. And really, the semantics is a pure function.

Signed-off-by: Matthias Kretz <kretz@kde.org>