incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 118999] Leap year not correctly calculated
Date Thu, 01 Mar 2012 04:20:31 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=118999

Pedro Giffuni <pfg@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77262|0                           |1
        is obsolete|                            |

--- Comment #2 from Pedro Giffuni <pfg@apache.org> 2012-03-01 04:20:31 UTC ---
Created attachment 77263
  --> https://issues.apache.org/ooo/attachment.cgi?id=77263
Fix lap year calculation

Hmm.. let's remove some parenthesis that are not necessary thanks to
precedence.

The code here:
http://www.c.happycodings.com/Miscellaneous/code34.html

is somewhat more extreme removing most of the parenthesis, but for clarity it's
not bad to preserve some. The compiler will find a way to optimize them out
anyways.

-- 
Configure bugmail: https://issues.apache.org/ooo/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message