- Notifications
You must be signed in to change notification settings - Fork1.4k
Add float.as_integer_ratio()#600
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
codecov-io commentedMar 4, 2019
Codecov Report
@@ Coverage Diff @@## master #600 +/- ##==========================================+ Coverage 41.13% 41.25% +0.12%========================================== Files 74 74 Lines 16880 16952 +72 Branches 4450 4487 +37 ==========================================+ Hits 6944 6994 +50- Misses 7907 7932 +25+ Partials 2029 2026 -3
Continue to review full report at Codecov.
|
| assert (-2.1).as_integer_ratio()== (-4728779608739021,2251799813685248) | ||
| assert (-2100.0).as_integer_ratio()== (-2100,1) | ||
| assert (2.220446049250313e-16).as_integer_ratio()== (1,4503599627370496) | ||
| assert (1.7976931348623157e+308).as_integer_ratio()== (179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368,1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Lol, some big number!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
(that'ssys.float_info.max)
No description provided.