L/arith func log

what about negative values and null? they result in NaN.