Skip to content

Commit

Permalink
changing n/a to 'x' in uint256 support of operations
Browse files Browse the repository at this point in the history
  • Loading branch information
eshelB committed Sep 22, 2024
1 parent 7c67312 commit 36c6ba5
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions docs/devdocs/Writing Smart Contracts/Types-and-Operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,25 +112,25 @@ g { color: Green }

| Name | FHE.sol function | Operator | euint8 | euint16 | euint32 | euint64 | euint128 | euint256 | ebool | eaddress |
|-----------------------|------------------|:--------:|:------:|:-------:|:-------:|:-------:|:--------:|:--------:|:-----:|:--------:|
| Addition | add | + | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Subtraction | sub | - | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Multiplication | mul | \* | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a | n/a |
| Bitwise And | and | & | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | <g>✔ | n/a |
| Bitwise Or | or | \| | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | <g>✔ | n/a |
| Bitwise Xor | xor | ^ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | <g>✔ | n/a |
| Division | div | / | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <r>✘ | n/a | n/a | n/a |
| Remainder | rem | % | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <r>✘ | n/a | n/a | n/a |
| Shift Right | shr | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Shift Left | shl | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Addition | add | + | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Subtraction | sub | - | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Multiplication | mul | \* | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <r>✘ | n/a | n/a |
| Bitwise And | and | & | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <g>✔ | n/a |
| Bitwise Or | or | \| | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <g>✔ | n/a |
| Bitwise Xor | xor | ^ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <g>✔ | n/a |
| Division | div | / | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <r>✘ | <r>✘ | n/a | n/a |
| Remainder | rem | % | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <r>✘ | <r>✘ | n/a | n/a |
| Shift Right | shr | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Shift Left | shl | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Equal | eq | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ |
| Not equal | ne | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ |
| Greater than or equal | gte | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Greater than | gt | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Less than or equal | lte | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Less than | lt | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Min | min | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Max | max | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | n/a | n/a |
| Not | not | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | n/a | <g>✔ | n/a |
| Greater than or equal | gte | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Greater than | gt | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Less than or equal | lte | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Less than | lt | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Min | min | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Max | max | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | n/a | n/a |
| Not | not | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <r>✘ | <g>✔ | n/a |
| Select | select | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ |
| Require | req | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ |
| Decrypt | decrypt | n/a | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ | <g>✔ |
Expand Down

0 comments on commit 36c6ba5

Please sign in to comment.