mozilla/rust — pull request #11125 by vmx (2013-12-23 09:17:32+00:00)
Title: Implement rational() function for floats

The Ratio::rational() converts a float (f32 and f64) into a
Ratio.

Closes #9838