Actions
Bug #12487
closed-12345.digits(7) behavior
Bug #12487:
-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