Skip to content

Commit

Permalink
Update complex.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffreySarnoff committed Mar 14, 2019
1 parent 6a1cf12 commit 7808689
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/math/elementary/complex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ Julia(evalc(Re(tan(r+i*sqrt(-1)))), optimize = true);
t1 = sin(r)
t2 = cos(r)
t4 = t2 ^ 2
t5 = sinh(i)
t6 = t5 ^ 2
t9 = 0.1e1 / (t4 + t6) * t2 * t1
t5 = sinh(i) # real(x), t5=0
t6 = t5 ^ 2 # real(x), t6=0
t9 = 0.1e1 / (t4 + t6) * t2 * t1 # real(x), 1 / t4 * t2 * t1 = t2*t1/t4
Julia(evalc(Im(tan(r+i*sqrt(-1)))), optimize = true);
t1 = sinh(i)
t2 = cosh(i)
Expand Down

0 comments on commit 7808689

Please sign in to comment.