General

Profile

bk1 (Karl Brodowsky)

  • Login: bk1
  • Email: bk1@gmx.net
  • Registered on: 04/22/2009
  • Last connection: 01/15/2012

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

05/11/2009

02:10 AM Ruby 1.8 Bug #1454: compatability of rational and bigdecimal (1.8 and 1.9)
=begin
a similar error occurs when adding BigDecimal and Complex.
=end
bk1 (Karl Brodowsky)

05/10/2009

09:35 PM Ruby master Bug #1455 (Closed): compatability of rational and bigdecimal
=begin
require "rational"
require "bigdecimal"
a=BigDecimal("3.2")
b=Rational(3,4)
b/a
--> TypeError: BigD...
bk1 (Karl Brodowsky)
09:32 PM Ruby 1.8 Bug #1454 (Closed): compatability of rational and bigdecimal (1.8 and 1.9)
=begin
I did the following to produce this error:

---------------------------------------------
ruby 1.8
-...
bk1 (Karl Brodowsky)

04/22/2009

07:39 PM Backport187 Backport #1397: to_f of rational
=begin
A fix for this bug might be along the following line, but this might still cause rounding errors in case only...
bk1 (Karl Brodowsky)
07:36 PM Backport187 Backport #1397: to_f of rational
=begin
expected result would be 1.0

This bug has been reported already in rubyforge with [#25582]
=end
bk1 (Karl Brodowsky)
07:35 PM Backport187 Backport #1397 (Closed): to_f of rational
=begin
irb
irb(main):001:0> require "rational"
=> true
irb(main):002:0> a=10**309
=> 10000000000000000000000...
bk1 (Karl Brodowsky)

Also available in: Atom