Skip to content

Conversation

@grahame
Copy link
Contributor

@grahame grahame commented Apr 8, 2012

We were writing out zero when we encountered infinite floating point numbers in float::to_str_common. This fixes that. I chose "inf"/"-inf" as it's what printf(3) does.

brson added a commit that referenced this pull request Apr 8, 2012
write out "inf"/"-inf" in float::to_str_common
@brson brson merged commit 56f0979 into rust-lang:master Apr 8, 2012
@brson
Copy link
Contributor

brson commented Apr 8, 2012

Thanks!

bors pushed a commit to rust-lang-ci/rust that referenced this pull request Sep 22, 2022
Kobzol pushed a commit to Kobzol/rust that referenced this pull request Dec 30, 2024
Kobzol pushed a commit to Kobzol/rust that referenced this pull request Dec 30, 2024
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.

2 participants