gpsd-dev
[Top][All Lists]
Advanced

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

Re: ✘gpsd .23.2~rc1


From: Gary E. Miller
Subject: Re: ✘gpsd .23.2~rc1
Date: Tue, 12 Apr 2022 17:43:21 -0700

Yo Fred!

On Tue, 12 Apr 2022 17:35:27 -0700 (PDT)
Fred Wright <fw@fwright.net> wrote:

> > Fred's theory is that the rounding error is happening before the
> > printf().  Somewhere.  Probably related to implicit long doubles.  
> 
> I found where the problem is, but don't have any more time tonight.
> I should be able to fix it tomorrow.

Great.  I'm adding tests and warnings for FLT_EVAL_METHOD != 0.

C compilers only comply with Annex F of the C standard when
FLT_EVAL_METHOD == 0.

If a compiler tells us they are not complying with the standard
then we have a clue that things will get strange.

If that is the root cause, then their are a few compiler specific
workarounds that sometimes work.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpRPJ5o2NXpw.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]