diff options
-rw-r--r-- | desktop/core/library/a.js | 4 | ||||
-rw-r--r-- | desktop/core/library/f.js | 4 | ||||
-rw-r--r-- | desktop/core/library/i.js | 4 | ||||
-rw-r--r-- | desktop/core/library/m.js | 4 | ||||
-rw-r--r-- | desktop/core/library/r.js | 4 | ||||
-rw-r--r-- | examples/benchmark.orca | 14 |
6 files changed, 17 insertions, 17 deletions
diff --git a/desktop/core/library/a.js b/desktop/core/library/a.js index ed23246..6146cee 100644 --- a/desktop/core/library/a.js +++ b/desktop/core/library/a.js @@ -8,8 +8,8 @@ function OperatorA (orca, x, y, passive) { this.name = 'add' this.info = 'Outputs the sum of inputs.' - this.ports.input.a = { x: 1, y: 0 } - this.ports.input.b = { x: 2, y: 0 } + this.ports.input.a = { x: -1, y: 0 } + this.ports.input.b = { x: 1, y: 0 } this.ports.output = { x: 0, y: 1 } this.run = function () { diff --git a/desktop/core/library/f.js b/desktop/core/library/f.js index f9b3ae2..a474b93 100644 --- a/desktop/core/library/f.js +++ b/desktop/core/library/f.js @@ -8,8 +8,8 @@ function OperatorF (orca, x, y, passive) { this.name = 'if' this.info = 'Bangs if both inputs are equal.' - this.ports.input.a = { x: 1, y: 0 } - this.ports.input.b = { x: 2, y: 0 } + this.ports.input.a = { x: -1, y: 0 } + this.ports.input.b = { x: 1, y: 0 } this.ports.output = { x: 0, y: 1 } this.run = function () { diff --git a/desktop/core/library/i.js b/desktop/core/library/i.js index 7f6117a..1859a79 100644 --- a/desktop/core/library/i.js +++ b/desktop/core/library/i.js @@ -8,8 +8,8 @@ function OperatorI (orca, x, y, passive) { this.name = 'increment' this.info = 'Increments southward operator.' - this.ports.input.min = { x: 1, y: 0 } - this.ports.input.max = { x: 2, y: 0 } + this.ports.input.min = { x: -1, y: 0 } + this.ports.input.max = { x: 1, y: 0 } this.ports.output = { x: 0, y: 1 } this.run = function () { diff --git a/desktop/core/library/m.js b/desktop/core/library/m.js index 4b54a79..656ee2f 100644 --- a/desktop/core/library/m.js +++ b/desktop/core/library/m.js @@ -8,8 +8,8 @@ function OperatorM (orca, x, y, passive) { this.name = 'modulo' this.info = 'Outputs the modulo of input.' - this.ports.input.val = { x: 1, y: 0 } - this.ports.input.mod = { x: 2, y: 0 } + this.ports.input.val = { x: -1, y: 0 } + this.ports.input.mod = { x: 1, y: 0 } this.ports.output = { x: 0, y: 1 } this.run = function () { diff --git a/desktop/core/library/r.js b/desktop/core/library/r.js index 49e48e9..6e9b225 100644 --- a/desktop/core/library/r.js +++ b/desktop/core/library/r.js @@ -8,8 +8,8 @@ function OperatorR (orca, x, y, passive) { this.name = 'random' this.info = 'Outputs a random value.' - this.ports.input.min = { x: 1, y: 0 } - this.ports.input.max = { x: 2, y: 0 } + this.ports.input.min = { x: -1, y: 0 } + this.ports.input.max = { x: 1, y: 0 } this.ports.output = { x: 0, y: 1 } this.run = function () { diff --git a/examples/benchmark.orca b/examples/benchmark.orca index 11a24b7..d4bc9a4 100644 --- a/examples/benchmark.orca +++ b/examples/benchmark.orca @@ -2,16 +2,16 @@ .#.BENCHMARK.#........................... ......................................... .8C8.............C8...................... -..38T012AGag.....68T012AGag.............. -..aVA............bVg..................... +..38T012AGag.....08T012AGag.............. +..aVA............bV0..................... ......................................... -..2Kab..2Kab..2Kab..2Kab..2Kab........... -...AAg...FAg...IAg...MAg...RAg........... -...q...........a.....a.....f............. +.3Ka.b.3Ka.b.3Ka.b.3Ka.b.3Ka.b........... +...AA0...AF0...AI0...AM0...AR0........... +....A...........9.....0.....A............ ......................................... .3Ka.b.3Ka.b............................. -...ACg...ADg............................. -....c.................................... +...AC0...AD0............................. +....0.................................... ......................................... ......................................... .........................................
\ No newline at end of file |