Actions
Bug #12487
closed-12345.digits(7) behavior
Description
rdoc of Integer#digits says -12345.digits(7) #=> [4, 6, 6, 0, 5]
, but it raises Math::DomainError: out of domain
.
Which is expected behavior?
Actions
Like0
Like0Like0