Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types/rat: Fix overflowing in printing #1374

Merged
merged 3 commits into from
Jun 26, 2018
Merged

Conversation

ValarDragon
Copy link
Contributor

This now uses the underlying golang big.rat's string function,
instead of casting to num and den which are int64s.

Closes #1258

  • Updated all relevant documentation in docs - n/a to my knowledge
  • Updated all code comments where relevant
  • Wrote tests
  • Updated CHANGELOG.md
  • Updated Gaia/Examples
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

This now uses the underlying golang big.rat's string function,
instead of casting to num and den which are int64s.

Closes #1258
@ValarDragon ValarDragon requested a review from cwgoes June 26, 2018 01:29
@ValarDragon ValarDragon requested a review from ebuchman as a code owner June 26, 2018 01:29
@codecov
Copy link

codecov bot commented Jun 26, 2018

Codecov Report

Merging #1374 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #1374      +/-   ##
===========================================
+ Coverage    64.64%   64.65%   +0.01%     
===========================================
  Files          112      112              
  Lines         6284     6284              
===========================================
+ Hits          4062     4063       +1     
+ Misses        1998     1997       -1     
  Partials       224      224

Copy link
Contributor

@cwgoes cwgoes left a comment

Choose a reason for hiding this comment

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

utACK

@cwgoes cwgoes merged commit 9f30a90 into develop Jun 26, 2018
@cwgoes cwgoes deleted the dev/prevent_rat_plague branch June 26, 2018 03:04
adrianbrink pushed a commit that referenced this pull request Jul 2, 2018
This now uses the underlying golang big.rat's string function,
instead of casting to num and den which are int64s.

Closes #1258
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