General

Profile

petebd (Pete Bacon Darwin)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

09/23/2008

06:15 AM Ruby Bug #585 (Closed): BigDecimal#remainder is not correct with small divisors
=begin
require 'bigdecimal'

# According to the documentation: BigDecimal#remainder is BigDecimal#modulus minus the value divided by, if values have opposite sign

@mixed = BigDecimal("1.23456789")
@pos_int = BigDecimal("2E555...
petebd (Pete Bacon Darwin)

Also available in: Atom