File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1439,7 +1439,10 @@ <h3 id=calc><span class=secno>9.1. </span> Mathematical Expressions:
14391439 </ ul >
14401440
14411441 < p > If an operator does not pass the above checks, the expression is
1442- invalid. Also, division by zero is invalid.
1442+ invalid. Also, division by zero is invalid. This includes both dividing by
1443+ the literal number zero, as well as any numeric expression that evaluates
1444+ to zero (as purely-numeric expressions can be evaluated without any
1445+ additional information at parse time).
14431446
14441447 < p > The value resulting from an expression must be clamped to the range
14451448 allowed in the target context.
Original file line number Diff line number Diff line change @@ -984,7 +984,10 @@ <h3 id="calc">
984984 </ ul >
985985
986986 < p > If an operator does not pass the above checks, the expression is invalid.
987- Also, division by zero is invalid.</ p >
987+ Also, division by zero is invalid. This includes both dividing by the
988+ literal number zero, as well as any numeric expression that evaluates to zero
989+ (as purely-numeric expressions can be evaluated without any additional
990+ information at parse time).</ p >
988991
989992 < p > The value resulting from an expression must be clamped to the
990993 range allowed in the target context.
You can’t perform that action at this time.
0 commit comments