« Bugzilla Issues Index

#1805 — Math.{imul,roundFloat32} should not use numbering

For consistency with the other Math functions, the steps should be a bullet list instead of numbering.


No, because Math.imul and Math.roundFloat32 are each defined by an algorithm.

Each of the other Math functions is generally an implementation-dependent approximation to an abstract mathematical function, and the bullet points are merely constraints that the approximation must satisfy.

See the Note in 15.8.2.

I agree with Michael, algorithms are appropriate for these functions.

*** Bug 2133 has been marked as a duplicate of this bug. ***