[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange problems with data-tests.el
From: |
Pip Cet |
Subject: |
Re: Strange problems with data-tests.el |
Date: |
Mon, 13 Aug 2018 14:58:37 +0000 |
On Mon, Aug 13, 2018 at 2:44 PM Eli Zaretskii <address@hidden> wrote:
> > I think that test is a bit misleading, as (< most-positive-fixnum (+
> > -128.0 most-positive-fixnum)) also returns true.
>
> Not on a 32-bit host with a 32-bit EMACS_INT, it doesn't.
You're right, of course. Which is what I meant when I said the test
was misleading: it's true for subtly different reasons on different
hosts; (< x (+ 1.0 x)) is false on some hosts for some x smaller than
most-positive-fixnum, after all.
Re: Strange problems with data-tests.el, Pip Cet, 2018/08/13