Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
It's true, that if the sqrt function comes up with the exact integer solution, it is representable.
But is it also true, that the sqrt calculation is sure to come up with the exact integer solution without round-off errors?
Moreover, can we be sure, that no sqrt of a non-square double will yield an integer due to round-off errors?