Subject: [ruby-talk:5086] Re: Proposal: Add constants to Math
From: Mathieu Bouchard <matju@ m r
Date: Sun, 24 Sep 2000 07:16:22 +0900
In-reply-to: 5085
> >>> irb(main):003:0> Math.log(-1)
> >>> Complex(0.0, 3.141592654)
> Second, a the log of a float should not give a complex, for the same
> reason that 2/3 == 0.
(oops)
ok, forget this one, log does not belong to float, it belongs to Math.
matju