Sujet : Re: Prog Challenge
De : Physfitfreak (at) *nospam* gmail.com (Physfitfreak)
Groupes : comp.os.linux.advocacyDate : 11. Mar 2024, 03:39:38
Autres entêtes
Message-ID : <uslncr$16ng0$1@solani.org>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 3/8/2024 1:06 PM, Physfitfreak wrote:
On 3/8/2024 12:07 PM, Physfitfreak wrote:
4. therefore the repeating decimals will be 032258064516129
Note that the zeros coming before non-zero digits begin, are not a case of zeros after radix that are _not_ part of the repeating decimals. The latter cases are handled by method of nines with zeros which is slightly different from method of nines, and I won't go into it. Those interested can dig it themselves.
And that's why your 1/28 couldn't be handled by your software, because I think it requires method of nines with zeros, not the method of nines. Whoever created that function, perhaps didn't go as far as you expected.
-- This email has been checked for viruses by Avast antivirus software.www.avast.com