Skip to content

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Dec 23, 2013

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

Closes #9838

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could this be from_float?

@huonw
Copy link
Contributor

huonw commented Dec 26, 2013

Could you squash the commits? (r=me when done, make sure to comment here when you've done it, because we don't get automatic notifications when a PR is updated. :) )

The Ratio::from_float() converts a float (f32 and f64) into a
Ratio<BigInt>.

Closes rust-lang#9838
bors added a commit that referenced this pull request Dec 30, 2013
The Ratio::rational() converts a float (f32 and f64) into a
Ratio<BigInt>.

Closes #9838
@bors bors closed this Dec 30, 2013
@bors bors merged commit e0a6910 into rust-lang:master Dec 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants