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.
Converting an integer to float and back to integer can change the value due to the typical accurarcy errors.
The fraction of a float64 has only 56 bits IEEE 754 format but the int64 has 64 bit for the "fraction" because there is no "exponent".
Test program:
Output:
No. All Int64 require the same resources (64 bits).
Hey. I have a question about efficieny of assigning math.MaxInt64. Do you know how does it impact resources consumption?
I did notice this when implementing the encoder, but I didn't use it :)
This comment is hidden because it contains spoiler information about the solution