static int __isleap(long year)
return (year) % 4 == 0 && ((year) % 100 != 0 || (year) % 400 == 0);
I think it was originally implemented as a #define. Hence the remaining parenthesis around 'year'?
We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).
If you steal from one author it's plagiarism; if you steal from many it's research. -- Wilson Mizner