Skip to content

Conversation

@BioTurboNick
Copy link
Contributor

While experts would see how they could use Ints to work with floating point numbers, more novice users would get stuck. I've added a convenience IntPoint constructor that takes floating point values with a specified magnitude and precision for the conversion. I've also added a function to reverse the transformation.

While experts would see how they could use Ints to work with floating point numbers, more novice users would get stuck. I've added a convenience IntPoint constructor that takes floating point values with a specified magnitude and precision for the conversion. I've also added a function to reverse the transformation.
@sjkelly
Copy link
Member

sjkelly commented Sep 12, 2019

This seems reasonable. Can you add test?

@BioTurboNick
Copy link
Contributor Author

Sure, tests added

@sjkelly
Copy link
Member

sjkelly commented Sep 13, 2019

Thanks!

@sjkelly sjkelly merged commit 7bbf473 into JuliaGeometry:master Sep 13, 2019
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