aboutsummaryrefslogtreecommitdiffstats
path: root/vmArithmeticTestFiller.json
diff options
context:
space:
mode:
authorCJentzsch <jentzsch.software@gmail.com>2015-01-08 22:16:08 +0800
committerCJentzsch <jentzsch.software@gmail.com>2015-01-08 22:16:08 +0800
commitff47384a2ccc3d7d591f30548ab9bd58e53c3bab (patch)
tree3f59aa09a59b04c135dd7a0697c4aeab494421ef /vmArithmeticTestFiller.json
parent8893443939ad2cc25819f0b099d3f0a8c5e50dea (diff)
downloaddexon-solidity-ff47384a2ccc3d7d591f30548ab9bd58e53c3bab.tar.gz
dexon-solidity-ff47384a2ccc3d7d591f30548ab9bd58e53c3bab.tar.zst
dexon-solidity-ff47384a2ccc3d7d591f30548ab9bd58e53c3bab.zip
sdiv with negative fractional result
Diffstat (limited to 'vmArithmeticTestFiller.json')
-rw-r--r--vmArithmeticTestFiller.json28
1 files changed, 28 insertions, 0 deletions
diff --git a/vmArithmeticTestFiller.json b/vmArithmeticTestFiller.json
index fb1fb8dd..0cac0677 100644
--- a/vmArithmeticTestFiller.json
+++ b/vmArithmeticTestFiller.json
@@ -814,6 +814,34 @@
}
},
+ "sdiv4": {
+ "env" : {
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",
+ "currentNumber" : "0",
+ "currentGasLimit" : "1000000",
+ "currentDifficulty" : "256",
+ "currentTimestamp" : 1,
+ "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba"
+ },
+ "pre" : {
+ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : {
+ "balance" : "1000000000000000000",
+ "nonce" : 0,
+ "code" : "{ [[ 0 ]] (SDIV 5 (- 0 4) ) }",
+ "storage": {}
+ }
+ },
+ "exec" : {
+ "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6",
+ "origin" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "caller" : "cd1722f2947def4cf144679da39c4c32bdc35681",
+ "value" : "1000000000000000000",
+ "data" : "",
+ "gasPrice" : "100000000000000",
+ "gas" : "10000"
+ }
+ },
+
"mod0": {
"env" : {
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6",