L/arith func log

negative and zero values?
what if ```Math.log(base)``` becomes 0?