complex.js
function() {

      var a = this['re'];
      var b = this['im'];

      if (b === 0 && a > 0) {
        //return new Complex(Math.log(a), 0);
      }

      return new Complex(
              logHypot(a, b),
              Math.atan2(b, a));
    }
function() {

      var a = this['re'];
      var b = this['im'];

      if (b === 0 && a > 0) {
        //return new Complex(Math.log(a), 0);
      }

      return new Complex(
              logHypot(a, b),
              Math.atan2(b, a));
    }
function ( ) { var a = this [ 're' ] ; var b = this [ 'im' ] ; if ( b === 0 && a > 0 ) { //return new Complex(Math.log(a), 0); } return new Complex ( logHypot ( a , b ) , Math . atan2 ( b , a ) ) ; }
Calculate the natural log

@returns {Complex}
Calculate the natural log