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
This issue exists to collect test cases for eventual propagation into test262.
converting 5 inches to feet should produce a result with a numeric value exactly equal to 5 * (1/12) (0.41666666666666663) (Add baby CAS unit conversion #89 (comment) )
converting 80063993375475600°C to Fahrenheit exposes inner details of Number conversion and arithmetic—using mathematical value arithmetic with a single final conversion to Number produces 144115188075856128𝔽1, while converting operands to Numbers and then using IEEE 754 operations produces 144115188075856096𝔽2 (Add baby CAS unit conversion #89 (review) )
This issue exists to collect test cases for eventual propagation into test262.
5 * (1/12)(0.41666666666666663) (Add baby CAS unit conversion #89 (comment) )Footnotes
𝔽(80063993375475600 × (1 ÷ 5⁄9) + (273.15 − 2298.35÷9)÷5⁄9) = 𝔽(144115188075856112) = 144115188075856128𝔽 ↩
𝔽(80063993375475600)
*𝔽(1 ÷ 5⁄9)+𝔽(273.15 − 2298.35÷9)÷5⁄9) = 𝔽(80063993375475600)*𝔽(1.8)+𝔽(32) = 𝔽(144115188075856080)+𝔽(32) = 𝔽(144115188075856064)+𝔽(32) = 144115188075856096𝔽 ↩