From: Jeff Mitchell Date: 2004-04-23T22:53:12+09:00 Subject: Re: log base 2 and floats that don't look it --- nobu.nokada@softhome.net wrote: > Hi, > > At Fri, 23 Apr 2004 15:54:10 +0900, > Phil Tomson wrote in [ruby-talk:98084]: > > So Extmath.log2 8 returns 3, but it's really a Float so it should be 3.0, > > how can 3 be a Float? I'm confused, but at least now I know why my code > > which was using this log2 function isn't working. > > It isn't related with the issue from [ruby-talk:97891]? > > -- > Nobu Nakada > Yes, I've tested Extmath.log2 8 and Nobu's patch fixes this problem, http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/97996 __________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25� http://photos.yahoo.com/ph/print_splash