You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use integer affine transformations for unit conversion
Conversion factors are stored as integer Numerator/Denominator pairs.
ConvertUnitValue combines source and target factors over a common
denominator and delegates to ApplyUnitConversion, which computes
(value × numerator + offset) / denominator using Number arithmetic.
Copy file name to clipboardExpand all lines: intl.emu
+214Lines changed: 214 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -126,6 +126,220 @@
126
126
</emu-clause>
127
127
</emu-clause>
128
128
129
+
<emu-clause id="sec-amount-intl-unit-conversion">
130
+
<h1>Supplemental Unit Conversion Factors</h1>
131
+
<p>The following tables define additional unit conversion factors for locale-specific and regional measurement systems. These tables supplement the Unit Conversion Factors tables defined in the base specification and are searched by GetUnitConversionFactor in the same manner.</p>
0 commit comments