Skip to content

Commit

Permalink
Editorial: fix formatting of note step in DayFromYear (tc39#3203)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra authored and ljharb committed Jan 25, 2024
1 parent 8dafd76 commit a88ef72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -32439,7 +32439,7 @@ <h1>
</dl>
<emu-alg>
1. Let _ry_ be ℝ(_y_).
1. NOTE: In the following steps, each `_numYearsN_` is the number of years divisible by N that occur between the epoch and the start of year _y_. (The number is negative if _y_ is before the epoch.)
1. [declared="numYears1,numYears4,numYears100,numYears400"] NOTE: In the following steps, _numYears1_, _numYears4_, _numYears100_, and _numYears400_ represent the number of years divisible by 1, 4, 100, and 400, respectively, that occur between the epoch and the start of year _y_. The number is negative if _y_ is before the epoch.
1. Let _numYears1_ be (_ry_ - 1970).
1. Let _numYears4_ be floor((_ry_ - 1969) / 4).
1. Let _numYears100_ be floor((_ry_ - 1901) / 100).
Expand Down

0 comments on commit a88ef72

Please sign in to comment.