neg
Negate the top variable on the stack Takes the type of the variable as a string
| Identifier | Type | Byte Size |
|---|---|---|
| B | Byte | 1 |
| S | Short | 2 |
| I | Int | 4 |
| J | Long | 8 |
| F | Float | 4 |
| D | Double | 8 |
Since
0.1.0
Parameters
type
The type of the variable to negate
Negate the top variable on the stack Takes the type of the variable as a string
| Identifier | Type | Byte Size |
|---|---|---|
| B | Byte | 1 |
| S | Short | 2 |
| I | Int | 4 |
| J | Long | 8 |
| F | Float | 4 |
| D | Double | 8 |
0.1.0
The type of the variable to negate