@@ -3114,7 +3114,7 @@ Type Checking</h3>
3114
3114
and between nested calculations:
3115
3115
3116
3116
* Negative zero
3117
- (0<sup> - </sup> )
3117
+ (0<sup> − </sup> )
3118
3118
can be produced literally by negating a zero
3119
3119
(''-0'' ),
3120
3120
or by a multiplication or division that produces zero
@@ -3131,41 +3131,41 @@ Type Checking</h3>
3131
3131
they're "censored" away into an "unsigned" zero.
3132
3132
* ''-0 + -0''
3133
3133
or ''-0 - 0''
3134
- produces 0<sup> - </sup> .
3134
+ produces 0<sup> − </sup> .
3135
3135
All other additions or subtractions that would produce a zero
3136
3136
produce 0<sup> +</sup> .
3137
- * Multiplying or dividing 0<sup> - </sup> with a positive number
3137
+ * Multiplying or dividing 0<sup> − </sup> with a positive number
3138
3138
(including 0<sup> +</sup> )
3139
3139
produces a negative result
3140
- (either 0<sup> - </sup> or −∞),
3141
- while multiplying or dividing 0<sup> - </sup> with a negative number
3140
+ (either 0<sup> − </sup> or −∞),
3141
+ while multiplying or dividing 0<sup> − </sup> with a negative number
3142
3142
produces a positive result.
3143
3143
3144
3144
(In other words,
3145
- multiplying or dividing with 0<sup> - </sup>
3145
+ multiplying or dividing with 0<sup> − </sup>
3146
3146
follows standard sign rules.)
3147
- * When comparing 0<sup> +</sup> and 0<sup> - </sup> ,
3148
- 0<sup> - </sup> is less than 0<sup> +</sup> .
3149
- For example, ''min(0, -0)'' must produce 0<sup> - </sup> ,
3147
+ * When comparing 0<sup> +</sup> and 0<sup> − </sup> ,
3148
+ 0<sup> − </sup> is less than 0<sup> +</sup> .
3149
+ For example, ''min(0, -0)'' must produce 0<sup> − </sup> ,
3150
3150
''max(0, -0)'' must produce 0<sup> +</sup> ,
3151
3151
and ''clamp(0, -0, 1)'' must produce 0<sup> +</sup> .
3152
3152
3153
3153
If a <dfn export>top-level calculation</dfn>
3154
3154
(a [=math function=] not nested inside of another [=math function=] )
3155
3155
would produce a NaN,
3156
3156
it instead produces +∞.
3157
- If a [=top-level calculation=] would produce 0<sup> - </sup> ,
3157
+ If a [=top-level calculation=] would produce 0<sup> − </sup> ,
3158
3158
it instead produces the standard "unsigned" zero.
3159
3159
3160
3160
<div class=example>
3161
3161
For example, ''calc(-5 * 0)'' produces an unsigned zero--
3162
- the calculation resolves to 0<sup> - </sup> ,
3162
+ the calculation resolves to 0<sup> − </sup> ,
3163
3163
but as it's a [=top-level calculation=] ,
3164
3164
it's then censored to an unsigned zero.
3165
3165
3166
3166
On the other hand, ''calc(1 / calc(-5 * 0))'' produces −∞,
3167
3167
same as ''calc(1 / (-5 * 0))'' --
3168
- the inner calc resolves to 0<sup> - </sup> ,
3168
+ the inner calc resolves to 0<sup> − </sup> ,
3169
3169
and as it's not a [=top-level calculation=] ,
3170
3170
it passes it up unchanged to the outer calc to produce −∞.
3171
3171
If it was censored into an unsigned zero,
0 commit comments