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.
Strictly a mathematical challenge more or less, nice kata for the record.
well said, updated, thanks
python new version to be updated.
They are not,
BigInt
is a wrapper aroundjava.math.BigInteger
iirc.EDIT: apparently,
java.math.BigInteger
andBigInt
are not the same.JavaScript translation
Oh, retired.
Anyway, then...
Grossly missunderstood the approx_equal documentation (Turns out it doesnt work the same as NumPy!). Settled on a margin of +/- .01, which feels reasonable.
I think it should be behaving correctly now, let me know if I missed anything else!
No, floating point errors are still happening:
In fact this isn't "7 significant digits", this is
1e-09
.Also why are the fixed tests specifying such inaccurate values?
Thank you! Swapped them.
Random tests have expected and actual mixed
Thanks again :)
You should close the suggestion once the translation is approved :)
C# translation
The mixup was so bad that Bob, Beff Jezos, and everyone else in the factory turned into short boxes 📦
Loading more items...