private static Function<ValueList, Object> singleValueNumericFunction(final Function<Value, Number> numericFunction) {
        return params -> {
            params.assertCheckCount(1, 1, false);
            params.assertCheckTypes((v, i) -> v.isNumeric(), i -> "Numeric", false);
            try {
                return Value.of(numericFunction.apply(params.get(0)));
            } catch (ArithmeticException ae) {
                throw new FormulaException(FormulaException.ErrorType.NUMERIC_OVERFLOW);
            }
        };
    }
Maintains all functions available in {@link Formula}'s
main/src/main/java/cgeo/geocaching/utils/formulas/FormulaFunction.java