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.
Have you included math with
#include <math.h>
? You don't even needpow
tho.It looks like you're using
double
s. They have 53-bit significand, so they can't have odd values greater than 2^53.https://en.wikipedia.org/wiki/Double-precision_floating-point_format
The description refers to a thing which is either known under a different name or is not available altogether in some of the available languages. This message should be removed from the description.