Skip to content

Commit 3f6c72c

Browse files
authored
fix column headers. (#595)
1 parent 30017d6 commit 3f6c72c

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

standard/expressions.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -3212,15 +3212,15 @@ The predefined multiplication operators are listed below. The operators all comp
32123212

32133213
The product is computed according to the rules of IEC 60559 arithmetic. The following table lists the results of all possible combinations of nonzero finite values, zeros, infinities, and NaNs. In the table, `x` and `y` are positive finite values. `z` is the result of `x * y`, rounded to the nearest representable value. If the magnitude of the result is too large for the destination type, `z` is infinity. Because of rounding, `z` may be zero even though neither `x` nor `y` is zero.
32143214

3215-
| | `+y` | `-y` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3216-
| :---- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
3217-
| `+x` | `+z` | `-z` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3218-
| `-x` | `-z` | `+z` | `-0` | `+0` | `-∞` | `+∞` | `NaN` |
3219-
| `+0` | `+0` | `-0` | `+0` | `-0` | `NaN` | `NaN` | `NaN` |
3220-
| `-0` | `-0` | `+0` | `-0` | `+0` | `NaN` | `NaN` | `NaN` |
3221-
| `+∞` | `+∞` | `-∞` | `NaN` | `NaN` | `+∞` | `-∞` | `NaN` |
3222-
| `-∞` | `-∞` | `+∞` | `NaN` | `NaN` | `-∞` | `+∞` | `NaN` |
3223-
| `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
3215+
| | `+y` | `-y` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3216+
| :-------- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
3217+
| **`+x`** | `+z` | `-z` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3218+
| **`-x`** | `-z` | `+z` | `-0` | `+0` | `-∞` | `+∞` | `NaN` |
3219+
| **`+0`** | `+0` | `-0` | `+0` | `-0` | `NaN` | `NaN` | `NaN` |
3220+
| **`-0`** | `-0` | `+0` | `-0` | `+0` | `NaN` | `NaN` | `NaN` |
3221+
| **`+∞`** | `+∞` | `-∞` | `NaN` | `NaN` | `+∞` | `-∞` | `NaN` |
3222+
| **`-∞`** | `-∞` | `+∞` | `NaN` | `NaN` | `-∞` | `+∞` | `NaN` |
3223+
| **`NaN`** | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
32243224

32253225
(Except were otherwise noted, in the floating-point tables in [§11.9.2](expressions.md#1192-multiplication-operator)[§11.9.6](expressions.md#1196-subtraction-operator) the use of “`+`” means the value is positive; the use of “`-`” means the value is negative; and the lack of a sign means the value may be positive or negative or has no sign (NaN).)
32263226
- Decimal multiplication:
@@ -3263,15 +3263,15 @@ The predefined division operators are listed below. The operators all compute th
32633263

32643264
The quotient is computed according to the rules of IEC 60559 arithmetic. The following table lists the results of all possible combinations of nonzero finite values, zeros, infinities, and NaNs. In the table, `x` and `y` are positive finite values. `z` is the result of `x / y`, rounded to the nearest representable value.
32653265

3266-
| | `+y` | `-y` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3267-
| :---- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
3268-
| `+x` | `+z` | `-z` | `+∞` | `-∞` | `+0` | `-0` | `NaN` |
3269-
| `-x` | `-z` | `+z` | `-∞` | `+∞` | `-0` | `+0` | `NaN` |
3270-
| `+0` | `+0` | `-0` | `NaN` | `NaN` | `+0` | `-0` | `NaN` |
3271-
| `-0` | `-0` | `+0` | `NaN` | `NaN` | `-0` | `+0` | `NaN` |
3272-
| `+∞` | `+∞` | `-∞` | `+∞` | `-∞` | `NaN` | `NaN` | `NaN` |
3273-
| `-∞` | `-∞` | `+∞` | `-∞` | `+∞` | `NaN` | `NaN` | `NaN` |
3274-
| `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
3266+
| | `+y` | `-y` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3267+
| :-------- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
3268+
| **`+x`** | `+z` | `-z` | `+∞` | `-∞` | `+0` | `-0` | `NaN` |
3269+
| **`-x`** | `-z` | `+z` | `-∞` | `+∞` | `-0` | `+0` | `NaN` |
3270+
| **`+0`** | `+0` | `-0` | `NaN` | `NaN` | `+0` | `-0` | `NaN` |
3271+
| **`-0`** | `-0` | `+0` | `NaN` | `NaN` | `-0` | `+0` | `NaN` |
3272+
| **`+∞`** | `+∞` | `-∞` | `+∞` | `-∞` | `NaN` | `NaN` | `NaN` |
3273+
| **`-∞`** | `-∞` | `+∞` | `-∞` | `+∞` | `NaN` | `NaN` | `NaN` |
3274+
| **`NaN`** | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
32753275

32763276
- Decimal division:
32773277

@@ -3312,15 +3312,15 @@ The predefined remainder operators are listed below. The operators all compute t
33123312

33133313
The following table lists the results of all possible combinations of nonzero finite values, zeros, infinities, and NaNs. In the table, `x` and `y` are positive finite values. `z` is the result of `x % y` and is computed as `x – n * y`, where n is the largest possible integer that is less than or equal to `x / y`. This method of computing the remainder is analogous to that used for integer operands, but differs from the IEC 60559 definition (in which `n` is the integer closest to `x / y`).
33143314

3315-
| | `+y` | `-y` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3316-
| :---- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
3317-
| `+x` | `+z` | `+z` | `NaN` | `NaN` | `+x` | `+x` | `NaN` |
3318-
| `-x` | `-z` | `-z` | `NaN` | `NaN` | `-x` | `-x` | `NaN` |
3319-
| `+0` | `+0` | `+0` | `NaN` | `NaN` | `+0` | `+0` | `NaN` |
3320-
| `-0` | `-0` | `-0` | `NaN` | `NaN` | `-0` | `-0` | `NaN` |
3321-
| `+∞` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
3322-
| `-∞` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
3323-
| `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
3315+
| | `+y` | `-y` | `+0` | `-0` | `+∞` | `-∞` | `NaN` |
3316+
| :-------- | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
3317+
| **`+x`** | `+z` | `+z` | `NaN` | `NaN` | `+x` | `+x` | `NaN` |
3318+
| **`-x`** | `-z` | `-z` | `NaN` | `NaN` | `-x` | `-x` | `NaN` |
3319+
| **`+0`** | `+0` | `+0` | `NaN` | `NaN` | `+0` | `+0` | `NaN` |
3320+
| **`-0`** | `-0` | `-0` | `NaN` | `NaN` | `-0` | `-0` | `NaN` |
3321+
| **`+∞`** | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
3322+
| **`-∞`** | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
3323+
| **`NaN`** | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` | `NaN` |
33243324

33253325
- Decimal remainder:
33263326

0 commit comments

Comments
 (0)