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.
They're equivalent in the mathematical sense, but not in the floating-point sense. This is a permanent problem with floating point numbers.
for example, if
(r1 + r2)
is really small, the precision of its product(r1 + r2) * (r1 + r2)
is going to be bad ... so it's better to avoid multiplications if you can in a formula like this(i didnt look at the JS translation so it's just my guess)