Skip to content

Commit 3b24ed6

Browse files
committed
Mark proposal-stage notes as editorial
1 parent 63acb0e commit 3b24ed6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

spec.emu

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ location: https://github.com/tc39/proposal-amount/
205205
1. Return _value_ × 𝔽(_sourceFactor_ / _targetFactor_).
206206
1. Return _value_ × 𝔽(_sourceFactor_ / _targetFactor_) + 𝔽((_sourceOffset_ - _targetOffset_) / _targetFactor_).
207207
</emu-alg>
208-
<emu-note>
208+
<emu-note type="editor">
209209
<p>The conversion from _sourceUnit_ to _targetUnit_ through the base unit is: _result_ = _value_ × (_sourceFactor_ / _targetFactor_) + (_sourceOffset_ − _targetOffset_) / _targetFactor_. The subexpressions _sourceFactor_ / _targetFactor_ and (_sourceOffset_ − _targetOffset_) / _targetFactor_ are computed as mathematical values, and then converted to Number values for the multiplication and addition. For non-offset conversions (the vast majority), the offset term is 0 and addition is skipped in order to preserve an input _value_ of *-0*<sub>𝔽</sub>.</p>
210210
</emu-note>
211211
</emu-clause>
@@ -247,7 +247,7 @@ location: https://github.com/tc39/proposal-amount/
247247
1. Set _O_.[[Unit]] to _unit_.
248248
1. Return _O_.
249249
</emu-alg>
250-
<emu-note>
250+
<emu-note type="editor">
251251
<p>When no precision options are given, Number and BigInt arguments are stored directly in [[AmountValue]], preserving the original type. String arguments are normalized to StrDecimalLiteral form. When precision options are specified, [[AmountValue]] always holds a String.</p>
252252
</emu-note>
253253
<emu-note type="editor">
@@ -270,7 +270,7 @@ location: https://github.com/tc39/proposal-amount/
270270
1. Perform ? RequireInternalSlot(_O_, [[AmountValue]]).
271271
1. Return _O_.[[AmountValue]].
272272
</emu-alg>
273-
<emu-note>
273+
<emu-note type="editor">
274274
<p>The value may be a Number, BigInt, or String. It is a String when precision options were applied during construction or when the Amount is the result of unit conversion.</p>
275275
</emu-note>
276276
</emu-clause>
@@ -352,7 +352,7 @@ location: https://github.com/tc39/proposal-amount/
352352
1. Set _result_.[[Unit]] to _targetUnit_.
353353
1. Return _result_.
354354
</emu-alg>
355-
<emu-note>
355+
<emu-note type="editor">
356356
<p>An ECMAScript implementation that includes the ECMA-402 Internationalization API supersedes this method to additionally support locale-based and usage-based unit conversion via CLDR unit preferences data. Without ECMA-402, only explicit unit-to-unit conversion (via the *"unit"* option) is supported.</p>
357357
</emu-note>
358358
</emu-clause>

0 commit comments

Comments
 (0)