GNU bug report logs - #26165
date-week-day screws up prior to AD 1

Previous Next

Package: guile;

Reported by: Zefram <zefram <at> fysh.org>

Date: Sat, 18 Mar 2017 23:46:02 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 26165 <at> debbugs.gnu.org (full text, mbox):

From: Zefram <zefram <at> fysh.org>
To: 26165 <at> debbugs.gnu.org
Subject: Re: bug#26165: date-week-day screws up prior to AD 1
Date: Sun, 19 Mar 2017 01:01:40 +0000
I wrote:
>written to perform divisions with quotient where it obviously needs
>modulo.

Oops, thinko there.  It needs floor-quotient, the quotient-like function
that uses floor rounding.  modulo is the *remainder*-like function that
uses floor rounding.

-zefram




This bug report was last modified 6 years and 209 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.