[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Challenge: find the first value where two functions differ

On Sat, 5 Aug 2017 02:00 am, Ian Kelly wrote:

> On Fri, Aug 4, 2017 at 9:47 AM, Chris Angelico <rosuav at gmail.com> wrote:
>> On Sat, Aug 5, 2017 at 1:44 AM, Chris Angelico <rosuav at gmail.com> wrote:
>>> That gave me this result almost instantaneously:
>>> 4503599761588224
>>> which has been rounded up instead of down. I don't know if that counts
>>> as sufficiently wrong?

> Your example demonstrates that the "2**53 < M" assumption was wrong,
> which is interesting.

It sure is.

You're right, of course, I hadn't noticed that Chris' M was approximately half

?Cheer up,? they said, ?things could be worse.? So I cheered up, and sure
enough, things got worse.