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.
This comment is hidden because it contains spoiler information about the solution
Approved.
I just submited a translation to Haskell. I'm open to any comment or review.
I did a translation of this kata in C++. It is my first try at a translation.
Please comment... or Approve.
https://www.codewars.com/kumite/63f1986a61aa3b27fd7490cc?sel=63f1986a61aa3b27fd7490cc
Finally. I got one.
There is a difference between signed zero and a "regular" zero. A signed zero can represent an underflow and discontinuous function. In scientific computing, a signed zero is used when rounding off extremely small negative numbers.
what if the number is 0?
is ok to have -0?