Skip to content

Commit f447c4c

Browse files
authored
Merge pull request #6 from whirlicote/patch-2
remove sign functions
2 parents f8a7555 + c191117 commit f447c4c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

proposals/rounding-mode-control/Overview.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,10 @@ There are other options for rounding namely:
4545
|floor|take the neighbour that is less|
4646
|trunc|take the number that is closer to zero|
4747

48-
This proposal proposes to extend the matrix of floating point instructions by combining them with a new dimension called a rounding variant. But the first 4 instructions in the table below are for the purposes of branch preparation as concerns most the important use case, that being interval arithmetic. This results in the following new instructions:
48+
This proposal proposes to extend the matrix of floating point instructions by combining them with a new dimension called a rounding variant. This results in the following new instructions:
4949

5050
|prefix|opcode|opcode binary|name | pretty string |
5151
|------|-------|--------------|----------------------|---------------------|
52-
| 0xFC | 0x1C | 0b00011100 | f32.binary_sign | binary_sign |
53-
| 0xFC | 0x1D | 0b00011101 | i32.trinary_sign_f32 | trinary_sign_f32 |
54-
| 0xFC | 0x1E | 0b00011110 | f64.binary_sign | binary_sign |
55-
| 0xFC | 0x1F | 0b00011111 | i32.trinary_sign_f64 | trinary_sign_f64 |
5652
| 0xFC | 0x20 | 0b00100000 | f32.sqrt_ceil | sqrt_ceil |
5753
| 0xFC | 0x21 | 0b00100001 | f32.add_ceil | +_ceil |
5854
| 0xFC | 0x22 | 0b00100010 | f32.sub_ceil | -_ceil |

0 commit comments

Comments
 (0)