-
Notifications
You must be signed in to change notification settings - Fork 2
Devices: Maths
Mathieu Lomax edited this page Aug 10, 2019
·
1 revision

| I/O | Num | Type |
|---|---|---|
| In | 0 | int |
| In | 1 | int |
| Out | 0 | int |
Returns Input1 + Input2.
Returns -1 if either input is not connected.

| I/O | Num | Type |
|---|---|---|
| In | 0 | int |
| In | 1 | int |
| Out | 0 | int |
Returns Input1 - Input2.
Returns -1 if either input is not connected.

| I/O | Num | Type |
|---|---|---|
| In | 0 | int |
| In | 1 | int |
| Out | 0 | int |
Returns Input1 * Input2.
Returns -1 if either input is not connected.

| I/O | Num | Type |
|---|---|---|
| In | 0 | int |
| In | 1 | int |
| Out | 0 | int |
Returns Input1 / Input2.
Returns -1 if either input is not connected.
Returns 0 if Input2 equals 0.

| I/O | Num | Type |
|---|---|---|
| In | 0 | int |
| In | 1 | int |
| Out | 0 | int |
Returns Input1 % Input2.
Returns -1 if either input is not connected.
Returns 0 if Input2 equals 0.