Ad
  • Custom User Avatar

    .

  • Custom User Avatar

    1/13 = 0.076923 076923 076927 347011 633173 679001 629352 569580 078125

    1/21 = 0.047619 047619 047616 404230 893749 627284 705638 885498 046875

    1/37 = 0.027 027 027 027 027 028 527 328 411 655 616 946 518 421 173 095 703 125

    for 13 and 21 pattern breaks after 2 times, for 37 after 6 times.
    how is it possible? 1/13 == 6, 1/21 == 6, 1/37 == 3

    for 1/197 answer is 98. golang has 64 numbers precise, how I can test it?