Menu

#7 Documentation issue in LunarCycle.c

v1.0 (example)
open
nobody
None
5
2013-12-11
2013-12-11
No

In LunarCycle.c -> GetMoonRiseSetTimes() the returned time values are documented as:
// packedRise > 0 && packedSet = -1 => the moon rises and never sets
// packedRise = -1 && packSet > 0 => no moon rise and the moon sets
-- I believe that the comparator should be ">= 0", as it appears that the time values are zero-based.

Discussion


Log in to post a comment.