diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/complex.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/complex.rb b/lib/complex.rb index 2de1791288..c27746a82f 100644 --- a/lib/complex.rb +++ b/lib/complex.rb @@ -363,9 +363,10 @@ module Math alias sin! sin alias tan! tan alias log! log + alias atan! atan alias log10! log10 alias atan2! atan2 - + def sqrt(z) if Complex.generic?(z) if z >= 0 |