From: Mathieu Bouchard Date: 2000-09-24T07:10:01+09:00 Subject: [ruby-talk:5085] Re: Proposal: Add constants to Math >>> irb(main):001:0> Math.log(-1) >>> -Infinity First of all, Math.log(-1) should give NaN, not -Infinity; Math.log(0) may give -Infinity though. >>> 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. matju