Sigh.. In the frrst place, the loop should not stop until the maximum exponent. sorry, but I don't have a time now..
2019年1月8日(火) 16:43 Kyotaro HORIGUCHI <[email protected]>: > Mmm. > > At Tue, 08 Jan 2019 16:26:38 +0900 (Tokyo Standard Time), Kyotaro > HORIGUCHI <[email protected]> wrote in < > [email protected]> > > FWIW, I got the following result on my environment. It seems > > different enough if this holds on all supported platforms, though > > there still is a case where the result of a sequence of > > arithmetics makes false match. > > > > x = 0.33333333333333331 > > d = 1.000000e+30 match > > d = 1.000000e+31: 0.000000 match > > Of course the "match" in the last line above is a mistake of "NOT > match". -- > Kyotaro Horiguchi > NTT Open Source Software Center > > >
