-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Description
This is related to #613 but is not the same issue
This is the reason behind test failures in built-ins/Temporal/Duration/prototype/total/precision-exact-mathematical-values-6 and built-ins/Temporal/Duration/prototype/total/precision-exact-mathematical-values-7.
- Let divisor be the value in the "Length in Nanoseconds" column of the row of Table 21 whose "Value" column contains unit.
- NOTE: The following step cannot be implemented directly using floating-point arithmetic when 𝔽(timeDuration) is not a safe integer. The division can be implemented in C++ with the __float128 type if the compiler supports it, or with software emulation such as in the SoftFP library.
- Return timeDuration / divisor.
cc @nekevss
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done