Added the following pull request 

https://github.com/IronLanguages/main/pull/54

This has the following fixes, which are all pretty minor:
* Update Float#<=> to handle overflowed values correctly as per rubyspec
* Update Float#divmod as per rubyspec 
* Implement Float#fdiv, which is just an alias for /
* Update Float#modulo and Float#% to raise ZeroDivisionError (as per 
rubyspec)
* Implement Float#round(decimalPlaces)
The last one isn't actually in rubyspec, but MRI has had it for ages and 
it's very useful.
The only things left for float_specs all involve converting it to 
Rational, so I'd suggest leaving them until IronRuby's implementation of 
Rational gets sorted out.
Thanks, Orion


______________________________________________________

Orion Edwards | Technical Leader 
PHONE +64 7 838 9800 | FAX +64 7 838 9801 | 
EMAIL orion.edwa...@gallagher.co | WEB www.gallagher.co  

<<image/gif>>

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to