clord/fraction — Issue #4: Floating point exception
Author: pediment
Created: 2011-12-02 18:19:04+00:00
State: open

I get a SIGFPE Floating Point exception thrown when trying to use large numbers in the to_whole_fraction method. I can reproduce when using the following code:

```ruby
630109000000.0.to_whole_fraction
```

as well as

```ruby
3000000000.to_whole_fraction
```

but the following returns fine

```ruby
2000000000.to_whole_fraction
```