we should support negative exponents
This commit is contained in:
parent
1859434d90
commit
c1e24d27d3
1 changed files with 10 additions and 0 deletions
10
tests.json
10
tests.json
|
|
@ -129,6 +129,11 @@
|
||||||
"ftime": 1755570334.5242145,
|
"ftime": 1755570334.5242145,
|
||||||
"output": "9 \n"
|
"output": "9 \n"
|
||||||
},
|
},
|
||||||
|
"(1 / 2) ** 10": {
|
||||||
|
"exit": 0,
|
||||||
|
"ftime": 1755570695.8318465,
|
||||||
|
"output": "???"
|
||||||
|
},
|
||||||
"(1 @": {
|
"(1 @": {
|
||||||
"exit": 1,
|
"exit": 1,
|
||||||
"ftime": 1755570366.9972131,
|
"ftime": 1755570366.9972131,
|
||||||
|
|
@ -979,6 +984,11 @@
|
||||||
"ftime": 1755486329.9161963,
|
"ftime": 1755486329.9161963,
|
||||||
"output": "error: cannot exponentiate beyond ULONG_MAX\n"
|
"output": "error: cannot exponentiate beyond ULONG_MAX\n"
|
||||||
},
|
},
|
||||||
|
"2 ** -10": {
|
||||||
|
"exit": 0,
|
||||||
|
"ftime": 1755570705.632582,
|
||||||
|
"output": "???"
|
||||||
|
},
|
||||||
"2 ** -100": {
|
"2 ** -100": {
|
||||||
"exit": 0,
|
"exit": 0,
|
||||||
"ftime": 1755485912.92433,
|
"ftime": 1755485912.92433,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue