Project

General

Profile

Actions

Bug #3736

closed

Complex#argがエラーになることがある

Added by tadf (tadayoshi funaba) over 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-08-22 trunk 29068) [i686-linux]
Backport:
[ruby-dev:42116]

Description

=begin
[ruby-dev:42106] にあるようにエラーになることがある。

Complex(-0.0, 0.0).arg
Math::DomainError: Numerical argument is out of domain - "atan2"
from (irb):3:in arg' from (irb):3 from ./bin/irb:12:in '
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0