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.
Op solved it, closing
Because {3,5} is a different dice roll than {5,3} - in the first instance, die 1 rolled 3 and die 2 rolled 5, whereas in the second instance die 1 rolled 5 and die 2 rolled 3. So the combination of 3 and 5 is counted twice because there are two different ways of achieving it.
{4,4} means die 1 rolled 4 and die 2 rolled 4. There isn't another way of getting both dice to show 4, so it's only counted once.
If you have problems with precision and rounding while solving this kata, it means your approach is not completely correct.
This kata can be solved easily without floats, using only integers, and avoiding rounding errors this way. You were struggling with a problem which you brought upon yourself.
The kata is fine.