Ad
  • Custom User Avatar

    COBOL translation (author is inactive). This translation updates the description and fixes the issue below (wording and incorrect range of inputs). If it's approved, Swift tests should be updated in order to generate more values in the full range (according to what I could see, it should not have any significant impact invalidating solutions).

  • Custom User Avatar

    The description is inaccurate (beside, the wording is incorrect) : The highest the will be passed in will be in the 1,000,000,000,000 (1 trillion) range, but fixed tests include 895,156,000,329,152 (> 895 trillions). It appears to be the unique number tested out of the specified range.

  • Custom User Avatar

    returns true if one nuber is within 10% of the other number.

    In what definition? 10% of the larger number, or the smaller number? (This incur about 1.1% difference.)

    Also (probably) needs test cases for 0 and negative numbers.