Commit ee125ced authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix bug 32423

parent 1bfca05a
......@@ -554,7 +554,7 @@ Complex.prototype = {
},
Log2:function () {
var c = new Complex( Math.ln( 2 ), 0 )
var c = new Complex( Math.ln( 2 ), 0 );
var r = this.Ln();
if( r instanceof cError ){
......@@ -587,7 +587,7 @@ Complex.prototype = {
phi;
phi = Math.acos( this.real / p );
if ( i < 0 ) {
if ( this.img < 0 ) {
phi = -phi;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment