Skip to content

Commit

Permalink
Add note about removing the reound function once at Go 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
mraerino committed Nov 2, 2018
1 parent 55ab899 commit a47ff3f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions calculator/calculator.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ const (
fracMask = 1<<shift - 1
)

// TODO: Remove this because Go 1.10 includes it in the standard math lib
//
// Round returns the nearest integer, rounding half away from zero.
//
// Special cases are:
Expand Down

0 comments on commit a47ff3f

Please sign in to comment.