[Apollo-talk:40] Re: division by zero bug?

Back to archive index

repeater repea****@lucen*****
Thu Oct 31 03:28:17 JST 2002


> Hi! "repeater"
> This is take_tk
> 
> [Apollo-talk:36] division by zero bug?
> "repeater" <repea****@lucen*****> wrote:
> 
> : --
> : require 'phi'
> : form = Phi::Form.new	# <= comment out to make this working
> : puts(3/2.0)
> : Phi.mainloop
> : --
> : 
> : err msg:
> : 	3: in `to_s': Floating point division by zero (EZeroDivide)
> 
>   My apollo did not show such error.
>   Do you used Ruby 1.7.2?

no, the normal 635 version.
hmm it works with apollo.exe, but fails when ran with ruby_ap

and just clarifying my problem, it is when printing floats, of course:

require 'phi'
form = Phi::Form.new	
puts(Math::PI)
Phi.mainloop

regards
re~



More information about the Apollo-talk mailing list
Back to archive index