RosettaCodeData/Task/Leap-year/Fermat/leap-year.fermat
2023-07-01 13:44:08 -04:00

1 line
86 B
Text

Function IsLeap(y) = if y|4>0 then 0 else if y|100=0 and y|400>0 then 0 else 1 fi fi.