rubinius/rubinius — pull request #1338 by jfirebaugh (2011-10-23 00:43:09+00:00)
Title: Fix Numeric#div for 1.9

Note: this is not ready to pull; it causes the following failure:

````
Bignum#div raises FloatDomainError if the argument is a float zero FAILED
Expected FloatDomainError but got ZeroDivisionError (divided by 0)
/expectations.rb:15
{ } in Object#__script__ at spec/ruby/core/bignum/div_spec.rb:16
...
```

This seems to me like a bug in MRI. Look at this: https://gist.github.com/1306674

Why is `Bignum#div(0.0)` the _only_ case that raises `FloatDomainError`? Seems like it should raise `ZeroDivisionError` like the other `#div(0.0)` cases.

What do you think Rubinius should do?