Skip to content

Conversation

@ee7
Copy link
Member

@ee7 ee7 commented Feb 8, 2019

Float comparison should be performed without rounding, and round(x: float, places: int) is deprecated in Nim 0.19. Note that round(x: float) is not deprecated.

Nim reference: nim-lang/Nim@5076fda

Upstream: exercism/problem-specifications#1441
The numbers were changed to fit within a 32-bit int range.

ee7 added 2 commits February 7, 2019 20:00
Float comparison should be performed without rounding, and
round(x: float, places: int) is deprecated in Nim 0.19.

Note that round(x: float) is not deprecated.

Add underscores to show large numbers more clearly.
@amscotti amscotti merged commit 65dcb73 into exercism:master Feb 8, 2019
@ee7 ee7 deleted the space-age branch February 9, 2019 11:00
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