Actions
Bug #5228
closedInteger#round fails on some big negative numbers
    Bug #5228:
    Integer#round fails on some big negative numbers
  
Description
Integer#round fails for some big negative numbers:
(+25 * 1070).round(-71) # =>  30...00
(-25 * 1070).round(-71) # => -20...00, should be -30...00
        
           Updated by marcandre (Marc-Andre Lafortune) about 14 years ago
          Updated by marcandre (Marc-Andre Lafortune) about 14 years ago
          
          
        
        
      
      - Status changed from Open to Closed
- % Done changed from 0 to 100
Fixed with r33061 & r33062
Actions