Re: xkcd: Day Counter

Liste des GroupesRevenir à cl c++ 
Sujet : Re: xkcd: Day Counter
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : rec.arts.sf.written rec.arts.comics.strips comp.lang.fortran comp.lang.c++
Date : 05. Apr 2026, 22:13:50
Autres entêtes
Organisation : None to speak of
Message-ID : <87mrzhp0tt.fsf@example.invalid>
References : 1 2
User-Agent : Gnus/5.13 (Gnus v5.13)
Chris Ahlstrom <OFeem1987@teleworm.us> writes:
Lynn McGuire wrote this screed in ALL-CAPS:
>
xkcd: Day Counter
    https://xkcd.com/3228/
>
Yes, floating point errors are the bane of my life !  Not so much now
with double precision but the single precision days were nightmares.
>
Well these days we have long double.

C has had long double as a standard type since the original 1989
ANSI C standard.  (K&R1, 1978, didn't have long double.)

But wider floating-point types don't eliminate rounding errors.

[...]

--
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
void Void(void) { Void(); } /* The recursive call of the void */

Date Sujet#  Auteur
4 Apr 26 * xkcd: Day Counter26Lynn McGuire
4 Apr 26 +* Re: xkcd: Day Counter12Your Name
4 Apr 26 i+* Re: xkcd: Day Counter8Lawrence D’Oliveiro
4 Apr 26 ii`* Re: xkcd: Day Counter7Nioclás Pól Caileán de Ghloucester
4 Apr 26 ii `* Re: xkcd: Day Counter6Lawrence D’Oliveiro
5 Apr 26 ii  +* Re: xkcd: Day Counter4Nioclás Pól Caileán de Ghloucester
5 Apr 26 ii  i`* Re: xkcd: Day Counter3Lawrence D’Oliveiro
6 Apr 26 ii  i `* Re: xkcd: Day Counter2Nioclás Pól Caileán de Ghloucester
6 Apr 26 ii  i  `- Re: xkcd: Day Counter1Lawrence D’Oliveiro
8 Apr 26 ii  `- Re: xkcd: Day Counter1Nioclás Pól Caileán de Ghloucester
4 Apr 26 i+- Re: xkcd: Day Counter1Paul S Person
6 Apr 26 i`* Re: xkcd: Day Counter2Stuart Redmann
6 Apr 26 i `- Re: xkcd: Day Counter1Paul S Person
4 Apr 26 +* Re: xkcd: Day Counter2Tony Nance
4 Apr 26 i`- Re: xkcd: Day Counter1Mark Jackson
4 Apr 26 +- Re: xkcd: Day Counter1Jay Morris
5 Apr 26 +* Re: xkcd: Day Counter9Chris Ahlstrom
5 Apr 26 i`* Re: xkcd: Day Counter8Keith Thompson
6 Apr 26 i `* Re: xkcd: Day Counter7Thomas Koenig
6 Apr 26 i  +* Re: xkcd: Day Counter3Keith Thompson
6 Apr 26 i  i`* Re: xkcd: Day Counter2Thomas Koenig
6 Apr 26 i  i `- Re: xkcd: Day Counter1Keith Thompson
6 Apr 26 i  `* Re: xkcd: Day Counter3Nioclás Pól Caileán de Ghloucester
6 Apr 26 i   `* Re: xkcd: Day Counter2Lawrence D’Oliveiro
7 Apr 26 i    `- Re: xkcd: Day Counter1J-P. Rosen
6 Apr 26 `- Re: xkcd: Day Counter1candycanearter07

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal