diff --git a/go/reg-test/cases/case-c-dsl-scientific-notation.sh b/go/reg-test/cases/case-dsl-scientific-notation.sh similarity index 100% rename from go/reg-test/cases/case-c-dsl-scientific-notation.sh rename to go/reg-test/cases/case-dsl-scientific-notation.sh diff --git a/go/reg-test/expected/case-c-dsl-scientific-notation.sh.out b/go/reg-test/expected/case-dsl-scientific-notation.sh.out similarity index 74% rename from go/reg-test/expected/case-c-dsl-scientific-notation.sh.out rename to go/reg-test/expected/case-dsl-scientific-notation.sh.out index 45e2d3827..4ea669000 100644 --- a/go/reg-test/expected/case-c-dsl-scientific-notation.sh.out +++ b/go/reg-test/expected/case-dsl-scientific-notation.sh.out @@ -6,31 +6,31 @@ DSL SCIENTIFIC NOTATION IN FIELD VALUES mlr --opprint put $y=$x+1 ./reg-test/input/scinot.dkvp x y 123 124 -123. 124.000000 -123.4 124.400000 -.234 1.234000 -1e2 101.000000 -1e-2 1.010000 -1.2e3 1201.000000 -1.e3 1001.000000 -1.2e-3 1.001200 -1.e-3 1.001000 -.2e3 201.000000 -.2e-3 1.000200 -1.e-3 1.001000 +123. 124 +123.4 124.4 +.234 1.234 +1e2 101 +1e-2 1.01 +1.2e3 1201 +1.e3 1001 +1.2e-3 1.0012 +1.e-3 1.001 +.2e3 201 +.2e-3 1.0002 +1.e-3 1.001 -123 -122 --123. -122.000000 --123.4 -122.400000 --.234 0.766000 --1e2 -99.000000 --1e-2 0.990000 --1.2e3 -1199.000000 --1.e3 -999.000000 --1.2e-3 0.998800 --1.e-3 0.999000 --.2e3 -199.000000 --.2e-3 0.999800 --1.e-3 0.999000 +-123. -122 +-123.4 -122.4 +-.234 0.766 +-1e2 -99 +-1e-2 0.99 +-1.2e3 -1199 +-1.e3 -999 +-1.2e-3 0.9988 +-1.e-3 0.999 +-.2e3 -199 +-.2e-3 0.9998 +-1.e-3 0.999 ================================================================ @@ -42,51 +42,51 @@ i y mlr --opprint put $y = 123. + $i ./reg-test/input/scinot1.dkvp i y -1 124.000000 +1 124 mlr --opprint put $y = 123.4 + $i ./reg-test/input/scinot1.dkvp i y -1 124.400000 +1 124.4 mlr --opprint put $y = .234 + $i ./reg-test/input/scinot1.dkvp i y -1 1.234000 +1 1.234 mlr --opprint put $y = 1e2 + $i ./reg-test/input/scinot1.dkvp i y -1 101.000000 +1 101 mlr --opprint put $y = 1e-2 + $i ./reg-test/input/scinot1.dkvp i y -1 1.010000 +1 1.01 mlr --opprint put $y = 1.2e3 + $i ./reg-test/input/scinot1.dkvp i y -1 1201.000000 +1 1201 mlr --opprint put $y = 1.e3 + $i ./reg-test/input/scinot1.dkvp i y -1 1001.000000 +1 1001 mlr --opprint put $y = 1.2e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 1.001200 +1 1.0012 mlr --opprint put $y = 1.e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 1.001000 +1 1.001 mlr --opprint put $y = .2e3 + $i ./reg-test/input/scinot1.dkvp i y -1 201.000000 +1 201 mlr --opprint put $y = .2e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 1.000200 +1 1.0002 mlr --opprint put $y = 1.e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 1.001000 +1 1.001 mlr --opprint put $y = -123 + $i ./reg-test/input/scinot1.dkvp i y @@ -94,49 +94,49 @@ i y mlr --opprint put $y = -123. + $i ./reg-test/input/scinot1.dkvp i y -1 -122.000000 +1 -122 mlr --opprint put $y = -123.4 + $i ./reg-test/input/scinot1.dkvp i y -1 -122.400000 +1 -122.4 mlr --opprint put $y = -.234 + $i ./reg-test/input/scinot1.dkvp i y -1 0.766000 +1 0.766 mlr --opprint put $y = -1e2 + $i ./reg-test/input/scinot1.dkvp i y -1 -99.000000 +1 -99 mlr --opprint put $y = -1e-2 + $i ./reg-test/input/scinot1.dkvp i y -1 0.990000 +1 0.99 mlr --opprint put $y = -1.2e3 + $i ./reg-test/input/scinot1.dkvp i y -1 -1199.000000 +1 -1199 mlr --opprint put $y = -1.e3 + $i ./reg-test/input/scinot1.dkvp i y -1 -999.000000 +1 -999 mlr --opprint put $y = -1.2e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 0.998800 +1 0.9988 mlr --opprint put $y = -1.e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 0.999000 +1 0.999 mlr --opprint put $y = -.2e3 + $i ./reg-test/input/scinot1.dkvp i y -1 -199.000000 +1 -199 mlr --opprint put $y = -.2e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 0.999800 +1 0.9998 mlr --opprint put $y = -1.e-3 + $i ./reg-test/input/scinot1.dkvp i y -1 0.999000 +1 0.999