Skip to content

Commit

Permalink
Editorial: Remove non-text content from * format wrappers
Browse files Browse the repository at this point in the history
  • Loading branch information
gibson042 committed Jan 30, 2023
1 parent d05a18b commit 0b40124
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions spec/instant.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1>Temporal.Instant.fromEpochSeconds ( _epochSeconds_ )</h1>
<emu-alg>
1. Set _epochSeconds_ to ? ToNumber(_epochSeconds_).
1. Set _epochSeconds_ to ? NumberToBigInt(_epochSeconds_).
1. Let _epochNanoseconds_ be _epochSeconds_ &times; *10<sup>9</sup>*<sub>ℤ</sub>.
1. Let _epochNanoseconds_ be _epochSeconds_ &times; ℤ(10<sup>9</sup>).
1. If ! IsValidEpochNanoseconds(_epochNanoseconds_) is *false*, throw a *RangeError* exception.
1. Return ! CreateTemporalInstant(_epochNanoseconds_).
</emu-alg>
Expand All @@ -83,7 +83,7 @@ <h1>Temporal.Instant.fromEpochMilliseconds ( _epochMilliseconds_ )</h1>
<emu-alg>
1. Set _epochMilliseconds_ to ? ToNumber(_epochMilliseconds_).
1. Set _epochMilliseconds_ to ? NumberToBigInt(_epochMilliseconds_).
1. Let _epochNanoseconds_ be _epochMilliseconds_ &times; *10<sup>6</sup>*<sub>ℤ</sub>.
1. Let _epochNanoseconds_ be _epochMilliseconds_ &times; ℤ(10<sup>6</sup>).
1. If ! IsValidEpochNanoseconds(_epochNanoseconds_) is *false*, throw a *RangeError* exception.
1. Return ! CreateTemporalInstant(_epochNanoseconds_).
</emu-alg>
Expand Down Expand Up @@ -579,10 +579,10 @@ <h1>
<emu-alg>
1. Let _result_ be _epochNanoseconds_ + ℤ(_nanoseconds_) +
ℤ(_microseconds_) &times; *1000*<sub>ℤ</sub> +
ℤ(_milliseconds_) &times; *10<sup>6</sup>*<sub>ℤ</sub> +
ℤ(_seconds_) &times; *10<sup>9</sup>*<sub>ℤ</sub> +
ℤ(_minutes_) &times; *60*<sub>ℤ</sub> &times; *10<sup>9</sup>*<sub>ℤ</sub> +
ℤ(_hours_) &times; *3600*<sub>ℤ</sub> &times; *10<sup>9</sup>*<sub>ℤ</sub>.
ℤ(_milliseconds_) &times; ℤ(10<sup>6</sup>) +
ℤ(_seconds_) &times; ℤ(10<sup>9</sup>) +
ℤ(_minutes_) &times; *60*<sub>ℤ</sub> &times; ℤ(10<sup>9</sup>) +
ℤ(_hours_) &times; *3600*<sub>ℤ</sub> &times; ℤ(10<sup>9</sup>).
1. If ! IsValidEpochNanoseconds(_result_) is *false*, throw a *RangeError* exception.
1. Return _result_.
</emu-alg>
Expand Down
2 changes: 1 addition & 1 deletion spec/intl.html
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ <h1>HandleDateTimeOthers ( _dateTimeFormat_, _x_ )</h1>
1. Set _x_ to ? ToNumber(_x_).
1. Set _x_ to TimeClip(_x_).
1. If _x_ is *NaN*, throw a *RangeError* exception.
1. Let _epochNanoseconds_ be ℤ(_x_) &times; *10<sup>6</sup>*<sub>ℤ</sub>.
1. Let _epochNanoseconds_ be ℤ(_x_) &times; ℤ(10<sup>6</sup>).
1. Return the Record {
[[pattern]]: _pattern_,
[[rangePatterns]]: _rangePatterns_,
Expand Down

0 comments on commit 0b40124

Please sign in to comment.