diff --git a/scripts/dectest.jl b/scripts/dectest.jl index 83c5e16..801b563 100644 --- a/scripts/dectest.jl +++ b/scripts/dectest.jl @@ -1,47 +1,109 @@ -function _precision(line) +function (@main)(args=ARGS) + name, dectest_path, output_path = args + + open(output_path, "w") do io + println(io, """ + using Decimals + using Test + using Decimals: @with_context + + @testset \"$name\" begin""") + + translate(io, dectest_path) + + println(io, "end") + end +end + +function translate(io, dectest_path) + directives = Dict{Symbol, Any}() + + for line in eachline(dectest_path) + line = strip(line) + + isempty(line) && continue + startswith(line, "--") && continue + + line = lowercase(line) + + if startswith(line, "version:") + # ... + elseif startswith(line, "extended:") + # ... + elseif startswith(line, "clamp:") + # ... + elseif startswith(line, "precision:") + directives[:precision] = parse_precision(line) + elseif startswith(line, "rounding:") + directives[:rounding] = parse_rounding(line) + elseif startswith(line, "maxexponent:") + directives[:Emax] = parse_maxexponent(line) + elseif startswith(line, "minexponent:") + directives[:Emin] = parse_minexponent(line) + else + if directives[:rounding] == RoundingMode{:Unsupported} + continue + end + + test = parse_test(line) + any(isspecial, test.operands) && continue + isspecial(test.result) && continue + + dectest = decimal_test(test, directives) + println(io, dectest) + end + end +end + +function isspecial(value) + value = lowercase(value) + return occursin(r"(inf|nan|#|\?)", value) +end + +function parse_precision(line) m = match(r"^precision:\s*(\d+)$", line) isnothing(m) && throw(ArgumentError(line)) return parse(Int, m[1]) end -function _rounding(line) +function parse_rounding(line) m = match(r"^rounding:\s*(\w+)$", line) isnothing(m) && throw(ArgumentError(line)) r = m[1] if r == "ceiling" - return "RoundUp" + return RoundUp elseif r == "down" - return "RoundToZero" + return RoundToZero elseif r == "floor" - return "RoundDown" + return RoundDown elseif r == "half_even" - return "RoundNearest" + return RoundNearest elseif r == "half_up" - return "RoundNearestTiesAway" + return RoundNearestTiesAway elseif r == "up" - return "RoundFromZero" + return RoundFromZero elseif r == "half_down" - return "RoundHalfDownUnsupported" + return RoundingMode{:Unsupported} elseif r == "05up" - return "Round05UpUnsupported" + return RoundingMode{:Unsupported} else throw(ArgumentError(r)) end end -function _maxexponent(line) +function parse_maxexponent(line) m = match(r"^maxexponent:\s*\+?(\d+)$", line) isnothing(m) && throw(ArgumentError(line)) return parse(Int, m[1]) end -function _minexponent(line) +function parse_minexponent(line) m = match(r"^minexponent:\s*(-\d+)$", line) isnothing(m) && throw(ArgumentError(line)) return parse(Int, m[1]) end -function _test(line) +function parse_test(line) occursin("->", line) || throw(ArgumentError(line)) lhs, rhs = split(line, "->") id, operation, operands... = split(lhs) @@ -50,134 +112,97 @@ function _test(line) return (;id, operation, operands, result, conditions) end -function decimal(x) +function clean(@nospecialize ex) + if isa(ex, Expr) + if Meta.isexpr(ex, :macrocall) + return Expr(:macrocall, ex.args[1], nothing, map(clean, ex.args[3:end])...) + else + return Expr(ex.head, map(clean, ex.args)...) + end + elseif isa(ex, LineNumberNode) + return nothing + else + return ex + end +end + +function decimal_test(test, directives) + ctxt = decimal_context(directives) + op = decimal_operation(test.operation, test.operands) + res = operation_result(test.operation, test.result) + + if :overflow in test.conditions + ex = :(@with_context($ctxt, @test_throws OverflowError $op)) + elseif :division_undefined in test.conditions + ex = :(@with_context($ctxt, @test_throws UndefinedDivisionError $op)) + elseif :division_by_zero in test.conditions + ex = :(@with_context($ctxt, @test_throws DivisionByZeroError $op)) + else + ex = :(@with_context($ctxt, @test $op == $(res))) + end + return clean(ex) +end + +function dec(x) x = strip(x, ['\'', '\"']) - return "dec\"$x\"" + return :(@dec_str $("$x")) +end + +function decimal_context(directives) + names = Tuple(sort!(collect(keys(directives)))) + values = Tuple([directives[name] for name in names]) + params = NamedTuple{names}(values) + return params +end + +function operation_result(operation, result) + if operation == "compare" + return parse(Int, result) + else + return dec(result) + end end -function print_operation(io, operation, operands) +function decimal_operation(operation, operands) if operation == "abs" - print_abs(io, operands...) + return decimal_abs(operands...) elseif operation == "add" - print_add(io, operands...) + return decimal_add(operands...) elseif operation == "apply" - print_apply(io, operands...) + return decimal_apply(operands...) elseif operation == "compare" - print_compare(io, operands...) + return decimal_compare(operands...) elseif operation == "divide" - print_divide(io, operands...) + return decimal_divide(operands...) elseif operation == "max" - print_max(io, operands...) + return decimal_max(operands...) elseif operation == "min" - print_min(io, operands...) + return decimal_min(operands...) elseif operation == "minus" - print_minus(io, operands...) + return decimal_minus(operands...) elseif operation == "multiply" - print_multiply(io, operands...) + return decimal_multiply(operands...) elseif operation == "plus" - print_plus(io, operands...) + return decimal_plus(operands...) elseif operation == "reduce" - print_reduce(io, operands...) + return decimal_reduce(operands...) elseif operation == "subtract" - print_subtract(io, operands...) + return decimal_subtract(operands...) else throw(ArgumentError(operation)) end end -print_abs(io, x) = print(io, "abs(", decimal(x), ")") -print_add(io, x, y) = print(io, decimal(x), " + ", decimal(y)) -print_apply(io, x) = print(io, decimal(x)) -print_compare(io, x, y) = print(io, "cmp(", decimal(x), ", ", decimal(y), ")") -print_divide(io, x, y) = print(io, decimal(x), " / ", decimal(y)) -print_max(io, x, y) = print(io, "max(", decimal(x), ", ", decimal(y), ")") -print_min(io, x, y) = print(io, "min(", decimal(x), ", ", decimal(y), ")") -print_minus(io, x) = print(io, "-(", decimal(x), ")") -print_multiply(io, x, y) = print(io, decimal(x), " * ", decimal(y)) -print_plus(io, x) = print(io, "+(", decimal(x), ")") -print_reduce(io, x) = print(io, "reduce(", decimal(x), ")") -print_subtract(io, x, y) = print(io, decimal(x), " - ", decimal(y)) - -function print_test(io, test, directives) - println(io, " # $(test.id)") - - names = sort!(collect(keys(directives))) - params = join(("$k=$(directives[k])" for k in names), ", ") - print(io, " @with_context ($params) ") - - if :overflow ∈ test.conditions - print(io, "@test_throws OverflowError ") - print_operation(io, test.operation, test.operands) - println(io) - elseif :division_undefined ∈ test.conditions - print(io, "@test_throws UndefinedDivisionError ") - print_operation(io, test.operation, test.operands) - println(io) - elseif :division_by_zero ∈ test.conditions - print(io, "@test_throws DivisionByZeroError ") - print_operation(io, test.operation, test.operands) - println(io) - else - print(io, "@test ") - print_operation(io, test.operation, test.operands) - print(io, " == ") - println(io, decimal(test.result)) - end -end - -function isspecial(value) - value = lowercase(value) - return occursin(r"(inf|nan|#)", value) -end -function translate(io, dectest_path) - directives = Dict{String, Any}() - - for line in eachline(dectest_path) - line = strip(line) - - isempty(line) && continue - startswith(line, "--") && continue - - line = lowercase(line) - - if startswith(line, "version:") - # ... - elseif startswith(line, "extended:") - # ... - elseif startswith(line, "clamp:") - # ... - elseif startswith(line, "precision:") - directives["precision"] = _precision(line) - elseif startswith(line, "rounding:") - directives["rounding"] = _rounding(line) - elseif startswith(line, "maxexponent:") - directives["Emax"] = _maxexponent(line) - elseif startswith(line, "minexponent:") - directives["Emin"] = _minexponent(line) - else - test = _test(line) - any(isspecial, test.operands) && continue - occursin("Unsupported", directives["rounding"]) && continue - print_test(io, test, directives) - end - end -end - -function (@main)(args=ARGS) - name, dectest_path, output_path = args - - open(output_path, "w") do io - println(io, """ - using Decimals - using ScopedValues - using Test - using Decimals: @with_context - - @testset \"$name\" begin""") - - translate(io, dectest_path) - - println(io, "end") - end -end +decimal_abs(x) = :(abs($(dec(x)))) +decimal_add(x, y) = :($(dec(x)) + $(dec(y))) +decimal_apply(x) = dec(x) +decimal_compare(x, y) = :(cmp($(dec(x)), $(dec(y)))) +decimal_divide(x, y) = :($(dec(x)) / $(dec(y))) +decimal_max(x, y) = :(max($(dec(x)), $(dec(y)))) +decimal_min(x, y) = :(min($(dec(x)), $(dec(y)))) +decimal_minus(x) = :(-($(dec(x)))) +decimal_multiply(x, y) = :($(dec(x)) * $(dec(y))) +decimal_plus(x) = :(+($(dec(x)))) +decimal_reduce(x) = :(normalize($(dec(x)))) +decimal_subtract(x, y) = :($(dec(x)) - $(dec(y))) diff --git a/test/dectests/test_abs.jl b/test/dectests/test_abs.jl index 99ac8d2..50cc048 100644 --- a/test/dectests/test_abs.jl +++ b/test/dectests/test_abs.jl @@ -1,167 +1,85 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Abs" begin - # absx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"1") == dec"1" - # absx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-1") == dec"1" - # absx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"1.00") == dec"1.00" - # absx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-1.00") == dec"1.00" - # absx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"0") == dec"0" - # absx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"0.00") == dec"0.00" - # absx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"00.0") == dec"0.0" - # absx008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"00.00") == dec"0.00" - # absx009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"00") == dec"0" - # absx010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-2") == dec"2" - # absx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"2") == dec"2" - # absx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-2.00") == dec"2.00" - # absx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"2.00") == dec"2.00" - # absx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-0") == dec"0" - # absx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-0.00") == dec"0.00" - # absx016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-00.0") == dec"0.0" - # absx017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-00.00") == dec"0.00" - # absx018 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-00") == dec"0" - # absx020 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-2000000") == dec"2000000" - # absx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"2000000") == dec"2000000" - # absx022 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test abs(dec"-2000000") == dec"2000000" - # absx023 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test abs(dec"2000000") == dec"2000000" - # absx024 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test abs(dec"-2000000") == dec"2.00000e+6" - # absx025 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test abs(dec"2000000") == dec"2.00000e+6" - # absx026 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-2000000") == dec"2.00e+6" - # absx027 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"2000000") == dec"2.00e+6" - # absx030 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"+0.1") == dec"0.1" - # absx031 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.1") == dec"0.1" - # absx032 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"+0.01") == dec"0.01" - # absx033 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.01") == dec"0.01" - # absx034 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"+0.001") == dec"0.001" - # absx035 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.001") == dec"0.001" - # absx036 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"+0.000001") == dec"0.000001" - # absx037 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.000001") == dec"0.000001" - # absx038 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"+0.000000000001") == dec"1e-12" - # absx039 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.000000000001") == dec"1e-12" - # absx040 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"2.1") == dec"2.1" - # absx041 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-100") == dec"100" - # absx042 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"101.5") == dec"101.5" - # absx043 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-101.5") == dec"101.5" - # absx060 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-56267e-10") == dec"0.0000056267" - # absx061 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-56267e-5") == dec"0.56267" - # absx062 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-56267e-2") == dec"562.67" - # absx063 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-56267e-1") == dec"5626.7" - # absx065 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"-56267e-0") == dec"56267" - # absx120 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError abs(dec"9.999e+999999999") - # absx210 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"1.00e-999") == dec"1.00e-999" - # absx211 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.1e-999") == dec"1e-1000" - # absx212 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.10e-999") == dec"1.0e-1000" - # absx213 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.100e-999") == dec"1.0e-1000" - # absx214 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.01e-999") == dec"1e-1001" - # absx215 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.999e-999") == dec"1.00e-999" - # absx216 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.099e-999") == dec"1.0e-1000" - # absx217 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.009e-999") == dec"1e-1001" - # absx218 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.001e-999") == dec"0e-1001" - # absx219 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.0009e-999") == dec"0e-1001" - # absx220 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"0.0001e-999") == dec"0e-1001" - # absx230 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-1.00e-999") == dec"1.00e-999" - # absx231 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.1e-999") == dec"1e-1000" - # absx232 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.10e-999") == dec"1.0e-1000" - # absx233 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.100e-999") == dec"1.0e-1000" - # absx234 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.01e-999") == dec"1e-1001" - # absx235 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.999e-999") == dec"1.00e-999" - # absx236 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.099e-999") == dec"1.0e-1000" - # absx237 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.009e-999") == dec"1e-1001" - # absx238 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.001e-999") == dec"0e-1001" - # absx239 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.0009e-999") == dec"0e-1001" - # absx240 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test abs(dec"-0.0001e-999") == dec"0e-1001" - # absx301 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"12345678000") == dec"1.23456780e+10" - # absx302 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"1234567800") == dec"1.23456780e+9" - # absx303 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"1234567890") == dec"1.23456789e+9" - # absx304 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"1234567891") == dec"1.23456789e+9" - # absx305 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"12345678901") == dec"1.23456789e+10" - # absx306 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test abs(dec"1234567896") == dec"1.23456790e+9" - # absx321 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test abs(dec"12345678000") == dec"12345678000" - # absx322 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test abs(dec"1234567800") == dec"1234567800" - # absx323 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test abs(dec"1234567890") == dec"1234567890" - # absx324 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test abs(dec"1234567891") == dec"1234567891" - # absx325 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test abs(dec"12345678901") == dec"12345678901" - # absx326 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test abs(dec"1234567896") == dec"1234567896" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1.00") == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-1.00") == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"00.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"00.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"00") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-2.00") == dec"2.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"2.00") == dec"2.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-00.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-00.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-00") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-2000000") == dec"2.00000e+6") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"2000000") == dec"2.00000e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-2000000") == dec"2.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"2000000") == dec"2.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"+0.1") == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.1") == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"+0.01") == dec"0.01") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.01") == dec"0.01") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"+0.001") == dec"0.001") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.001") == dec"0.001") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"+0.000001") == dec"0.000001") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.000001") == dec"0.000001") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"+0.000000000001") == dec"1e-12") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.000000000001") == dec"1e-12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"2.1") == dec"2.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-100") == dec"100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"101.5") == dec"101.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-101.5") == dec"101.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-56267e-10") == dec"0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-56267e-5") == dec"0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-56267e-2") == dec"562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-56267e-1") == dec"5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-56267e-0") == dec"56267") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1.00e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.1e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.10e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.100e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.01e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.999e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.099e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.009e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.0009e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"0.0001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-1.00e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.1e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.10e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.100e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.01e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.999e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.099e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.009e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.0009e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"-0.0001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"12345678000") == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567800") == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567890") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567891") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"12345678901") == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567896") == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"12345678000") == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567800") == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567890") == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567891") == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"12345678901") == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(abs(dec"1234567896") == dec"1234567896") end diff --git a/test/dectests/test_add.jl b/test/dectests/test_add.jl index d958dfd..5b4bef4 100644 --- a/test/dectests/test_add.jl +++ b/test/dectests/test_add.jl @@ -1,3737 +1,1839 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Add" begin - # addx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"1" == dec"2" - # addx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" + dec"3" == dec"5" - # addx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5.75" + dec"3.3" == dec"9.05" - # addx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" + dec"-3" == dec"2" - # addx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5" + dec"-3" == dec"-8" - # addx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-7" + dec"2.5" == dec"-4.5" - # addx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.7" + dec"0.3" == dec"1.0" - # addx008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.25" + dec"1.25" == dec"2.50" - # addx009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.23456789" + dec"1.00000000" == dec"2.23456789" - # addx010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.23456789" + dec"1.00000011" == dec"2.23456800" - # addx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444" + dec"0.5555555555" == dec"1.00000000" - # addx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444440" + dec"0.5555555555" == dec"1.00000000" - # addx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444" + dec"0.5555555550" == dec"0.999999999" - # addx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.44444444449" + dec"0" == dec"0.444444444" - # addx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.444444444499" + dec"0" == dec"0.444444444" - # addx016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444999" + dec"0" == dec"0.444444444" - # addx017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444445000" + dec"0" == dec"0.444444445" - # addx018 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444445001" + dec"0" == dec"0.444444445" - # addx019 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.444444444501" + dec"0" == dec"0.444444445" - # addx020 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.44444444451" + dec"0" == dec"0.444444445" - # addx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"1" == dec"1" - # addx022 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"1" == dec"2" - # addx023 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" + dec"1" == dec"3" - # addx024 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" + dec"1" == dec"4" - # addx025 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"4" + dec"1" == dec"5" - # addx026 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" + dec"1" == dec"6" - # addx027 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"6" + dec"1" == dec"7" - # addx028 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"7" + dec"1" == dec"8" - # addx029 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"8" + dec"1" == dec"9" - # addx030 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9" + dec"1" == dec"10" - # addx031 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" + dec"0.0000" == dec"0.9998" - # addx032 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" + dec"0.0001" == dec"0.9999" - # addx033 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" + dec"0.0002" == dec"1.0000" - # addx034 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" + dec"0.0003" == dec"1.0001" - # addx035 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"70" + dec"10000e+9" == dec"1.00000000e+13" - # addx036 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"700" + dec"10000e+9" == dec"1.00000000e+13" - # addx037 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"7000" + dec"10000e+9" == dec"1.00000000e+13" - # addx038 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"70000" + dec"10000e+9" == dec"1.00000001e+13" - # addx039 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"700000" + dec"10000e+9" == dec"1.00000007e+13" - # addx040 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"70" == dec"1.00000000e+13" - # addx041 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"700" == dec"1.00000000e+13" - # addx042 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"7000" == dec"1.00000000e+13" - # addx044 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"70000" == dec"1.00000001e+13" - # addx045 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"700000" == dec"1.00000007e+13" - # addx046 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"7" == dec"10000000000007" - # addx047 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"70" == dec"10000000000070" - # addx048 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"700" == dec"10000000000700" - # addx049 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"7000" == dec"10000000007000" - # addx050 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"70000" == dec"10000000070000" - # addx051 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"700000" == dec"10000000700000" - # addx052 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"7000000" == dec"10000007000000" - # addx053 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"12" + dec"7.00" == dec"19.00" - # addx054 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1.3" + dec"-1.07" == dec"0.23" - # addx055 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1.3" + dec"-1.30" == dec"0.00" - # addx056 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1.3" + dec"-2.07" == dec"-0.77" - # addx057 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+2" + dec"1e+4" == dec"1.01e+4" - # addx060 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"10000e+9" + dec"70000" == dec"1.00000e+13" - # addx061 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.0001" == dec"1.0001" - # addx062 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.00001" == dec"1.00001" - # addx063 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.000001" == dec"1.00000" - # addx064 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.0000001" == dec"1.00000" - # addx065 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.00000001" == dec"1.00000" - # addx070 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0" == dec"1" - # addx071 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0." == dec"1" - # addx072 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec".0" == dec"1.0" - # addx073 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.0" == dec"1.0" - # addx074 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.00" == dec"1.00" - # addx075 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"0" + dec"1" == dec"1" - # addx076 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"0." + dec"1" == dec"1" - # addx077 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec".0" + dec"1" == dec"1.0" - # addx078 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"0.0" + dec"1" == dec"1.0" - # addx079 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"0.00" + dec"1" == dec"1.00" - # addx080 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999998" + dec"1" == dec"999999999" - # addx081 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999999" + dec"1" == dec"1.00000000e+9" - # addx082 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"99999999" + dec"1" == dec"100000000" - # addx083 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9999999" + dec"1" == dec"10000000" - # addx084 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999" + dec"1" == dec"1000000" - # addx085 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"99999" + dec"1" == dec"100000" - # addx086 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9999" + dec"1" == dec"10000" - # addx087 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999" + dec"1" == dec"1000" - # addx088 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"99" + dec"1" == dec"100" - # addx089 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9" + dec"1" == dec"10" - # addx090 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-10" + dec"0" == dec"-0.0000056267" - # addx091 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-6" + dec"0" == dec"-0.056267" - # addx092 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-5" + dec"0" == dec"-0.56267" - # addx093 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-4" + dec"0" == dec"-5.6267" - # addx094 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-3" + dec"0" == dec"-56.267" - # addx095 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-2" + dec"0" == dec"-562.67" - # addx096 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-1" + dec"0" == dec"-5626.7" - # addx097 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-0" + dec"0" == dec"-56267" - # addx098 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-10" + dec"0" == dec"-5e-10" - # addx099 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-7" + dec"0" == dec"-5e-7" - # addx100 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-6" + dec"0" == dec"-0.000005" - # addx101 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-5" + dec"0" == dec"-0.00005" - # addx102 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-4" + dec"0" == dec"-0.0005" - # addx103 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-1" + dec"0" == dec"-0.5" - # addx104 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e0" + dec"0" == dec"-5" - # addx105 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e1" + dec"0" == dec"-50" - # addx106 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e5" + dec"0" == dec"-500000" - # addx107 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e8" + dec"0" == dec"-500000000" - # addx108 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e9" + dec"0" == dec"-5.00000000e+9" - # addx109 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e10" + dec"0" == dec"-5.00000000e+10" - # addx110 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e11" + dec"0" == dec"-5.00000000e+11" - # addx111 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e100" + dec"0" == dec"-5.00000000e+100" - # addx113 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-10" == dec"-0.0000056267" - # addx114 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-6" == dec"-0.056267" - # addx116 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-5" == dec"-0.56267" - # addx117 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-4" == dec"-5.6267" - # addx119 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-3" == dec"-56.267" - # addx120 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-2" == dec"-562.67" - # addx121 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-1" == dec"-5626.7" - # addx122 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-56267e-0" == dec"-56267" - # addx123 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e-10" == dec"-5e-10" - # addx124 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e-7" == dec"-5e-7" - # addx125 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e-6" == dec"-0.000005" - # addx126 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e-5" == dec"-0.00005" - # addx127 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e-4" == dec"-0.0005" - # addx128 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e-1" == dec"-0.5" - # addx129 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e0" == dec"-5" - # addx130 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e1" == dec"-50" - # addx131 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e5" == dec"-500000" - # addx132 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e8" == dec"-500000000" - # addx133 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e9" == dec"-5.00000000e+9" - # addx134 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e10" == dec"-5.00000000e+10" - # addx135 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e11" == dec"-5.00000000e+11" - # addx136 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-5e100" == dec"-5.00000000e+100" - # addx137 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"0e-12" == dec"1.00000000" - # addx138 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" + dec"0e-12" == dec"-1.00000000" - # addx139 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-12" + dec"1" == dec"1.00000000" - # addx140 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-12" + dec"-1" == dec"-1.00000000" - # addx141 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+4" + dec"0.0000" == dec"10000.0000" - # addx142 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+4" + dec"0.00000" == dec"10000.0000" - # addx143 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.000" + dec"1e+5" == dec"100000.000" - # addx144 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0000" + dec"1e+5" == dec"100000.000" - # addx146 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.0" + dec"0" == dec"0.0" - # addx147 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00" + dec"0" == dec"0.00" - # addx148 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"0.00" == dec"0.00" - # addx149 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"00.0" == dec"0.0" - # addx150 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.0" + dec"0.00" == dec"0.00" - # addx151 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00" + dec"00.0" == dec"0.00" - # addx152 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" + dec".3" == dec"3.3" - # addx153 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3." + dec".3" == dec"3.3" - # addx154 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3.0" + dec".3" == dec"3.3" - # addx155 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3.00" + dec".3" == dec"3.30" - # addx156 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" + dec"3" == dec"6" - # addx157 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" + dec"+3" == dec"6" - # addx158 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" + dec"-3" == dec"0" - # addx159 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.3" + dec"-0.3" == dec"0.0" - # addx160 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.03" + dec"-0.03" == dec"0.00" - # addx161 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+12" + dec"-1" == dec"999999999999" - # addx162 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+12" + dec"1.11" == dec"1000000000001.11" - # addx163 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1.11" + dec"1e+12" == dec"1000000000001.11" - # addx164 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"-1" + dec"1e+12" == dec"999999999999" - # addx165 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"7e+12" + dec"-1" == dec"6999999999999" - # addx166 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"7e+12" + dec"1.11" == dec"7000000000001.11" - # addx167 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1.11" + dec"7e+12" == dec"7000000000001.11" - # addx168 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"-1" + dec"7e+12" == dec"6999999999999" - # addx170 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555563" == dec"1.00000000000001" - # addx171 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555562" == dec"1.00000000000001" - # addx172 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555561" == dec"1.00000000000001" - # addx173 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555560" == dec"1.00000000000000" - # addx174 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555559" == dec"1.00000000000000" - # addx175 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555558" == dec"1.00000000000000" - # addx176 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555557" == dec"1.00000000000000" - # addx177 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555556" == dec"1.00000000000000" - # addx178 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555555" == dec"0.999999999999999" - # addx179 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555554" == dec"0.999999999999998" - # addx180 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555553" == dec"0.999999999999997" - # addx181 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555552" == dec"0.999999999999996" - # addx182 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555551" == dec"0.999999999999995" - # addx183 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" + dec"0.555555555555550" == dec"0.999999999999994" - # addx200 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0" == dec"123456789" - # addx201 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.000000001" == dec"123456789" - # addx202 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.000001" == dec"123456789" - # addx203 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.1" == dec"123456789" - # addx204 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.4" == dec"123456789" - # addx205 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.49" == dec"123456789" - # addx206 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.499999" == dec"123456789" - # addx207 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.499999999" == dec"123456789" - # addx208 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.5" == dec"123456790" - # addx209 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.500000001" == dec"123456790" - # addx210 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.500001" == dec"123456790" - # addx211 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.51" == dec"123456790" - # addx212 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.6" == dec"123456790" - # addx213 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.9" == dec"123456790" - # addx214 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.99999" == dec"123456790" - # addx215 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.999999999" == dec"123456790" - # addx216 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"1" == dec"123456790" - # addx217 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"1.000000001" == dec"123456790" - # addx218 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"1.00001" == dec"123456790" - # addx219 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"1.1" == dec"123456790" - # addx220 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0" == dec"123456789" - # addx221 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.000000001" == dec"123456789" - # addx222 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.000001" == dec"123456789" - # addx223 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.1" == dec"123456789" - # addx224 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.4" == dec"123456789" - # addx225 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.49" == dec"123456789" - # addx226 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.499999" == dec"123456789" - # addx227 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.499999999" == dec"123456789" - # addx228 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.5" == dec"123456790" - # addx229 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.500000001" == dec"123456790" - # addx230 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.500001" == dec"123456790" - # addx231 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.51" == dec"123456790" - # addx232 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.6" == dec"123456790" - # addx233 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.9" == dec"123456790" - # addx234 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.99999" == dec"123456790" - # addx235 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.999999999" == dec"123456790" - # addx236 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"1" == dec"123456790" - # addx237 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"1.00000001" == dec"123456790" - # addx238 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"1.00001" == dec"123456790" - # addx239 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"1.1" == dec"123456790" - # addx240 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" + dec"0.499999999" == dec"123456788" - # addx241 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" + dec"0.5" == dec"123456788" - # addx242 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" + dec"0.500000001" == dec"123456789" - # addx250 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0" == dec"123456789" - # addx251 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.000000001" == dec"123456789" - # addx252 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.000001" == dec"123456789" - # addx253 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.1" == dec"123456789" - # addx254 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.4" == dec"123456789" - # addx255 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.49" == dec"123456789" - # addx256 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.499999" == dec"123456789" - # addx257 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.499999999" == dec"123456789" - # addx258 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.5" == dec"123456789" - # addx259 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.500000001" == dec"123456789" - # addx260 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.500001" == dec"123456789" - # addx261 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.51" == dec"123456789" - # addx262 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.6" == dec"123456789" - # addx263 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.9" == dec"123456789" - # addx264 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.99999" == dec"123456789" - # addx265 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.999999999" == dec"123456789" - # addx266 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"1" == dec"123456790" - # addx267 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"1.00000001" == dec"123456790" - # addx268 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"1.00001" == dec"123456790" - # addx269 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"1.1" == dec"123456790" - # addx270 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12345678900000" + dec"9999999999999" == dec"2.23e+13" - # addx271 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"9999999999999" + dec"12345678900000" == dec"2.23e+13" - # addx272 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" + dec"3444" == dec"1.54e+4" - # addx273 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" + dec"3446" == dec"1.54e+4" - # addx274 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" + dec"3449.9" == dec"1.54e+4" - # addx275 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" + dec"3450.0" == dec"1.55e+4" - # addx276 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" + dec"3450.1" == dec"1.55e+4" - # addx277 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" + dec"3454" == dec"1.55e+4" - # addx278 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" + dec"3456" == dec"1.55e+4" - # addx281 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3444" + dec"12e+3" == dec"1.54e+4" - # addx282 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3446" + dec"12e+3" == dec"1.54e+4" - # addx283 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3449.9" + dec"12e+3" == dec"1.54e+4" - # addx284 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3450.0" + dec"12e+3" == dec"1.55e+4" - # addx285 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3450.1" + dec"12e+3" == dec"1.55e+4" - # addx286 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3454" + dec"12e+3" == dec"1.55e+4" - # addx287 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3456" + dec"12e+3" == dec"1.55e+4" - # addx301 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"-1" + dec"1" == dec"0" - # addx302 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0" + dec"1" == dec"1" - # addx303 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"1" + dec"1" == dec"2" - # addx304 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12" + dec"1" == dec"13" - # addx305 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"98" + dec"1" == dec"99" - # addx306 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"99" + dec"1" == dec"100" - # addx307 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"100" + dec"1" == dec"101" - # addx308 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"101" + dec"1" == dec"102" - # addx309 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"-1" + dec"-1" == dec"-2" - # addx310 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0" + dec"-1" == dec"-1" - # addx311 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"1" + dec"-1" == dec"0" - # addx312 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12" + dec"-1" == dec"11" - # addx313 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"98" + dec"-1" == dec"97" - # addx314 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"99" + dec"-1" == dec"98" - # addx315 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"100" + dec"-1" == dec"99" - # addx316 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"101" + dec"-1" == dec"100" - # addx321 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.01" + dec"0.01" == dec"0.00" - # addx322 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.00" + dec"0.01" == dec"0.01" - # addx323 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.01" + dec"0.01" == dec"0.02" - # addx324 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.12" + dec"0.01" == dec"0.13" - # addx325 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.98" + dec"0.01" == dec"0.99" - # addx326 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.99" + dec"0.01" == dec"1.00" - # addx327 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"1.00" + dec"0.01" == dec"1.01" - # addx328 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"1.01" + dec"0.01" == dec"1.02" - # addx329 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.01" + dec"-0.01" == dec"-0.02" - # addx330 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.00" + dec"-0.01" == dec"-0.01" - # addx331 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.01" + dec"-0.01" == dec"0.00" - # addx332 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.12" + dec"-0.01" == dec"0.11" - # addx333 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.98" + dec"-0.01" == dec"0.97" - # addx334 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"0.99" + dec"-0.01" == dec"0.98" - # addx335 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"1.00" + dec"-0.01" == dec"0.99" - # addx336 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"1.01" + dec"-0.01" == dec"1.00" - # addx340 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+3" + dec"0" == dec"1000" - # addx341 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+8" + dec"0" == dec"100000000" - # addx342 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+9" + dec"0" == dec"1.00000000e+9" - # addx343 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+10" + dec"0" == dec"1.00000000e+10" - # addx344 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+3" + dec"1" == dec"1001" - # addx345 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+8" + dec"1" == dec"100000001" - # addx346 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+9" + dec"1" == dec"1.00000000e+9" - # addx347 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+10" + dec"1" == dec"1.00000000e+10" - # addx348 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+3" + dec"7" == dec"1007" - # addx349 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+8" + dec"7" == dec"100000007" - # addx350 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+9" + dec"7" == dec"1.00000001e+9" - # addx351 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1e+10" + dec"7" == dec"1.00000000e+10" - # addx361 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+50" + dec"10000e+1" == dec"1.0000e+5" - # addx362 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"10000e+1" + dec"0e-50" == dec"100000.0" - # addx363 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"10000e+1" + dec"10000e-50" == dec"100000.0" - # addx364 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"9.999999e+92" + dec"-9.999999e+92" == dec"0e+86" - # addx372 - @with_context (Emax=92, Emin=-92, precision=10, rounding=RoundNearestTiesAway) @test dec"99999999" + dec"81512" == dec"100081511" - # addx373 - @with_context (Emax=92, Emin=-92, precision=6, rounding=RoundNearestTiesAway) @test dec"99999999" + dec"81512" == dec"1.00082e+8" - # addx374 - @with_context (Emax=92, Emin=-92, precision=10, rounding=RoundNearest) @test dec"99999999" + dec"81512" == dec"100081511" - # addx375 - @with_context (Emax=92, Emin=-92, precision=6, rounding=RoundNearest) @test dec"99999999" + dec"81512" == dec"1.00082e+8" - # addx400 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-7" == dec"1.0000077" - # addx401 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-8" == dec"1.00000077" - # addx402 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-9" == dec"1.00000008" - # addx403 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-10" == dec"1.00000001" - # addx404 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-11" == dec"1.00000000" - # addx405 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-12" == dec"1.00000000" - # addx406 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-999" == dec"1.00000000" - # addx407 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"77e-9999999" == dec"1.00000000" - # addx410 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-7" == dec"10.0000077" - # addx411 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-8" == dec"10.0000008" - # addx412 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-9" == dec"10.0000001" - # addx413 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-10" == dec"10.0000000" - # addx414 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-11" == dec"10.0000000" - # addx415 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-12" == dec"10.0000000" - # addx416 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-999" == dec"10.0000000" - # addx417 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"77e-9999999" == dec"10.0000000" - # addx420 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-7" + dec"1" == dec"1.0000077" - # addx421 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-8" + dec"1" == dec"1.00000077" - # addx422 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9" + dec"1" == dec"1.00000008" - # addx423 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-10" + dec"1" == dec"1.00000001" - # addx424 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-11" + dec"1" == dec"1.00000000" - # addx425 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-12" + dec"1" == dec"1.00000000" - # addx426 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-999" + dec"1" == dec"1.00000000" - # addx427 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9999999" + dec"1" == dec"1.00000000" - # addx430 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-7" + dec"10" == dec"10.0000077" - # addx431 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-8" + dec"10" == dec"10.0000008" - # addx432 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9" + dec"10" == dec"10.0000001" - # addx433 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-10" + dec"10" == dec"10.0000000" - # addx434 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-11" + dec"10" == dec"10.0000000" - # addx435 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-12" + dec"10" == dec"10.0000000" - # addx436 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-999" + dec"10" == dec"10.0000000" - # addx437 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9999999" + dec"10" == dec"10.0000000" - # addx440 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-7" == dec"0.9999923" - # addx441 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-8" == dec"0.99999923" - # addx442 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-9" == dec"0.999999923" - # addx443 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-10" == dec"0.999999992" - # addx444 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-11" == dec"0.999999999" - # addx445 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-12" == dec"1.00000000" - # addx446 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-999" == dec"1.00000000" - # addx447 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"1" + dec"-77e-9999999" == dec"1.00000000" - # addx450 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-7" == dec"9.9999923" - # addx451 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-8" == dec"9.99999923" - # addx452 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-9" == dec"9.99999992" - # addx453 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-10" == dec"9.99999999" - # addx454 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-11" == dec"10.0000000" - # addx455 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-12" == dec"10.0000000" - # addx456 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-999" == dec"10.0000000" - # addx457 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"10" + dec"-77e-9999999" == dec"10.0000000" - # addx460 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-7" + dec"1" == dec"0.9999923" - # addx461 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-8" + dec"1" == dec"0.99999923" - # addx462 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-9" + dec"1" == dec"0.999999923" - # addx463 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-10" + dec"1" == dec"0.999999992" - # addx464 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-11" + dec"1" == dec"0.999999999" - # addx465 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-12" + dec"1" == dec"1.00000000" - # addx466 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-999" + dec"1" == dec"1.00000000" - # addx467 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-9999999" + dec"1" == dec"1.00000000" - # addx470 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-7" + dec"10" == dec"9.9999923" - # addx471 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-8" + dec"10" == dec"9.99999923" - # addx472 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-9" + dec"10" == dec"9.99999992" - # addx473 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-10" + dec"10" == dec"9.99999999" - # addx474 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-11" + dec"10" == dec"10.0000000" - # addx475 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-12" + dec"10" == dec"10.0000000" - # addx476 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-999" + dec"10" == dec"10.0000000" - # addx477 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-77e-9999999" + dec"10" == dec"10.0000000" - # addx480 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-7" == dec"-0.9999923" - # addx481 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-8" == dec"-0.99999923" - # addx482 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-9" == dec"-0.999999923" - # addx483 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-10" == dec"-0.999999992" - # addx484 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-11" == dec"-0.999999999" - # addx485 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-12" == dec"-1.00000000" - # addx486 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-999" == dec"-1.00000000" - # addx487 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-1" + dec"77e-9999999" == dec"-1.00000000" - # addx490 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-7" == dec"-9.9999923" - # addx491 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-8" == dec"-9.99999923" - # addx492 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-9" == dec"-9.99999992" - # addx493 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-10" == dec"-9.99999999" - # addx494 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-11" == dec"-10.0000000" - # addx495 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-12" == dec"-10.0000000" - # addx496 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-999" == dec"-10.0000000" - # addx497 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"-10" + dec"77e-9999999" == dec"-10.0000000" - # addx500 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-7" + dec"-1" == dec"-0.9999923" - # addx501 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-8" + dec"-1" == dec"-0.99999923" - # addx502 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9" + dec"-1" == dec"-0.999999923" - # addx503 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-10" + dec"-1" == dec"-0.999999992" - # addx504 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-11" + dec"-1" == dec"-0.999999999" - # addx505 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-12" + dec"-1" == dec"-1.00000000" - # addx506 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-999" + dec"-1" == dec"-1.00000000" - # addx507 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9999999" + dec"-1" == dec"-1.00000000" - # addx510 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-7" + dec"-10" == dec"-9.9999923" - # addx511 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-8" + dec"-10" == dec"-9.99999923" - # addx512 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9" + dec"-10" == dec"-9.99999992" - # addx513 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-10" + dec"-10" == dec"-9.99999999" - # addx514 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-11" + dec"-10" == dec"-10.0000000" - # addx515 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-12" + dec"-10" == dec"-10.0000000" - # addx516 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-999" + dec"-10" == dec"-10.0000000" - # addx517 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearest) @test dec"77e-9999999" + dec"-10" == dec"-10.0000000" - # addx521 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"12345678000" + dec"0" == dec"1.23456780e+10" - # addx522 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"0" + dec"12345678000" == dec"1.23456780e+10" - # addx523 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"1234567800" + dec"0" == dec"1.23456780e+9" - # addx524 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"0" + dec"1234567800" == dec"1.23456780e+9" - # addx525 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"1234567890" + dec"0" == dec"1.23456789e+9" - # addx526 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"0" + dec"1234567890" == dec"1.23456789e+9" - # addx527 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"1234567891" + dec"0" == dec"1.23456789e+9" - # addx528 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"0" + dec"1234567891" == dec"1.23456789e+9" - # addx529 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"12345678901" + dec"0" == dec"1.23456789e+10" - # addx530 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"0" + dec"12345678901" == dec"1.23456789e+10" - # addx531 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"1234567896" + dec"0" == dec"1.23456790e+9" - # addx532 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearest) @test dec"0" + dec"1234567896" == dec"1.23456790e+9" - # addx541 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"12345678000" + dec"0" == dec"12345678000" - # addx542 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"0" + dec"12345678000" == dec"12345678000" - # addx543 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"1234567800" + dec"0" == dec"1234567800" - # addx544 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"0" + dec"1234567800" == dec"1234567800" - # addx545 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"1234567890" + dec"0" == dec"1234567890" - # addx546 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"0" + dec"1234567890" == dec"1234567890" - # addx547 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"1234567891" + dec"0" == dec"1234567891" - # addx548 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"0" + dec"1234567891" == dec"1234567891" - # addx549 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"12345678901" + dec"0" == dec"12345678901" - # addx550 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"0" + dec"12345678901" == dec"12345678901" - # addx551 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"1234567896" + dec"0" == dec"1234567896" - # addx552 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearest) @test dec"0" + dec"1234567896" == dec"1234567896" - # addx561 - @with_context (Emax=394, Emin=-393, precision=16, rounding=RoundToZero) @test dec"1e-398" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384" - # addx562 - @with_context (Emax=394, Emin=-393, precision=16, rounding=RoundToZero) @test dec"0" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384" - # addx563 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-388" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374" - # addx564 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374" - # addx601 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.000001" == dec"123456789" - # addx602 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.000001" == dec"123456789" - # addx604 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundDown) @test dec"123456789" + dec"0.000001" == dec"123456789" - # addx605 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundUp) @test dec"123456789" + dec"0.000001" == dec"123456790" - # addx606 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundFromZero) @test dec"123456789" + dec"0.000001" == dec"123456790" - # addx607 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.000001" == dec"123456789" - # addx611 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"-0.000001" == dec"123456789" - # addx612 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"-0.000001" == dec"123456789" - # addx614 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundDown) @test dec"123456789" + dec"-0.000001" == dec"123456788" - # addx615 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundUp) @test dec"123456789" + dec"-0.000001" == dec"123456789" - # addx616 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundFromZero) @test dec"123456789" + dec"-0.000001" == dec"123456789" - # addx617 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"-0.000001" == dec"123456788" - # addx621 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.499999" == dec"123456789" - # addx622 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.499999" == dec"123456789" - # addx624 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundDown) @test dec"123456789" + dec"0.499999" == dec"123456789" - # addx625 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundUp) @test dec"123456789" + dec"0.499999" == dec"123456790" - # addx626 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundFromZero) @test dec"123456789" + dec"0.499999" == dec"123456790" - # addx627 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.499999" == dec"123456789" - # addx631 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"-0.499999" == dec"123456789" - # addx632 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"-0.499999" == dec"123456789" - # addx634 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundDown) @test dec"123456789" + dec"-0.499999" == dec"123456788" - # addx635 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundUp) @test dec"123456789" + dec"-0.499999" == dec"123456789" - # addx636 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundFromZero) @test dec"123456789" + dec"-0.499999" == dec"123456789" - # addx637 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"-0.499999" == dec"123456788" - # addx641 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"0.500001" == dec"123456790" - # addx642 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"0.500001" == dec"123456790" - # addx644 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundDown) @test dec"123456789" + dec"0.500001" == dec"123456789" - # addx645 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundUp) @test dec"123456789" + dec"0.500001" == dec"123456790" - # addx646 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundFromZero) @test dec"123456789" + dec"0.500001" == dec"123456790" - # addx647 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"0.500001" == dec"123456789" - # addx651 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" + dec"-0.500001" == dec"123456788" - # addx652 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" + dec"-0.500001" == dec"123456788" - # addx654 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundDown) @test dec"123456789" + dec"-0.500001" == dec"123456788" - # addx655 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundUp) @test dec"123456789" + dec"-0.500001" == dec"123456789" - # addx656 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundFromZero) @test dec"123456789" + dec"-0.500001" == dec"123456789" - # addx657 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" + dec"-0.500001" == dec"123456788" - # addx660 - @with_context (Emax=384, Emin=-383, precision=37, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337114834538" - # addx661 - @with_context (Emax=384, Emin=-383, precision=36, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892233711483454" - # addx662 - @with_context (Emax=384, Emin=-383, precision=35, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223371148345" - # addx663 - @with_context (Emax=384, Emin=-383, precision=34, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337114835" - # addx664 - @with_context (Emax=384, Emin=-383, precision=33, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892233711483" - # addx665 - @with_context (Emax=384, Emin=-383, precision=32, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223371148" - # addx666 - @with_context (Emax=384, Emin=-383, precision=31, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337115" - # addx667 - @with_context (Emax=384, Emin=-383, precision=30, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892233711" - # addx668 - @with_context (Emax=384, Emin=-383, precision=29, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223371" - # addx669 - @with_context (Emax=384, Emin=-383, precision=28, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337" - # addx670 - @with_context (Emax=384, Emin=-383, precision=27, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892234" - # addx671 - @with_context (Emax=384, Emin=-383, precision=26, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223" - # addx672 - @with_context (Emax=384, Emin=-383, precision=25, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922" - # addx673 - @with_context (Emax=384, Emin=-383, precision=24, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892" - # addx674 - @with_context (Emax=384, Emin=-383, precision=23, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389" - # addx675 - @with_context (Emax=384, Emin=-383, precision=22, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023639" - # addx676 - @with_context (Emax=384, Emin=-383, precision=21, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102364" - # addx677 - @with_context (Emax=384, Emin=-383, precision=20, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236" - # addx678 - @with_context (Emax=384, Emin=-383, precision=19, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211024" - # addx679 - @with_context (Emax=384, Emin=-383, precision=18, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102" - # addx680 - @with_context (Emax=384, Emin=-383, precision=17, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110" - # addx681 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211" - # addx682 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221" - # addx683 - @with_context (Emax=384, Emin=-383, precision=14, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422" - # addx684 - @with_context (Emax=384, Emin=-383, precision=13, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42" - # addx685 - @with_context (Emax=384, Emin=-383, precision=12, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4" - # addx686 - @with_context (Emax=384, Emin=-383, precision=11, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166" - # addx687 - @with_context (Emax=384, Emin=-383, precision=10, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.847117417e+10" - # addx688 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.84711742e+10" - # addx689 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.8471174e+10" - # addx690 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.847117e+10" - # addx691 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.84712e+10" - # addx692 - @with_context (Emax=384, Emin=-383, precision=5, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.8471e+10" - # addx693 - @with_context (Emax=384, Emin=-383, precision=4, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.847e+10" - # addx694 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.85e+10" - # addx695 - @with_context (Emax=384, Emin=-383, precision=2, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.8e+10" - # addx696 - @with_context (Emax=384, Emin=-383, precision=1, rounding=RoundNearestTiesAway) @test dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"1e+11" - # addx701 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5.00" + dec"1.00e-3" == dec"5.00100" - # addx702 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.00" + dec"0.000" == dec"0.000" - # addx703 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.00" + dec"0e-3" == dec"0.000" - # addx704 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-3" + dec"00.00" == dec"0.000" - # addx710 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00.00" == dec"0.00" - # addx711 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00.0" == dec"0.0" - # addx712 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00." == dec"0" - # addx713 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00.e+1" == dec"0e+1" - # addx714 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00.e+2" == dec"0e+2" - # addx715 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00.e+3" == dec"0e+3" - # addx716 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00.e+4" == dec"0e+3" - # addx717 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"00.e+5" == dec"0e+3" - # addx718 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"-00.0" == dec"0.0" - # addx719 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"-00." == dec"0" - # addx731 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" + dec"-00.e+1" == dec"0e+1" - # addx720 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.00" + dec"0e+3" == dec"0.00" - # addx721 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.0" + dec"0e+3" == dec"0.0" - # addx722 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00." + dec"0e+3" == dec"0" - # addx723 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.e+1" + dec"0e+3" == dec"0e+1" - # addx724 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.e+2" + dec"0e+3" == dec"0e+2" - # addx725 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.e+3" + dec"0e+3" == dec"0e+3" - # addx726 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.e+4" + dec"0e+3" == dec"0e+3" - # addx727 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.e+5" + dec"0e+3" == dec"0e+3" - # addx728 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-00.00" + dec"0e+3" == dec"0.00" - # addx729 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-00.0" + dec"0e+3" == dec"0.0" - # addx730 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-00." + dec"0e+3" == dec"0" - # addx732 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"0" == dec"0" - # addx733 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-0" == dec"0" - # addx734 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" + dec"0" == dec"0" - # addx735 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" + dec"-0" == dec"-0" - # addx736 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"-1" == dec"0" - # addx737 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" + dec"-1" == dec"-2" - # addx738 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"1" == dec"2" - # addx739 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" + dec"1" == dec"0" - # addx741 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-1" == dec"-1" - # addx742 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" + dec"-1" == dec"-1" - # addx743 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"1" == dec"1" - # addx744 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" + dec"1" == dec"1" - # addx745 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" + dec"0" == dec"-1" - # addx746 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" + dec"-0" == dec"-1" - # addx747 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"0" == dec"1" - # addx748 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"-0" == dec"1" - # addx751 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" + dec"-1" == dec"-1.0" - # addx752 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" + dec"-1" == dec"-1.0" - # addx753 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" + dec"1" == dec"1.0" - # addx754 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" + dec"1" == dec"1.0" - # addx755 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" + dec"0" == dec"-1.0" - # addx756 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" + dec"-0" == dec"-1.0" - # addx757 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" + dec"0" == dec"1.0" - # addx758 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" + dec"-0" == dec"1.0" - # addx761 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"-1.0" == dec"-1.0" - # addx762 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" + dec"-1.0" == dec"-1.0" - # addx763 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.0" == dec"1.0" - # addx764 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" + dec"1.0" == dec"1.0" - # addx765 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" + dec"0.0" == dec"-1.0" - # addx766 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" + dec"-0.0" == dec"-1.0" - # addx767 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"0.0" == dec"1.0" - # addx768 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" + dec"-0.0" == dec"1.0" - # addx771 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" + dec"-1.0" == dec"-1.0" - # addx772 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" + dec"-1.0" == dec"-1.0" - # addx773 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" + dec"1.0" == dec"1.0" - # addx774 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" + dec"1.0" == dec"1.0" - # addx775 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" + dec"0.0" == dec"-1.0" - # addx776 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" + dec"-0.0" == dec"-1.0" - # addx777 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" + dec"0.0" == dec"1.0" - # addx778 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" + dec"-0.0" == dec"1.0" - # addx890 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+999999999" + dec"9e+999999999" - # addx891 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9e+999999999" + dec"1e+999999999" - # addx892 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.1e-999999999" + dec"1e-999999999" == dec"-1e-1000000000" - # addx893 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-999999999" + dec"-1.1e-999999999" == dec"-1e-1000000000" - # addx894 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0001e-999999999" + dec"1e-999999999" == dec"-1e-1000000003" - # addx895 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-999999999" + dec"-1.0001e-999999999" == dec"-1e-1000000003" - # addx896 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-1e+999999999" + dec"-9e+999999999" - # addx897 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9e+999999999" + dec"-1e+999999999" - # addx898 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"+1.1e-999999999" + dec"-1e-999999999" == dec"1e-1000000000" - # addx899 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e-999999999" + dec"+1.1e-999999999" == dec"1e-1000000000" - # addx900 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"+1.0001e-999999999" + dec"-1e-999999999" == dec"1e-1000000003" - # addx901 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e-999999999" + dec"+1.0001e-999999999" == dec"1e-1000000003" - # addx902 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e+999999999" + dec"+9e+999999999" == dec"8e+999999999" - # addx903 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-9e+999999999" + dec"+1e+999999999" == dec"-8e+999999999" - # addx904 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"0" + dec"-9.999e+999999999" - # addx905 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9.999e+999999999" + dec"0" - # addx906 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"0" + dec"9.999e+999999999" - # addx907 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9.999e+999999999" + dec"0" - # addx910 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"1.00e-999" + dec"0" == dec"1.00e-999" - # addx911 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.1e-999" + dec"0" == dec"1e-1000" - # addx912 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.10e-999" + dec"0" == dec"1.0e-1000" - # addx913 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.100e-999" + dec"0" == dec"1.0e-1000" - # addx914 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.01e-999" + dec"0" == dec"1e-1001" - # addx915 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.999e-999" + dec"0" == dec"1.00e-999" - # addx916 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.099e-999" + dec"0" == dec"1.0e-1000" - # addx917 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.009e-999" + dec"0" == dec"1e-1001" - # addx918 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.001e-999" + dec"0" == dec"0e-1001" - # addx919 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0009e-999" + dec"0" == dec"0e-1001" - # addx920 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0001e-999" + dec"0" == dec"0e-1001" - # addx930 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-1.00e-999" + dec"0" == dec"-1.00e-999" - # addx931 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.1e-999" + dec"0" == dec"-1e-1000" - # addx932 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.10e-999" + dec"0" == dec"-1.0e-1000" - # addx933 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.100e-999" + dec"0" == dec"-1.0e-1000" - # addx934 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.01e-999" + dec"0" == dec"-1e-1001" - # addx935 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.999e-999" + dec"0" == dec"-1.00e-999" - # addx936 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.099e-999" + dec"0" == dec"-1.0e-1000" - # addx937 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.009e-999" + dec"0" == dec"-1e-1001" - # addx938 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.001e-999" + dec"0" == dec"-0e-1001" - # addx939 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.0009e-999" + dec"0" == dec"-0e-1001" - # addx940 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-0.0001e-999" + dec"0" == dec"-0e-1001" - # addx950 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"1.00e-999" + dec"0.1e-999" == dec"1.10e-999" - # addx951 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.1e-999" + dec"0.1e-999" == dec"2e-1000" - # addx952 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.10e-999" + dec"0.1e-999" == dec"2.0e-1000" - # addx953 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.100e-999" + dec"0.1e-999" == dec"2.0e-1000" - # addx954 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.01e-999" + dec"0.1e-999" == dec"1.1e-1000" - # addx955 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.999e-999" + dec"0.1e-999" == dec"1.10e-999" - # addx956 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.099e-999" + dec"0.1e-999" == dec"2.0e-1000" - # addx957 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.009e-999" + dec"0.1e-999" == dec"1.1e-1000" - # addx958 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.001e-999" + dec"0.1e-999" == dec"1.0e-1000" - # addx959 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0009e-999" + dec"0.1e-999" == dec"1.0e-1000" - # addx960 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0001e-999" + dec"0.1e-999" == dec"1.0e-1000" - # addx961 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"1.00e-999" + dec"-0.1e-999" == dec"9.0e-1000" - # addx962 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.1e-999" + dec"-0.1e-999" == dec"0e-1000" - # addx963 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.10e-999" + dec"-0.1e-999" == dec"0e-1001" - # addx964 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.100e-999" + dec"-0.1e-999" == dec"0e-1001" - # addx965 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.01e-999" + dec"-0.1e-999" == dec"-9e-1001" - # addx966 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.999e-999" + dec"-0.1e-999" == dec"9.0e-1000" - # addx967 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.099e-999" + dec"-0.1e-999" == dec"-0e-1001" - # addx968 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.009e-999" + dec"-0.1e-999" == dec"-9e-1001" - # addx969 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.001e-999" + dec"-0.1e-999" == dec"-1.0e-1000" - # addx970 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0009e-999" + dec"-0.1e-999" == dec"-1.0e-1000" - # addx971 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0001e-999" + dec"-0.1e-999" == dec"-1.0e-1000" - # addx566 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"99999061735e-394" + dec"0e-394" == dec"9.999906e-384" - # addx567 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"99999061735e-394" + dec"0e-394" == dec"9.99991e-384" - # addx568 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"99999061735e-394" + dec"0e-394" == dec"9.9999e-384" - # addx571 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" + dec"0" == dec"1e-383" - # addx572 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-384" + dec"0" == dec"1e-384" - # addx573 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" + dec"1e-384" == dec"1.1e-383" - # addx574 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" - dec"1e-384" == dec"9e-384" - # addx575 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384" - # addx576 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384" - # addx577 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" - dec"1e-399" == dec"1.000000000000000e-383" - # addx578 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" - dec"1e-400" == dec"1.000000000000000e-383" - # addx579 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" - dec"1e-401" == dec"1.000000000000000e-383" - # addx580 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-383" - dec"1e-402" == dec"1.000000000000000e-383" - # addx972 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"9.999999e+96" == dec"9.999999e+96" - # addx973 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"9.999999e+96" + dec"1" == dec"9.999999e+96" - # addx974 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"9999999e+90" + dec"1" == dec"9.999999e+96" - # addx975 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9999999e+90" + dec"1e+90" - # addx976 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9999999e+90" + dec"9e+89" - # addx977 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9999999e+90" + dec"8e+89" - # addx978 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9999999e+90" + dec"7e+89" - # addx979 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9999999e+90" + dec"6e+89" - # addx980 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9999999e+90" + dec"5e+89" - # addx981 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"9999999e+90" + dec"4e+89" == dec"9.999999e+96" - # addx982 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"9999999e+90" + dec"3e+89" == dec"9.999999e+96" - # addx983 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"9999999e+90" + dec"2e+89" == dec"9.999999e+96" - # addx984 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"9999999e+90" + dec"1e+89" == dec"9.999999e+96" - # addx985 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"-9.999999e+96" == dec"-9.999999e+96" - # addx986 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"-9.999999e+96" + dec"-1" == dec"-9.999999e+96" - # addx987 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"-9999999e+90" + dec"-1" == dec"-9.999999e+96" - # addx988 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9999999e+90" + dec"-1e+90" - # addx989 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9999999e+90" + dec"-9e+89" - # addx990 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9999999e+90" + dec"-8e+89" - # addx991 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9999999e+90" + dec"-7e+89" - # addx992 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9999999e+90" + dec"-6e+89" - # addx993 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9999999e+90" + dec"-5e+89" - # addx994 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"-9999999e+90" + dec"-4e+89" == dec"-9.999999e+96" - # addx995 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"-9999999e+90" + dec"-3e+89" == dec"-9.999999e+96" - # addx996 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"-9999999e+90" + dec"-2e+89" == dec"-9.999999e+96" - # addx997 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"-9999999e+90" + dec"-1e+89" == dec"-9.999999e+96" - # addx1001 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52444e-80" + dec"0" == dec"1.524e-80" - # addx1002 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52445e-80" + dec"0" == dec"1.524e-80" - # addx1003 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52446e-80" + dec"0" == dec"1.524e-80" - # addx1004 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.52444e-80" == dec"1.524e-80" - # addx1005 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.52445e-80" == dec"1.524e-80" - # addx1006 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.52446e-80" == dec"1.524e-80" - # addx1011 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52444e-80" + dec"1e-100" == dec"1.524e-80" - # addx1012 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52445e-80" + dec"1e-100" == dec"1.524e-80" - # addx1013 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52446e-80" + dec"1e-100" == dec"1.524e-80" - # addx1014 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1e-100" + dec"1.52444e-80" == dec"1.524e-80" - # addx1015 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1e-100" + dec"1.52445e-80" == dec"1.524e-80" - # addx1016 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1e-100" + dec"1.52446e-80" == dec"1.524e-80" - # addx1021 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52443e-80" + dec"1.00001e-80" == dec"2.524e-80" - # addx1022 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52444e-80" + dec"1.00001e-80" == dec"2.524e-80" - # addx1023 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52445e-80" + dec"1.00001e-80" == dec"2.524e-80" - # addx1024 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.00001e-80" + dec"1.52443e-80" == dec"2.524e-80" - # addx1025 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.00001e-80" + dec"1.52444e-80" == dec"2.524e-80" - # addx1026 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.00001e-80" + dec"1.52445e-80" == dec"2.524e-80" - # addx1100 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e+2" + dec"-1e-383" == dec"99.99999999999999" - # addx1101 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e+1" + dec"-1e-383" == dec"9.999999999999999" - # addx1103 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"+1" + dec"-1e-383" == dec"0.9999999999999999" - # addx1104 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-1" + dec"-1e-383" == dec"0.09999999999999999" - # addx1105 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-2" + dec"-1e-383" == dec"0.009999999999999999" - # addx1106 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-3" + dec"-1e-383" == dec"0.0009999999999999999" - # addx1107 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-4" + dec"-1e-383" == dec"0.00009999999999999999" - # addx1108 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-5" + dec"-1e-383" == dec"0.000009999999999999999" - # addx1109 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-6" + dec"-1e-383" == dec"9.999999999999999e-7" - # addx1110 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e+2" + dec"+1e-383" == dec"-99.99999999999999" - # addx1111 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e+1" + dec"+1e-383" == dec"-9.999999999999999" - # addx1113 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1" + dec"+1e-383" == dec"-0.9999999999999999" - # addx1114 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-1" + dec"+1e-383" == dec"-0.09999999999999999" - # addx1115 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-2" + dec"+1e-383" == dec"-0.009999999999999999" - # addx1116 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-3" + dec"+1e-383" == dec"-0.0009999999999999999" - # addx1117 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-4" + dec"+1e-383" == dec"-0.00009999999999999999" - # addx1118 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-5" + dec"+1e-383" == dec"-0.000009999999999999999" - # addx1119 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-6" + dec"+1e-383" == dec"-9.999999999999999e-7" - # addx1120 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e+2" == dec"-99.99999999999999" - # addx1121 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e+1" == dec"-9.999999999999999" - # addx1123 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1" == dec"-0.9999999999999999" - # addx1124 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e-1" == dec"-0.09999999999999999" - # addx1125 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e-2" == dec"-0.009999999999999999" - # addx1126 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e-3" == dec"-0.0009999999999999999" - # addx1127 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e-4" == dec"-0.00009999999999999999" - # addx1128 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e-5" == dec"-0.000009999999999999999" - # addx1129 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"+1e-383" + dec"-1e-6" == dec"-9.999999999999999e-7" - # addx1130 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1" + dec"-1e-200" == dec"0.9999999" - # addx1131 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1.000000e-94" + dec"-1e-200" == dec"9.999999e-95" - # addx1132 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1.000001e-95" + dec"-1e-200" == dec"1.000000e-95" - # addx1133 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1.000000e-95" + dec"-1e-200" == dec"9.99999e-96" - # addx1134 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"0.999999e-95" + dec"-1e-200" == dec"9.99998e-96" - # addx1135 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"0.001000e-95" + dec"-1e-200" == dec"9.99e-99" - # addx1136 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"0.000999e-95" + dec"-1e-200" == dec"9.98e-99" - # addx1137 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1.000000e-95" + dec"-1e-101" == dec"9.99999e-96" - # addx1138 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"10000e-101" + dec"-1e-200" == dec"9.999e-98" - # addx1139 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1000e-101" + dec"-1e-200" == dec"9.99e-99" - # addx1140 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"100e-101" + dec"-1e-200" == dec"9.9e-100" - # addx1141 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"10e-101" + dec"-1e-200" == dec"9e-101" - # addx1142 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1e-101" + dec"-1e-200" == dec"0e-101" - # addx1143 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"0e-101" + dec"-1e-200" == dec"-0e-101" - # addx1144 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1e-102" + dec"-1e-200" == dec"0e-101" - # addx1151 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"10000e-102" + dec"-1e-200" == dec"9.99e-99" - # addx1152 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1000e-102" + dec"-1e-200" == dec"9.9e-100" - # addx1153 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"100e-102" + dec"-1e-200" == dec"9e-101" - # addx1154 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"10e-102" + dec"-1e-200" == dec"0e-101" - # addx1155 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1e-102" + dec"-1e-200" == dec"0e-101" - # addx1156 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"0e-102" + dec"-1e-200" == dec"-0e-101" - # addx1157 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"1e-103" + dec"-1e-200" == dec"0e-101" - # addx1160 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"100e-105" + dec"-1e-101" == dec"-0e-101" - # addx1161 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundToZero) @test dec"100e-105" + dec"-1e-201" == dec"0e-101" - # addx1200 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.5" == dec"1.00000000000000e+15" - # addx1201 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.50" == dec"1.00000000000000e+15" - # addx1210 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.51" == dec"999999999999999" - # addx1211 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.501" == dec"999999999999999" - # addx1212 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.5001" == dec"999999999999999" - # addx1213 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.50001" == dec"999999999999999" - # addx1214 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.500001" == dec"999999999999999" - # addx1215 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.5000001" == dec"999999999999999" - # addx1216 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.50000001" == dec"999999999999999" - # addx1217 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.500000001" == dec"999999999999999" - # addx1218 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.5000000001" == dec"999999999999999" - # addx1219 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.50000000001" == dec"999999999999999" - # addx1220 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.500000000001" == dec"999999999999999" - # addx1221 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.5000000000001" == dec"999999999999999" - # addx1222 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.50000000000001" == dec"999999999999999" - # addx1223 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.500000000000001" == dec"999999999999999" - # addx1224 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.5000000000000001" == dec"999999999999999" - # addx1225 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-0.5000000000000000" == dec"1.00000000000000e+15" - # addx1230 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e15" + dec"-5000000.000000001" == dec"999999995000000" - # addx1300 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5" == dec"1.000000000000000e+16" - # addx1310 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.51" == dec"9999999999999999" - # addx1311 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.501" == dec"9999999999999999" - # addx1312 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5001" == dec"9999999999999999" - # addx1313 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50001" == dec"9999999999999999" - # addx1314 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500001" == dec"9999999999999999" - # addx1315 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000001" == dec"9999999999999999" - # addx1316 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50000001" == dec"9999999999999999" - # addx1317 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500000001" == dec"9999999999999999" - # addx1318 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000000001" == dec"9999999999999999" - # addx1319 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50000000001" == dec"9999999999999999" - # addx1320 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500000000001" == dec"9999999999999999" - # addx1321 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000000000001" == dec"9999999999999999" - # addx1322 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50000000000001" == dec"9999999999999999" - # addx1323 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500000000000001" == dec"9999999999999999" - # addx1324 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000000000000001" == dec"9999999999999999" - # addx1325 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000000000000000" == dec"1.000000000000000e+16" - # addx1326 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500000000000000" == dec"1.000000000000000e+16" - # addx1327 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50000000000000" == dec"1.000000000000000e+16" - # addx1328 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000000000000" == dec"1.000000000000000e+16" - # addx1329 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500000000000" == dec"1.000000000000000e+16" - # addx1330 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50000000000" == dec"1.000000000000000e+16" - # addx1331 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000000000" == dec"1.000000000000000e+16" - # addx1332 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500000000" == dec"1.000000000000000e+16" - # addx1333 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50000000" == dec"1.000000000000000e+16" - # addx1334 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000000" == dec"1.000000000000000e+16" - # addx1335 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500000" == dec"1.000000000000000e+16" - # addx1336 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50000" == dec"1.000000000000000e+16" - # addx1337 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.5000" == dec"1.000000000000000e+16" - # addx1338 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.500" == dec"1.000000000000000e+16" - # addx1339 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-0.50" == dec"1.000000000000000e+16" - # addx1340 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-5000000.000010001" == dec"9999999995000000" - # addx1341 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e16" + dec"-5000000.000000001" == dec"9999999995000000" - # addx1349 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.4" == dec"9999999999999999" - # addx1350 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.49" == dec"9999999999999999" - # addx1351 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.499" == dec"9999999999999999" - # addx1352 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.4999" == dec"9999999999999999" - # addx1353 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.49999" == dec"9999999999999999" - # addx1354 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.499999" == dec"9999999999999999" - # addx1355 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.4999999" == dec"9999999999999999" - # addx1356 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.49999999" == dec"9999999999999999" - # addx1357 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.499999999" == dec"9999999999999999" - # addx1358 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.4999999999" == dec"9999999999999999" - # addx1359 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.49999999999" == dec"9999999999999999" - # addx1360 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.499999999999" == dec"9999999999999999" - # addx1361 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.4999999999999" == dec"9999999999999999" - # addx1362 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.49999999999999" == dec"9999999999999999" - # addx1363 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.499999999999999" == dec"9999999999999999" - # addx1364 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.4999999999999999" == dec"9999999999999999" - # addx1365 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000000000000000" == dec"1.000000000000000e+16" - # addx1367 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500000000000000" == dec"1.000000000000000e+16" - # addx1368 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50000000000000" == dec"1.000000000000000e+16" - # addx1369 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000000000000" == dec"1.000000000000000e+16" - # addx1370 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500000000000" == dec"1.000000000000000e+16" - # addx1371 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50000000000" == dec"1.000000000000000e+16" - # addx1372 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000000000" == dec"1.000000000000000e+16" - # addx1373 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500000000" == dec"1.000000000000000e+16" - # addx1374 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50000000" == dec"1.000000000000000e+16" - # addx1375 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000000" == dec"1.000000000000000e+16" - # addx1376 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500000" == dec"1.000000000000000e+16" - # addx1377 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50000" == dec"1.000000000000000e+16" - # addx1378 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000" == dec"1.000000000000000e+16" - # addx1379 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500" == dec"1.000000000000000e+16" - # addx1380 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50" == dec"1.000000000000000e+16" - # addx1381 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5" == dec"1.000000000000000e+16" - # addx1382 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000000000000001" == dec"1.000000000000000e+16" - # addx1383 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500000000000001" == dec"1.000000000000000e+16" - # addx1384 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50000000000001" == dec"1.000000000000000e+16" - # addx1385 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000000000001" == dec"1.000000000000000e+16" - # addx1386 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500000000001" == dec"1.000000000000000e+16" - # addx1387 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50000000001" == dec"1.000000000000000e+16" - # addx1388 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000000001" == dec"1.000000000000000e+16" - # addx1389 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500000001" == dec"1.000000000000000e+16" - # addx1390 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50000001" == dec"1.000000000000000e+16" - # addx1391 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5000001" == dec"1.000000000000000e+16" - # addx1392 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.500001" == dec"1.000000000000000e+16" - # addx1393 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.50001" == dec"1.000000000000000e+16" - # addx1394 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.5001" == dec"1.000000000000000e+16" - # addx1395 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.501" == dec"1.000000000000000e+16" - # addx1396 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9999999999999999" + dec"0.51" == dec"1.000000000000000e+16" - # addx1400 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345" == dec"1.23456789012345" - # addx1401 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-1" == dec"0.123456789012345" - # addx1402 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-2" == dec"0.0123456789012345" - # addx1403 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-3" == dec"0.00123456789012345" - # addx1404 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-4" == dec"0.000123456789012345" - # addx1405 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-5" == dec"0.0000123456789012345" - # addx1406 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-6" == dec"0.00000123456789012345" - # addx1407 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-7" == dec"1.23456789012345e-7" - # addx1408 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-8" == dec"1.23456789012345e-8" - # addx1409 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-9" == dec"1.23456789012345e-9" - # addx1410 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-10" == dec"1.23456789012345e-10" - # addx1411 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-11" == dec"1.23456789012345e-11" - # addx1412 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-12" == dec"1.23456789012345e-12" - # addx1413 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-13" == dec"1.23456789012345e-13" - # addx1414 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-14" == dec"1.23456789012345e-14" - # addx1415 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-15" == dec"1.23456789012345e-15" - # addx1416 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-16" == dec"1.23456789012345e-16" - # addx1417 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-17" == dec"1.23456789012345e-17" - # addx1418 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-18" == dec"1.23456789012345e-18" - # addx1419 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.23456789012345e-19" == dec"1.23456789012345e-19" - # addx1420 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345" == dec"1.123456789012345" - # addx1421 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-1" == dec"0.1123456789012345" - # addx1422 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-2" == dec"0.01123456789012345" - # addx1423 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-3" == dec"0.001123456789012345" - # addx1424 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-4" == dec"0.0001123456789012345" - # addx1425 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-5" == dec"0.00001123456789012345" - # addx1426 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-6" == dec"0.000001123456789012345" - # addx1427 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-7" == dec"1.123456789012345e-7" - # addx1428 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-8" == dec"1.123456789012345e-8" - # addx1429 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-9" == dec"1.123456789012345e-9" - # addx1430 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-10" == dec"1.123456789012345e-10" - # addx1431 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-11" == dec"1.123456789012345e-11" - # addx1432 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-12" == dec"1.123456789012345e-12" - # addx1433 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-13" == dec"1.123456789012345e-13" - # addx1434 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-14" == dec"1.123456789012345e-14" - # addx1435 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-15" == dec"1.123456789012345e-15" - # addx1436 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-16" == dec"1.123456789012345e-16" - # addx1437 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-17" == dec"1.123456789012345e-17" - # addx1438 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-18" == dec"1.123456789012345e-18" - # addx1439 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"1.123456789012345e-19" == dec"1.123456789012345e-19" - # addx1440 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0" == dec"1.123456789012345" - # addx1441 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-1" + dec"0" == dec"0.1123456789012345" - # addx1442 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-2" + dec"0" == dec"0.01123456789012345" - # addx1443 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-3" + dec"0" == dec"0.001123456789012345" - # addx1444 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-4" + dec"0" == dec"0.0001123456789012345" - # addx1445 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-5" + dec"0" == dec"0.00001123456789012345" - # addx1446 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-6" + dec"0" == dec"0.000001123456789012345" - # addx1447 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-7" + dec"0" == dec"1.123456789012345e-7" - # addx1448 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-8" + dec"0" == dec"1.123456789012345e-8" - # addx1449 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-9" + dec"0" == dec"1.123456789012345e-9" - # addx1450 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-10" + dec"0" == dec"1.123456789012345e-10" - # addx1451 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-11" + dec"0" == dec"1.123456789012345e-11" - # addx1452 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-12" + dec"0" == dec"1.123456789012345e-12" - # addx1453 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-13" + dec"0" == dec"1.123456789012345e-13" - # addx1454 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-14" + dec"0" == dec"1.123456789012345e-14" - # addx1455 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-15" + dec"0" == dec"1.123456789012345e-15" - # addx1456 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-16" + dec"0" == dec"1.123456789012345e-16" - # addx1457 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-17" + dec"0" == dec"1.123456789012345e-17" - # addx1458 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-18" + dec"0" == dec"1.123456789012345e-18" - # addx1459 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345e-19" + dec"0" == dec"1.123456789012345e-19" - # addx1460 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-0" == dec"1.123456789012345" - # addx1461 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-1" == dec"1.123456789012345" - # addx1462 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-2" == dec"1.123456789012345" - # addx1463 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-3" == dec"1.123456789012345" - # addx1464 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-4" == dec"1.123456789012345" - # addx1465 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-5" == dec"1.123456789012345" - # addx1466 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-6" == dec"1.123456789012345" - # addx1467 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-7" == dec"1.123456789012345" - # addx1468 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-8" == dec"1.123456789012345" - # addx1469 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-9" == dec"1.123456789012345" - # addx1470 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-10" == dec"1.123456789012345" - # addx1471 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-11" == dec"1.123456789012345" - # addx1472 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-12" == dec"1.123456789012345" - # addx1473 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-13" == dec"1.123456789012345" - # addx1474 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-14" == dec"1.123456789012345" - # addx1475 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-15" == dec"1.123456789012345" - # addx1476 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-16" == dec"1.123456789012345" - # addx1477 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-17" == dec"1.123456789012345" - # addx1478 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-18" == dec"1.123456789012345" - # addx1479 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1.123456789012345" + dec"0e-19" == dec"1.123456789012345" - # addx1500 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx1501 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx1502 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx1503 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx1504 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx1505 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx1506 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx1507 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx1511 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx1512 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx1513 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1514 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1515 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx1516 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx1517 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx1518 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx1540 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx1541 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx1542 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx1543 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx1544 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx1545 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx1546 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx1547 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx1551 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx1552 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx1553 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1554 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1555 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx1556 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx1557 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx1558 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx1560 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx1561 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx1562 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx1563 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx1564 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx1565 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx1566 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx1567 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx1571 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"1e-400" == dec"1e-398" - # addx1572 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"1e-400" == dec"1e-398" - # addx1573 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"-1e-400" == dec"-1e-398" - # addx1574 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"-1e-400" == dec"-1e-398" - # addx1575 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"1e-401" == dec"1e-398" - # addx1576 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx1577 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx1578 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"-1e-401" == dec"-1e-398" - # addx1580 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx1581 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx1582 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx1583 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx1584 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx1585 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx1586 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx1587 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx1591 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx1592 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx1593 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1594 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1595 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx1596 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx1597 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx1598 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx1600 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx1601 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx1602 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx1603 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx1604 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx1605 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx1606 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx1607 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx1611 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"1e-400" == dec"1e-398" - # addx1612 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"1e-400" == dec"1e-398" - # addx1613 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1614 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx1615 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"1e-401" == dec"1e-398" - # addx1616 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx1617 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx1618 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx1620 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx1621 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0" + dec"0e-19" == dec"-0e-19" - # addx1622 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0" + dec"-0e-19" == dec"-0e-19" - # addx1623 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx1624 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx1625 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0e-400" + dec"0e-19" == dec"-0e-398" - # addx1626 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0e-400" + dec"-0e-19" == dec"-0e-398" - # addx1627 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx1631 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx1632 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx1633 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"-1e-400" == dec"-1e-398" - # addx1634 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"-1e-400" == dec"-1e-398" - # addx1635 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx1636 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"1e-401" == dec"-0e-398" - # addx1637 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"-1e-401" == dec"-0e-398" - # addx1638 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"-1e-401" == dec"-1e-398" - # addx1651 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundToZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6" - # addx1652 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundToZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6" - # addx1653 - @with_context (Emax=384, Emin=-383, precision=5, rounding=RoundToZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.0000e+6" - # addx1654 - @with_context (Emax=384, Emin=-383, precision=4, rounding=RoundToZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.000e+6" - # addx1655 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundToZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.00e+6" - # addx1656 - @with_context (Emax=384, Emin=-383, precision=2, rounding=RoundToZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.0e+6" - # addx1657 - @with_context (Emax=384, Emin=-383, precision=1, rounding=RoundToZero) @test dec"10001e+2" + dec"-2e+1" == dec"1e+6" - # addx1661 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearest) @test dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6" - # addx1662 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearest) @test dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6" - # addx1663 - @with_context (Emax=384, Emin=-383, precision=5, rounding=RoundNearest) @test dec"10001e+2" + dec"-2e+1" == dec"1.0001e+6" - # addx1664 - @with_context (Emax=384, Emin=-383, precision=4, rounding=RoundNearest) @test dec"10001e+2" + dec"-2e+1" == dec"1.000e+6" - # addx1665 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearest) @test dec"10001e+2" + dec"-2e+1" == dec"1.00e+6" - # addx1666 - @with_context (Emax=384, Emin=-383, precision=2, rounding=RoundNearest) @test dec"10001e+2" + dec"-2e+1" == dec"1.0e+6" - # addx1667 - @with_context (Emax=384, Emin=-383, precision=1, rounding=RoundNearest) @test dec"10001e+2" + dec"-2e+1" == dec"1e+6" - # addx1671 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundFromZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6" - # addx1672 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundFromZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6" - # addx1673 - @with_context (Emax=384, Emin=-383, precision=5, rounding=RoundFromZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.0001e+6" - # addx1674 - @with_context (Emax=384, Emin=-383, precision=4, rounding=RoundFromZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.001e+6" - # addx1675 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundFromZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.01e+6" - # addx1676 - @with_context (Emax=384, Emin=-383, precision=2, rounding=RoundFromZero) @test dec"10001e+2" + dec"-2e+1" == dec"1.1e+6" - # addx1677 - @with_context (Emax=384, Emin=-383, precision=1, rounding=RoundFromZero) @test dec"10001e+2" + dec"-2e+1" == dec"2e+6" - # addx1701 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" + dec"120e-2" == dec"2.50" - # addx1702 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" + dec"12e-1" == dec"2.50" - # addx1703 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" + dec"1e0" == dec"2.30" - # addx1704 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"1e2" + dec"1e4" == dec"1.01e+4" - # addx1705 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" - dec"120e-2" == dec"0.10" - # addx1706 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" - dec"12e-1" == dec"0.10" - # addx1707 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" - dec"1e0" == dec"0.30" - # addx1708 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"1e2" - dec"1e4" == dec"-9.9e+3" - # addx6001 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"1" == dec"2" - # addx6002 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"2" + dec"3" == dec"5" - # addx6003 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"5.75" + dec"3.3" == dec"9.05" - # addx6004 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"5" + dec"-3" == dec"2" - # addx6005 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5" + dec"-3" == dec"-8" - # addx6006 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-7" + dec"2.5" == dec"-4.5" - # addx6007 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.7" + dec"0.3" == dec"1.0" - # addx6008 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.25" + dec"1.25" == dec"2.50" - # addx6009 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.23456789" + dec"1.00000000" == dec"2.23456789" - # addx6010 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.23456789" + dec"1.00000011" == dec"2.23456800" - # addx6011 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.44444444444444444" + dec"0.55555555555555555" == dec"1.000000000000000" - # addx6012 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.44444444444444440" + dec"0.55555555555555555" == dec"1.000000000000000" - # addx6013 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.44444444444444444" + dec"0.55555555555555550" == dec"0.9999999999999999" - # addx6014 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.444444444444444449" + dec"0" == dec"0.4444444444444444" - # addx6015 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444499" + dec"0" == dec"0.4444444444444444" - # addx6016 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.44444444444444444999" + dec"0" == dec"0.4444444444444444" - # addx6017 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.44444444444444445000" + dec"0" == dec"0.4444444444444444" - # addx6018 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.44444444444444445001" + dec"0" == dec"0.4444444444444445" - # addx6019 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444501" + dec"0" == dec"0.4444444444444445" - # addx6020 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.444444444444444451" + dec"0" == dec"0.4444444444444445" - # addx6021 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1" == dec"1" - # addx6022 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"1" == dec"2" - # addx6023 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"2" + dec"1" == dec"3" - # addx6024 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3" + dec"1" == dec"4" - # addx6025 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"4" + dec"1" == dec"5" - # addx6026 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"5" + dec"1" == dec"6" - # addx6027 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6" + dec"1" == dec"7" - # addx6028 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"7" + dec"1" == dec"8" - # addx6029 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"8" + dec"1" == dec"9" - # addx6030 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9" + dec"1" == dec"10" - # addx6031 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.9998" + dec"0.0000" == dec"0.9998" - # addx6032 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.9998" + dec"0.0001" == dec"0.9999" - # addx6033 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.9998" + dec"0.0002" == dec"1.0000" - # addx6034 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.9998" + dec"0.0003" == dec"1.0001" - # addx6035 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"70" + dec"10000e+16" == dec"1.000000000000000e+20" - # addx6036 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"700" + dec"10000e+16" == dec"1.000000000000000e+20" - # addx6037 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"7000" + dec"10000e+16" == dec"1.000000000000000e+20" - # addx6038 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"70000" + dec"10000e+16" == dec"1.000000000000001e+20" - # addx6039 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"700000" + dec"10000e+16" == dec"1.000000000000007e+20" - # addx6040 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+16" + dec"70" == dec"1.000000000000000e+20" - # addx6041 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+16" + dec"700" == dec"1.000000000000000e+20" - # addx6042 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+16" + dec"7000" == dec"1.000000000000000e+20" - # addx6044 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+16" + dec"70000" == dec"1.000000000000001e+20" - # addx6045 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+16" + dec"700000" == dec"1.000000000000007e+20" - # addx6046 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+9" + dec"7" == dec"10000000000007" - # addx6047 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+9" + dec"70" == dec"10000000000070" - # addx6048 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+9" + dec"700" == dec"10000000000700" - # addx6049 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+9" + dec"7000" == dec"10000000007000" - # addx6050 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+9" + dec"70000" == dec"10000000070000" - # addx6051 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+9" + dec"700000" == dec"10000000700000" - # addx6053 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12" + dec"7.00" == dec"19.00" - # addx6054 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.3" + dec"-1.07" == dec"0.23" - # addx6055 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.3" + dec"-1.30" == dec"0.00" - # addx6056 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.3" + dec"-2.07" == dec"-0.77" - # addx6057 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+2" + dec"1e+4" == dec"1.01e+4" - # addx6060 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.1" == dec"1.1" - # addx6061 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.01" == dec"1.01" - # addx6062 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.001" == dec"1.001" - # addx6063 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.0001" == dec"1.0001" - # addx6064 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.00001" == dec"1.00001" - # addx6065 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.000001" == dec"1.000001" - # addx6066 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.0000001" == dec"1.0000001" - # addx6067 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.00000001" == dec"1.00000001" - # addx6068 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"99999999999999123456789" + dec"-99999999999999e+9" == dec"123456789" - # addx6069 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1234567890123455.234567890123454" + dec"1234567890123456" == dec"0.765432109876546" - # addx6070 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0" == dec"1" - # addx6071 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0." == dec"1" - # addx6072 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec".0" == dec"1.0" - # addx6073 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.0" == dec"1.0" - # addx6074 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.00" == dec"1.00" - # addx6075 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1" == dec"1" - # addx6076 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0." + dec"1" == dec"1" - # addx6077 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec".0" + dec"1" == dec"1.0" - # addx6078 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.0" + dec"1" == dec"1.0" - # addx6079 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.00" + dec"1" == dec"1.00" - # addx6080 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999998" + dec"1" == dec"9999999999999999" - # addx6081 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"1" == dec"1.000000000000000e+16" - # addx6082 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"999999999999999" + dec"1" == dec"1000000000000000" - # addx6083 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999" + dec"1" == dec"10000000000000" - # addx6084 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"99999999999" + dec"1" == dec"100000000000" - # addx6085 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"999999999" + dec"1" == dec"1000000000" - # addx6086 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999" + dec"1" == dec"10000000" - # addx6087 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"99999" + dec"1" == dec"100000" - # addx6088 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"999" + dec"1" == dec"1000" - # addx6089 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9" + dec"1" == dec"10" - # addx6090 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-10" + dec"0" == dec"-0.0000056267" - # addx6091 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-6" + dec"0" == dec"-0.056267" - # addx6092 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-5" + dec"0" == dec"-0.56267" - # addx6093 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-4" + dec"0" == dec"-5.6267" - # addx6094 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-3" + dec"0" == dec"-56.267" - # addx6095 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-2" + dec"0" == dec"-562.67" - # addx6096 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-1" + dec"0" == dec"-5626.7" - # addx6097 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-56267e-0" + dec"0" == dec"-56267" - # addx6098 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e-10" + dec"0" == dec"-5e-10" - # addx6099 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e-7" + dec"0" == dec"-5e-7" - # addx6100 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e-6" + dec"0" == dec"-0.000005" - # addx6101 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e-5" + dec"0" == dec"-0.00005" - # addx6102 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e-4" + dec"0" == dec"-0.0005" - # addx6103 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e-1" + dec"0" == dec"-0.5" - # addx6104 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e0" + dec"0" == dec"-5" - # addx6105 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e1" + dec"0" == dec"-50" - # addx6106 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e5" + dec"0" == dec"-500000" - # addx6107 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e15" + dec"0" == dec"-5000000000000000" - # addx6108 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e16" + dec"0" == dec"-5.000000000000000e+16" - # addx6109 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e17" + dec"0" == dec"-5.000000000000000e+17" - # addx6110 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e18" + dec"0" == dec"-5.000000000000000e+18" - # addx6111 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-5e100" + dec"0" == dec"-5.000000000000000e+100" - # addx6113 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-10" == dec"-0.0000056267" - # addx6114 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-6" == dec"-0.056267" - # addx6116 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-5" == dec"-0.56267" - # addx6117 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-4" == dec"-5.6267" - # addx6119 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-3" == dec"-56.267" - # addx6120 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-2" == dec"-562.67" - # addx6121 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-1" == dec"-5626.7" - # addx6122 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-56267e-0" == dec"-56267" - # addx6123 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e-10" == dec"-5e-10" - # addx6124 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e-7" == dec"-5e-7" - # addx6125 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e-6" == dec"-0.000005" - # addx6126 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e-5" == dec"-0.00005" - # addx6127 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e-4" == dec"-0.0005" - # addx6128 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e-1" == dec"-0.5" - # addx6129 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e0" == dec"-5" - # addx6130 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e1" == dec"-50" - # addx6131 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e5" == dec"-500000" - # addx6132 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e15" == dec"-5000000000000000" - # addx6133 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e16" == dec"-5.000000000000000e+16" - # addx6134 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e17" == dec"-5.000000000000000e+17" - # addx6135 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e18" == dec"-5.000000000000000e+18" - # addx6136 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-5e100" == dec"-5.000000000000000e+100" - # addx6137 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0e-19" == dec"1.000000000000000" - # addx6138 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"0e-19" == dec"-1.000000000000000" - # addx6139 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e-19" + dec"1" == dec"1.000000000000000" - # addx6140 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e-19" + dec"-1" == dec"-1.000000000000000" - # addx6141 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+11" + dec"0.0000" == dec"100000000000.0000" - # addx6142 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+11" + dec"0.00000" == dec"100000000000.0000" - # addx6143 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.000" + dec"1e+12" == dec"1000000000000.000" - # addx6144 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.0000" + dec"1e+12" == dec"1000000000000.000" - # addx6146 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.0" + dec"0" == dec"0.0" - # addx6147 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.00" + dec"0" == dec"0.00" - # addx6148 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"0.00" == dec"0.00" - # addx6149 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"00.0" == dec"0.0" - # addx6150 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.0" + dec"0.00" == dec"0.00" - # addx6151 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.00" + dec"00.0" == dec"0.00" - # addx6152 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3" + dec".3" == dec"3.3" - # addx6153 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3." + dec".3" == dec"3.3" - # addx6154 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3.0" + dec".3" == dec"3.3" - # addx6155 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3.00" + dec".3" == dec"3.30" - # addx6156 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3" + dec"3" == dec"6" - # addx6157 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3" + dec"+3" == dec"6" - # addx6158 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"3" + dec"-3" == dec"0" - # addx6159 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.3" + dec"-0.3" == dec"0.0" - # addx6160 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.03" + dec"-0.03" == dec"0.00" - # addx6161 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+13" + dec"-1" == dec"9999999999999" - # addx6162 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+13" + dec"1.11" == dec"10000000000001.11" - # addx6163 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.11" + dec"1e+13" == dec"10000000000001.11" - # addx6164 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"1e+13" == dec"9999999999999" - # addx6165 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"7e+13" + dec"-1" == dec"69999999999999" - # addx6166 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"7e+13" + dec"1.11" == dec"70000000000001.11" - # addx6167 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.11" + dec"7e+13" == dec"70000000000001.11" - # addx6168 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"7e+13" == dec"69999999999999" - # addx6170 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555563" == dec"1.000000000000001" - # addx6171 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555562" == dec"1.000000000000001" - # addx6172 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555561" == dec"1.000000000000000" - # addx6173 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555560" == dec"1.000000000000000" - # addx6174 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555559" == dec"1.000000000000000" - # addx6175 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555558" == dec"1.000000000000000" - # addx6176 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555557" == dec"1.000000000000000" - # addx6177 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555556" == dec"1.000000000000000" - # addx6178 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555555" == dec"0.9999999999999999" - # addx6179 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555554" == dec"0.9999999999999998" - # addx6180 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555553" == dec"0.9999999999999997" - # addx6181 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555552" == dec"0.9999999999999996" - # addx6182 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555551" == dec"0.9999999999999995" - # addx6183 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.4444444444444444" + dec"0.5555555555555550" == dec"0.9999999999999994" - # addx6200 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0" == dec"6543210123456789" - # addx6201 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.000000001" == dec"6543210123456789" - # addx6202 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.000001" == dec"6543210123456789" - # addx6203 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.1" == dec"6543210123456789" - # addx6204 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.4" == dec"6543210123456789" - # addx6205 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.49" == dec"6543210123456789" - # addx6206 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.499999" == dec"6543210123456789" - # addx6207 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.499999999" == dec"6543210123456789" - # addx6208 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.5" == dec"6543210123456790" - # addx6209 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.500000001" == dec"6543210123456790" - # addx6210 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.500001" == dec"6543210123456790" - # addx6211 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.51" == dec"6543210123456790" - # addx6212 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.6" == dec"6543210123456790" - # addx6213 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.9" == dec"6543210123456790" - # addx6214 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.99999" == dec"6543210123456790" - # addx6215 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"0.999999999" == dec"6543210123456790" - # addx6216 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"1" == dec"6543210123456790" - # addx6217 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"1.000000001" == dec"6543210123456790" - # addx6218 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"1.00001" == dec"6543210123456790" - # addx6219 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"6543210123456789" + dec"1.1" == dec"6543210123456790" - # addx6220 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0" == dec"6543210123456789" - # addx6221 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.000000001" == dec"6543210123456789" - # addx6222 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.000001" == dec"6543210123456789" - # addx6223 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.1" == dec"6543210123456789" - # addx6224 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.4" == dec"6543210123456789" - # addx6225 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.49" == dec"6543210123456789" - # addx6226 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.499999" == dec"6543210123456789" - # addx6227 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.499999999" == dec"6543210123456789" - # addx6228 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.5" == dec"6543210123456790" - # addx6229 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.500000001" == dec"6543210123456790" - # addx6230 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.500001" == dec"6543210123456790" - # addx6231 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.51" == dec"6543210123456790" - # addx6232 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.6" == dec"6543210123456790" - # addx6233 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.9" == dec"6543210123456790" - # addx6234 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.99999" == dec"6543210123456790" - # addx6235 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"0.999999999" == dec"6543210123456790" - # addx6236 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"1" == dec"6543210123456790" - # addx6237 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"1.00000001" == dec"6543210123456790" - # addx6238 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"1.00001" == dec"6543210123456790" - # addx6239 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456789" + dec"1.1" == dec"6543210123456790" - # addx6240 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456788" + dec"0.499999999" == dec"6543210123456788" - # addx6241 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456788" + dec"0.5" == dec"6543210123456788" - # addx6242 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"6543210123456788" + dec"0.500000001" == dec"6543210123456789" - # addx6250 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0" == dec"6543210123456789" - # addx6251 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.000000001" == dec"6543210123456789" - # addx6252 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.000001" == dec"6543210123456789" - # addx6253 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.1" == dec"6543210123456789" - # addx6254 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.4" == dec"6543210123456789" - # addx6255 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.49" == dec"6543210123456789" - # addx6256 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.499999" == dec"6543210123456789" - # addx6257 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.499999999" == dec"6543210123456789" - # addx6258 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.5" == dec"6543210123456789" - # addx6259 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.500000001" == dec"6543210123456789" - # addx6260 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.500001" == dec"6543210123456789" - # addx6261 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.51" == dec"6543210123456789" - # addx6262 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.6" == dec"6543210123456789" - # addx6263 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.9" == dec"6543210123456789" - # addx6264 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.99999" == dec"6543210123456789" - # addx6265 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"0.999999999" == dec"6543210123456789" - # addx6266 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"1" == dec"6543210123456790" - # addx6267 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"1.00000001" == dec"6543210123456790" - # addx6268 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"1.00001" == dec"6543210123456790" - # addx6269 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"6543210123456789" + dec"1.1" == dec"6543210123456790" - # addx6301 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"1" == dec"0" - # addx6302 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1" == dec"1" - # addx6303 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"1" == dec"2" - # addx6304 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12" + dec"1" == dec"13" - # addx6305 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"98" + dec"1" == dec"99" - # addx6306 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"99" + dec"1" == dec"100" - # addx6307 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"100" + dec"1" == dec"101" - # addx6308 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"101" + dec"1" == dec"102" - # addx6309 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"-1" == dec"-2" - # addx6310 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-1" == dec"-1" - # addx6311 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-1" == dec"0" - # addx6312 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12" + dec"-1" == dec"11" - # addx6313 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"98" + dec"-1" == dec"97" - # addx6314 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"99" + dec"-1" == dec"98" - # addx6315 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"100" + dec"-1" == dec"99" - # addx6316 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"101" + dec"-1" == dec"100" - # addx6321 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0.01" + dec"0.01" == dec"0.00" - # addx6322 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.00" + dec"0.01" == dec"0.01" - # addx6323 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.01" + dec"0.01" == dec"0.02" - # addx6324 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.12" + dec"0.01" == dec"0.13" - # addx6325 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.98" + dec"0.01" == dec"0.99" - # addx6326 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.99" + dec"0.01" == dec"1.00" - # addx6327 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.00" + dec"0.01" == dec"1.01" - # addx6328 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.01" + dec"0.01" == dec"1.02" - # addx6329 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0.01" + dec"-0.01" == dec"-0.02" - # addx6330 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.00" + dec"-0.01" == dec"-0.01" - # addx6331 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.01" + dec"-0.01" == dec"0.00" - # addx6332 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.12" + dec"-0.01" == dec"0.11" - # addx6333 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.98" + dec"-0.01" == dec"0.97" - # addx6334 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.99" + dec"-0.01" == dec"0.98" - # addx6335 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.00" + dec"-0.01" == dec"0.99" - # addx6336 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.01" + dec"-0.01" == dec"1.00" - # addx6340 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+3" + dec"0" == dec"1000" - # addx6341 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+15" + dec"0" == dec"1000000000000000" - # addx6342 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+16" + dec"0" == dec"1.000000000000000e+16" - # addx6343 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+17" + dec"0" == dec"1.000000000000000e+17" - # addx6344 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+3" + dec"1" == dec"1001" - # addx6345 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+15" + dec"1" == dec"1000000000000001" - # addx6346 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+16" + dec"1" == dec"1.000000000000000e+16" - # addx6347 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+17" + dec"1" == dec"1.000000000000000e+17" - # addx6348 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+3" + dec"7" == dec"1007" - # addx6349 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+15" + dec"7" == dec"1000000000000007" - # addx6350 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+16" + dec"7" == dec"1.000000000000001e+16" - # addx6351 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e+17" + dec"7" == dec"1.000000000000000e+17" - # addx6361 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+50" + dec"10000e+1" == dec"1.0000e+5" - # addx6362 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+1" + dec"0e-50" == dec"100000.0000000000" - # addx6363 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10000e+1" + dec"10000e-50" == dec"100000.0000000000" - # addx6364 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12.34" + dec"0e-398" == dec"12.34000000000000" - # addx6400 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"77e-14" == dec"1.00000000000077" - # addx6401 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"77e-15" == dec"1.000000000000077" - # addx6402 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"77e-16" == dec"1.000000000000008" - # addx6403 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"77e-17" == dec"1.000000000000001" - # addx6404 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"77e-18" == dec"1.000000000000000" - # addx6405 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"77e-19" == dec"1.000000000000000" - # addx6406 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"77e-99" == dec"1.000000000000000" - # addx6410 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"77e-14" == dec"10.00000000000077" - # addx6411 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"77e-15" == dec"10.00000000000008" - # addx6412 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"77e-16" == dec"10.00000000000001" - # addx6413 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"77e-17" == dec"10.00000000000000" - # addx6414 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"77e-18" == dec"10.00000000000000" - # addx6415 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"77e-19" == dec"10.00000000000000" - # addx6416 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"77e-99" == dec"10.00000000000000" - # addx6420 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-14" + dec"1" == dec"1.00000000000077" - # addx6421 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-15" + dec"1" == dec"1.000000000000077" - # addx6422 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-16" + dec"1" == dec"1.000000000000008" - # addx6423 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-17" + dec"1" == dec"1.000000000000001" - # addx6424 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-18" + dec"1" == dec"1.000000000000000" - # addx6425 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-19" + dec"1" == dec"1.000000000000000" - # addx6426 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-99" + dec"1" == dec"1.000000000000000" - # addx6430 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-14" + dec"10" == dec"10.00000000000077" - # addx6431 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-15" + dec"10" == dec"10.00000000000008" - # addx6432 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-16" + dec"10" == dec"10.00000000000001" - # addx6433 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-17" + dec"10" == dec"10.00000000000000" - # addx6434 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-18" + dec"10" == dec"10.00000000000000" - # addx6435 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-19" + dec"10" == dec"10.00000000000000" - # addx6436 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-99" + dec"10" == dec"10.00000000000000" - # addx6440 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-77e-14" == dec"0.99999999999923" - # addx6441 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-77e-15" == dec"0.999999999999923" - # addx6442 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-77e-16" == dec"0.9999999999999923" - # addx6443 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-77e-17" == dec"0.9999999999999992" - # addx6444 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-77e-18" == dec"0.9999999999999999" - # addx6445 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-77e-19" == dec"1.000000000000000" - # addx6446 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-77e-99" == dec"1.000000000000000" - # addx6450 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"-77e-14" == dec"9.99999999999923" - # addx6451 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"-77e-15" == dec"9.999999999999923" - # addx6452 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"-77e-16" == dec"9.999999999999992" - # addx6453 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"-77e-17" == dec"9.999999999999999" - # addx6454 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"-77e-18" == dec"10.00000000000000" - # addx6455 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"-77e-19" == dec"10.00000000000000" - # addx6456 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10" + dec"-77e-99" == dec"10.00000000000000" - # addx6460 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-14" + dec"1" == dec"0.99999999999923" - # addx6461 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-15" + dec"1" == dec"0.999999999999923" - # addx6462 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-16" + dec"1" == dec"0.9999999999999923" - # addx6463 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-17" + dec"1" == dec"0.9999999999999992" - # addx6464 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-18" + dec"1" == dec"0.9999999999999999" - # addx6465 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-19" + dec"1" == dec"1.000000000000000" - # addx6466 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-99" + dec"1" == dec"1.000000000000000" - # addx6470 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-14" + dec"10" == dec"9.99999999999923" - # addx6471 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-15" + dec"10" == dec"9.999999999999923" - # addx6472 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-16" + dec"10" == dec"9.999999999999992" - # addx6473 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-17" + dec"10" == dec"9.999999999999999" - # addx6474 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-18" + dec"10" == dec"10.00000000000000" - # addx6475 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-19" + dec"10" == dec"10.00000000000000" - # addx6476 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-77e-99" + dec"10" == dec"10.00000000000000" - # addx6480 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"77e-14" == dec"-0.99999999999923" - # addx6481 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"77e-15" == dec"-0.999999999999923" - # addx6482 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"77e-16" == dec"-0.9999999999999923" - # addx6483 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"77e-17" == dec"-0.9999999999999992" - # addx6484 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"77e-18" == dec"-0.9999999999999999" - # addx6485 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"77e-19" == dec"-1.000000000000000" - # addx6486 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"77e-99" == dec"-1.000000000000000" - # addx6490 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-10" + dec"77e-14" == dec"-9.99999999999923" - # addx6491 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-10" + dec"77e-15" == dec"-9.999999999999923" - # addx6492 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-10" + dec"77e-16" == dec"-9.999999999999992" - # addx6493 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-10" + dec"77e-17" == dec"-9.999999999999999" - # addx6494 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-10" + dec"77e-18" == dec"-10.00000000000000" - # addx6495 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-10" + dec"77e-19" == dec"-10.00000000000000" - # addx6496 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-10" + dec"77e-99" == dec"-10.00000000000000" - # addx6500 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-14" + dec"-1" == dec"-0.99999999999923" - # addx6501 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-15" + dec"-1" == dec"-0.999999999999923" - # addx6502 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-16" + dec"-1" == dec"-0.9999999999999923" - # addx6503 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-17" + dec"-1" == dec"-0.9999999999999992" - # addx6504 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-18" + dec"-1" == dec"-0.9999999999999999" - # addx6505 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-19" + dec"-1" == dec"-1.000000000000000" - # addx6506 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-99" + dec"-1" == dec"-1.000000000000000" - # addx6510 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-14" + dec"-10" == dec"-9.99999999999923" - # addx6511 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-15" + dec"-10" == dec"-9.999999999999923" - # addx6512 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-16" + dec"-10" == dec"-9.999999999999992" - # addx6513 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-17" + dec"-10" == dec"-9.999999999999999" - # addx6514 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-18" + dec"-10" == dec"-10.00000000000000" - # addx6515 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-19" + dec"-10" == dec"-10.00000000000000" - # addx6516 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"77e-99" + dec"-10" == dec"-10.00000000000000" - # addx6521 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"101234562345678000" + dec"0" == dec"1.012345623456780e+17" - # addx6522 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"101234562345678000" == dec"1.012345623456780e+17" - # addx6523 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10123456234567800" + dec"0" == dec"1.012345623456780e+16" - # addx6524 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"10123456234567800" == dec"1.012345623456780e+16" - # addx6525 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10123456234567890" + dec"0" == dec"1.012345623456789e+16" - # addx6526 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"10123456234567890" == dec"1.012345623456789e+16" - # addx6527 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10123456234567891" + dec"0" == dec"1.012345623456789e+16" - # addx6528 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"10123456234567891" == dec"1.012345623456789e+16" - # addx6529 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"101234562345678901" + dec"0" == dec"1.012345623456789e+17" - # addx6530 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"101234562345678901" == dec"1.012345623456789e+17" - # addx6531 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"10123456234567896" + dec"0" == dec"1.012345623456790e+16" - # addx6532 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"10123456234567896" == dec"1.012345623456790e+16" - # addx6561 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-398" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384" - # addx6562 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384" - # addx6563 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-388" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374" - # addx6564 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374" - # addx6701 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"5.00" + dec"1.00e-3" == dec"5.00100" - # addx6702 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.00" + dec"0.000" == dec"0.000" - # addx6703 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.00" + dec"0e-3" == dec"0.000" - # addx6704 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e-3" + dec"00.00" == dec"0.000" - # addx6710 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00.00" == dec"0.00" - # addx6711 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00.0" == dec"0.0" - # addx6712 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00." == dec"0" - # addx6713 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00.e+1" == dec"0e+1" - # addx6714 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00.e+2" == dec"0e+2" - # addx6715 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00.e+3" == dec"0e+3" - # addx6716 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00.e+4" == dec"0e+3" - # addx6717 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"00.e+5" == dec"0e+3" - # addx6718 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"-00.0" == dec"0.0" - # addx6719 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"-00." == dec"0" - # addx6731 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e+3" + dec"-00.e+1" == dec"0e+1" - # addx6720 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.00" + dec"0e+3" == dec"0.00" - # addx6721 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.0" + dec"0e+3" == dec"0.0" - # addx6722 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00." + dec"0e+3" == dec"0" - # addx6723 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.e+1" + dec"0e+3" == dec"0e+1" - # addx6724 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.e+2" + dec"0e+3" == dec"0e+2" - # addx6725 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.e+3" + dec"0e+3" == dec"0e+3" - # addx6726 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.e+4" + dec"0e+3" == dec"0e+3" - # addx6727 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"00.e+5" + dec"0e+3" == dec"0e+3" - # addx6728 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-00.00" + dec"0e+3" == dec"0.00" - # addx6729 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-00.0" + dec"0e+3" == dec"0.0" - # addx6730 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-00." + dec"0e+3" == dec"0" - # addx6732 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"0" == dec"0" - # addx6733 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-0" == dec"0" - # addx6734 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"0" == dec"0" - # addx6735 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"-0" == dec"-0" - # addx6736 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-1" == dec"0" - # addx6737 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"-1" == dec"-2" - # addx6738 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"1" == dec"2" - # addx6739 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"1" == dec"0" - # addx6741 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-1" == dec"-1" - # addx6742 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"-1" == dec"-1" - # addx6743 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1" == dec"1" - # addx6744 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"1" == dec"1" - # addx6745 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"0" == dec"-1" - # addx6746 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"-0" == dec"-1" - # addx6747 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0" == dec"1" - # addx6748 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-0" == dec"1" - # addx6751 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.0" + dec"-1" == dec"-1.0" - # addx6752 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0.0" + dec"-1" == dec"-1.0" - # addx6753 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.0" + dec"1" == dec"1.0" - # addx6754 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0.0" + dec"1" == dec"1.0" - # addx6755 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1.0" + dec"0" == dec"-1.0" - # addx6756 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1.0" + dec"-0" == dec"-1.0" - # addx6757 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.0" + dec"0" == dec"1.0" - # addx6758 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.0" + dec"-0" == dec"1.0" - # addx6761 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-1.0" == dec"-1.0" - # addx6762 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"-1.0" == dec"-1.0" - # addx6763 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.0" == dec"1.0" - # addx6764 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"1.0" == dec"1.0" - # addx6765 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"0.0" == dec"-1.0" - # addx6766 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1" + dec"-0.0" == dec"-1.0" - # addx6767 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"0.0" == dec"1.0" - # addx6768 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1" + dec"-0.0" == dec"1.0" - # addx6771 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.0" + dec"-1.0" == dec"-1.0" - # addx6772 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0.0" + dec"-1.0" == dec"-1.0" - # addx6773 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0.0" + dec"1.0" == dec"1.0" - # addx6774 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0.0" + dec"1.0" == dec"1.0" - # addx6775 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1.0" + dec"0.0" == dec"-1.0" - # addx6776 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1.0" + dec"-0.0" == dec"-1.0" - # addx6777 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.0" + dec"0.0" == dec"1.0" - # addx6778 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.0" + dec"-0.0" == dec"1.0" - # addx6571 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" + dec"0" == dec"1e-383" - # addx6572 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-384" + dec"0" == dec"1e-384" - # addx6573 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" + dec"1e-384" == dec"1.1e-383" - # addx6574 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" - dec"1e-384" == dec"9e-384" - # addx6575 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384" - # addx6576 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384" - # addx6577 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" - dec"1e-399" == dec"1.000000000000000e-383" - # addx6578 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" - dec"1e-400" == dec"1.000000000000000e-383" - # addx6579 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" - dec"1e-401" == dec"1.000000000000000e-383" - # addx6580 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-383" - dec"1e-402" == dec"1.000000000000000e-383" - # addx6972 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9.999999999999999e+384" == dec"9.999999999999999e+384" - # addx6973 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9.999999999999999e+384" + dec"1" == dec"9.999999999999999e+384" - # addx6974 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999e+369" + dec"1" == dec"9.999999999999999e+384" - # addx6975 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"9999999999999999e+369" + dec"1e+369" - # addx6976 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"9999999999999999e+369" + dec"9e+368" - # addx6977 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"9999999999999999e+369" + dec"8e+368" - # addx6978 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"9999999999999999e+369" + dec"7e+368" - # addx6979 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"9999999999999999e+369" + dec"6e+368" - # addx6980 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"9999999999999999e+369" + dec"5e+368" - # addx6981 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999e+369" + dec"4e+368" == dec"9.999999999999999e+384" - # addx6982 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999e+369" + dec"3e+368" == dec"9.999999999999999e+384" - # addx6983 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999e+369" + dec"2e+368" == dec"9.999999999999999e+384" - # addx6984 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999e+369" + dec"1e+368" == dec"9.999999999999999e+384" - # addx6985 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-9.999999999999999e+384" == dec"-9.999999999999999e+384" - # addx6986 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-9.999999999999999e+384" + dec"-1" == dec"-9.999999999999999e+384" - # addx6987 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-9999999999999999e+369" + dec"-1" == dec"-9.999999999999999e+384" - # addx6988 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"-9999999999999999e+369" + dec"-1e+369" - # addx6989 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"-9999999999999999e+369" + dec"-9e+368" - # addx6990 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"-9999999999999999e+369" + dec"-8e+368" - # addx6991 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"-9999999999999999e+369" + dec"-7e+368" - # addx6992 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"-9999999999999999e+369" + dec"-6e+368" - # addx6993 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test_throws OverflowError dec"-9999999999999999e+369" + dec"-5e+368" - # addx6994 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-9999999999999999e+369" + dec"-4e+368" == dec"-9.999999999999999e+384" - # addx6995 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-9999999999999999e+369" + dec"-3e+368" == dec"-9.999999999999999e+384" - # addx6996 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-9999999999999999e+369" + dec"-2e+368" == dec"-9.999999999999999e+384" - # addx6997 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-9999999999999999e+369" + dec"-1e+368" == dec"-9.999999999999999e+384" - # addx61100 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e+2" + dec"-1e-383" == dec"99.99999999999999" - # addx61101 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e+1" + dec"-1e-383" == dec"9.999999999999999" - # addx61103 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"+1" + dec"-1e-383" == dec"0.9999999999999999" - # addx61104 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-1" + dec"-1e-383" == dec"0.09999999999999999" - # addx61105 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-2" + dec"-1e-383" == dec"0.009999999999999999" - # addx61106 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-3" + dec"-1e-383" == dec"0.0009999999999999999" - # addx61107 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-4" + dec"-1e-383" == dec"0.00009999999999999999" - # addx61108 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-5" + dec"-1e-383" == dec"0.000009999999999999999" - # addx61109 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-6" + dec"-1e-383" == dec"9.999999999999999e-7" - # addx61110 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e+2" + dec"+1e-383" == dec"-99.99999999999999" - # addx61111 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e+1" + dec"+1e-383" == dec"-9.999999999999999" - # addx61113 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1" + dec"+1e-383" == dec"-0.9999999999999999" - # addx61114 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-1" + dec"+1e-383" == dec"-0.09999999999999999" - # addx61115 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-2" + dec"+1e-383" == dec"-0.009999999999999999" - # addx61116 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-3" + dec"+1e-383" == dec"-0.0009999999999999999" - # addx61117 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-4" + dec"+1e-383" == dec"-0.00009999999999999999" - # addx61118 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-5" + dec"+1e-383" == dec"-0.000009999999999999999" - # addx61119 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-6" + dec"+1e-383" == dec"-9.999999999999999e-7" - # addx61300 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5" == dec"1.000000000000000e+16" - # addx61310 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.51" == dec"9999999999999999" - # addx61311 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.501" == dec"9999999999999999" - # addx61312 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5001" == dec"9999999999999999" - # addx61313 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50001" == dec"9999999999999999" - # addx61314 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500001" == dec"9999999999999999" - # addx61315 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000001" == dec"9999999999999999" - # addx61316 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50000001" == dec"9999999999999999" - # addx61317 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500000001" == dec"9999999999999999" - # addx61318 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000000001" == dec"9999999999999999" - # addx61319 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50000000001" == dec"9999999999999999" - # addx61320 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500000000001" == dec"9999999999999999" - # addx61321 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000000000001" == dec"9999999999999999" - # addx61322 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50000000000001" == dec"9999999999999999" - # addx61323 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500000000000001" == dec"9999999999999999" - # addx61324 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000000000000001" == dec"9999999999999999" - # addx61325 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000000000000000" == dec"1.000000000000000e+16" - # addx61326 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500000000000000" == dec"1.000000000000000e+16" - # addx61327 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50000000000000" == dec"1.000000000000000e+16" - # addx61328 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000000000000" == dec"1.000000000000000e+16" - # addx61329 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500000000000" == dec"1.000000000000000e+16" - # addx61330 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50000000000" == dec"1.000000000000000e+16" - # addx61331 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000000000" == dec"1.000000000000000e+16" - # addx61332 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500000000" == dec"1.000000000000000e+16" - # addx61333 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50000000" == dec"1.000000000000000e+16" - # addx61334 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000000" == dec"1.000000000000000e+16" - # addx61335 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500000" == dec"1.000000000000000e+16" - # addx61336 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50000" == dec"1.000000000000000e+16" - # addx61337 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.5000" == dec"1.000000000000000e+16" - # addx61338 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.500" == dec"1.000000000000000e+16" - # addx61339 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-0.50" == dec"1.000000000000000e+16" - # addx61340 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-5000000.000010001" == dec"9999999995000000" - # addx61341 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e16" + dec"-5000000.000000001" == dec"9999999995000000" - # addx61349 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.4" == dec"9999999999999999" - # addx61350 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.49" == dec"9999999999999999" - # addx61351 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.499" == dec"9999999999999999" - # addx61352 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.4999" == dec"9999999999999999" - # addx61353 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.49999" == dec"9999999999999999" - # addx61354 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.499999" == dec"9999999999999999" - # addx61355 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.4999999" == dec"9999999999999999" - # addx61356 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.49999999" == dec"9999999999999999" - # addx61357 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.499999999" == dec"9999999999999999" - # addx61358 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.4999999999" == dec"9999999999999999" - # addx61359 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.49999999999" == dec"9999999999999999" - # addx61360 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.499999999999" == dec"9999999999999999" - # addx61361 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.4999999999999" == dec"9999999999999999" - # addx61362 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.49999999999999" == dec"9999999999999999" - # addx61363 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.499999999999999" == dec"9999999999999999" - # addx61364 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.4999999999999999" == dec"9999999999999999" - # addx61365 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000000000000000" == dec"1.000000000000000e+16" - # addx61367 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500000000000000" == dec"1.000000000000000e+16" - # addx61368 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50000000000000" == dec"1.000000000000000e+16" - # addx61369 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000000000000" == dec"1.000000000000000e+16" - # addx61370 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500000000000" == dec"1.000000000000000e+16" - # addx61371 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50000000000" == dec"1.000000000000000e+16" - # addx61372 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000000000" == dec"1.000000000000000e+16" - # addx61373 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500000000" == dec"1.000000000000000e+16" - # addx61374 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50000000" == dec"1.000000000000000e+16" - # addx61375 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000000" == dec"1.000000000000000e+16" - # addx61376 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500000" == dec"1.000000000000000e+16" - # addx61377 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50000" == dec"1.000000000000000e+16" - # addx61378 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000" == dec"1.000000000000000e+16" - # addx61379 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500" == dec"1.000000000000000e+16" - # addx61380 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50" == dec"1.000000000000000e+16" - # addx61381 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5" == dec"1.000000000000000e+16" - # addx61382 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000000000000001" == dec"1.000000000000000e+16" - # addx61383 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500000000000001" == dec"1.000000000000000e+16" - # addx61384 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50000000000001" == dec"1.000000000000000e+16" - # addx61385 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000000000001" == dec"1.000000000000000e+16" - # addx61386 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500000000001" == dec"1.000000000000000e+16" - # addx61387 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50000000001" == dec"1.000000000000000e+16" - # addx61388 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000000001" == dec"1.000000000000000e+16" - # addx61389 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500000001" == dec"1.000000000000000e+16" - # addx61390 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50000001" == dec"1.000000000000000e+16" - # addx61391 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5000001" == dec"1.000000000000000e+16" - # addx61392 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.500001" == dec"1.000000000000000e+16" - # addx61393 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.50001" == dec"1.000000000000000e+16" - # addx61394 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.5001" == dec"1.000000000000000e+16" - # addx61395 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.501" == dec"1.000000000000000e+16" - # addx61396 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"9999999999999999" + dec"0.51" == dec"1.000000000000000e+16" - # addx61420 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345" == dec"1.123456789012345" - # addx61421 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-1" == dec"0.1123456789012345" - # addx61422 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-2" == dec"0.01123456789012345" - # addx61423 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-3" == dec"0.001123456789012345" - # addx61424 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-4" == dec"0.0001123456789012345" - # addx61425 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-5" == dec"0.00001123456789012345" - # addx61426 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-6" == dec"0.000001123456789012345" - # addx61427 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-7" == dec"1.123456789012345e-7" - # addx61428 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-8" == dec"1.123456789012345e-8" - # addx61429 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-9" == dec"1.123456789012345e-9" - # addx61430 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-10" == dec"1.123456789012345e-10" - # addx61431 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-11" == dec"1.123456789012345e-11" - # addx61432 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-12" == dec"1.123456789012345e-12" - # addx61433 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-13" == dec"1.123456789012345e-13" - # addx61434 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-14" == dec"1.123456789012345e-14" - # addx61435 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-15" == dec"1.123456789012345e-15" - # addx61436 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-16" == dec"1.123456789012345e-16" - # addx61437 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-17" == dec"1.123456789012345e-17" - # addx61438 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-18" == dec"1.123456789012345e-18" - # addx61439 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"1.123456789012345e-19" == dec"1.123456789012345e-19" - # addx61440 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0" == dec"1.123456789012345" - # addx61441 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-1" + dec"0" == dec"0.1123456789012345" - # addx61442 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-2" + dec"0" == dec"0.01123456789012345" - # addx61443 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-3" + dec"0" == dec"0.001123456789012345" - # addx61444 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-4" + dec"0" == dec"0.0001123456789012345" - # addx61445 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-5" + dec"0" == dec"0.00001123456789012345" - # addx61446 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-6" + dec"0" == dec"0.000001123456789012345" - # addx61447 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-7" + dec"0" == dec"1.123456789012345e-7" - # addx61448 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-8" + dec"0" == dec"1.123456789012345e-8" - # addx61449 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-9" + dec"0" == dec"1.123456789012345e-9" - # addx61450 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-10" + dec"0" == dec"1.123456789012345e-10" - # addx61451 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-11" + dec"0" == dec"1.123456789012345e-11" - # addx61452 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-12" + dec"0" == dec"1.123456789012345e-12" - # addx61453 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-13" + dec"0" == dec"1.123456789012345e-13" - # addx61454 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-14" + dec"0" == dec"1.123456789012345e-14" - # addx61455 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-15" + dec"0" == dec"1.123456789012345e-15" - # addx61456 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-16" + dec"0" == dec"1.123456789012345e-16" - # addx61457 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-17" + dec"0" == dec"1.123456789012345e-17" - # addx61458 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-18" + dec"0" == dec"1.123456789012345e-18" - # addx61459 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345e-19" + dec"0" == dec"1.123456789012345e-19" - # addx61460 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-0" == dec"1.123456789012345" - # addx61461 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-1" == dec"1.123456789012345" - # addx61462 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-2" == dec"1.123456789012345" - # addx61463 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-3" == dec"1.123456789012345" - # addx61464 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-4" == dec"1.123456789012345" - # addx61465 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-5" == dec"1.123456789012345" - # addx61466 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-6" == dec"1.123456789012345" - # addx61467 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-7" == dec"1.123456789012345" - # addx61468 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-8" == dec"1.123456789012345" - # addx61469 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-9" == dec"1.123456789012345" - # addx61470 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-10" == dec"1.123456789012345" - # addx61471 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-11" == dec"1.123456789012345" - # addx61472 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-12" == dec"1.123456789012345" - # addx61473 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-13" == dec"1.123456789012345" - # addx61474 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-14" == dec"1.123456789012345" - # addx61475 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-15" == dec"1.123456789012345" - # addx61476 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-16" == dec"1.123456789012345" - # addx61477 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-17" == dec"1.123456789012345" - # addx61478 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-18" == dec"1.123456789012345" - # addx61479 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1.123456789012345" + dec"0e-19" == dec"1.123456789012345" - # addx61500 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx61501 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx61502 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx61503 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx61504 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx61505 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx61506 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx61507 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx61511 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx61512 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx61513 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61514 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61515 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx61516 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx61517 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx61518 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx61540 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx61541 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx61542 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx61543 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx61544 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx61545 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx61546 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx61547 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx61551 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx61552 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx61553 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61554 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61555 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx61556 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx61557 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx61558 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx61560 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx61561 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx61562 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx61563 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx61564 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx61565 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx61566 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx61567 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx61571 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"1e-400" == dec"1e-398" - # addx61572 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"1e-400" == dec"1e-398" - # addx61573 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"-1e-400" == dec"-1e-398" - # addx61574 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"-1e-400" == dec"-1e-398" - # addx61575 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"1e-401" == dec"1e-398" - # addx61576 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx61577 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx61578 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"-1e-401" + dec"-1e-401" == dec"-1e-398" - # addx61580 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx61581 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx61582 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx61583 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx61584 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx61585 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx61586 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx61587 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx61591 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx61592 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx61593 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61594 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61595 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx61596 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx61597 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx61598 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundToZero) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx61600 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx61601 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0" + dec"0e-19" == dec"0e-19" - # addx61602 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0" + dec"-0e-19" == dec"0e-19" - # addx61603 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx61604 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx61605 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0e-400" + dec"0e-19" == dec"0e-398" - # addx61606 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"0e-400" + dec"-0e-19" == dec"0e-398" - # addx61607 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx61611 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"1e-400" == dec"1e-398" - # addx61612 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"1e-400" == dec"1e-398" - # addx61613 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61614 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"-1e-400" == dec"-0e-398" - # addx61615 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"1e-401" == dec"1e-398" - # addx61616 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"1e-401" == dec"0e-398" - # addx61617 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"1e-401" + dec"-1e-401" == dec"0e-398" - # addx61618 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundUp) @test dec"-1e-401" + dec"-1e-401" == dec"-0e-398" - # addx61620 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0" + dec"0e-19" == dec"0e-19" - # addx61621 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0" + dec"0e-19" == dec"-0e-19" - # addx61622 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0" + dec"-0e-19" == dec"-0e-19" - # addx61623 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0" + dec"-0e-19" == dec"-0e-19" - # addx61624 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0e-400" + dec"0e-19" == dec"0e-398" - # addx61625 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0e-400" + dec"0e-19" == dec"-0e-398" - # addx61626 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"0e-400" + dec"-0e-19" == dec"-0e-398" - # addx61627 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-0e-400" + dec"-0e-19" == dec"-0e-398" - # addx61631 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"1e-400" == dec"0e-398" - # addx61632 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"1e-400" == dec"0e-398" - # addx61633 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"-1e-400" == dec"-1e-398" - # addx61634 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"-1e-400" == dec"-1e-398" - # addx61635 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"1e-401" == dec"0e-398" - # addx61636 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"1e-401" == dec"-0e-398" - # addx61637 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e-401" + dec"-1e-401" == dec"-0e-398" - # addx61638 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"-1e-401" + dec"-1e-401" == dec"-1e-398" - # addx61701 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"130e-2" + dec"120e-2" == dec"2.50" - # addx61702 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"130e-2" + dec"12e-1" == dec"2.50" - # addx61703 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"130e-2" + dec"1e0" == dec"2.30" - # addx61704 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e2" + dec"1e4" == dec"1.01e+4" - # addx61705 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"130e-2" - dec"120e-2" == dec"0.10" - # addx61706 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"130e-2" - dec"12e-1" == dec"0.10" - # addx61707 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"130e-2" - dec"1e0" == dec"0.30" - # addx61708 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundDown) @test dec"1e2" - dec"1e4" == dec"-9.9e+3" - # addx62001 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"1" == dec"1234567890123457" - # addx62002 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"0.6" == dec"1234567890123457" - # addx62003 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"0.06" == dec"1234567890123456" - # addx62004 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-3" == dec"1234567890123456" - # addx62005 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-4" == dec"1234567890123456" - # addx62006 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-5" == dec"1234567890123456" - # addx62007 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-6" == dec"1234567890123456" - # addx62008 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-7" == dec"1234567890123456" - # addx62009 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-8" == dec"1234567890123456" - # addx62010 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-9" == dec"1234567890123456" - # addx62011 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-10" == dec"1234567890123456" - # addx62012 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-11" == dec"1234567890123456" - # addx62013 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-12" == dec"1234567890123456" - # addx62014 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-13" == dec"1234567890123456" - # addx62015 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-14" == dec"1234567890123456" - # addx62016 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-15" == dec"1234567890123456" - # addx62017 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-16" == dec"1234567890123456" - # addx62018 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-17" == dec"1234567890123456" - # addx62019 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-18" == dec"1234567890123456" - # addx62020 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-19" == dec"1234567890123456" - # addx62021 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"1234567890123456" + dec"6e-20" == dec"1234567890123456" - # addx62030 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"1" == dec"12345679" - # addx62031 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1" == dec"12345678.1" - # addx62032 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.12" == dec"12345678.12" - # addx62033 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.123" == dec"12345678.123" - # addx62034 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1234" == dec"12345678.1234" - # addx62035 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.12345" == dec"12345678.12345" - # addx62036 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.123456" == dec"12345678.123456" - # addx62037 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1234567" == dec"12345678.1234567" - # addx62038 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.12345678" == dec"12345678.12345678" - # addx62039 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.123456789" == dec"12345678.12345679" - # addx62040 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.123456785" == dec"12345678.12345678" - # addx62041 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1234567850" == dec"12345678.12345678" - # addx62042 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1234567851" == dec"12345678.12345679" - # addx62043 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.12345678501" == dec"12345678.12345679" - # addx62044 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.123456785001" == dec"12345678.12345679" - # addx62045 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1234567850001" == dec"12345678.12345679" - # addx62046 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.12345678500001" == dec"12345678.12345679" - # addx62047 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.123456785000001" == dec"12345678.12345679" - # addx62048 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1234567850000001" == dec"12345678.12345679" - # addx62049 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.1234567850000000" == dec"12345678.12345678" - # addx62050 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0234567750000000" == dec"12345678.02345678" - # addx62051 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0034567750000000" == dec"12345678.00345678" - # addx62052 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0004567750000000" == dec"12345678.00045678" - # addx62053 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000567750000000" == dec"12345678.00005678" - # addx62054 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000067750000000" == dec"12345678.00000678" - # addx62055 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000007750000000" == dec"12345678.00000078" - # addx62056 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000000750000000" == dec"12345678.00000008" - # addx62057 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000000050000000" == dec"12345678.00000000" - # addx62060 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0234567750000001" == dec"12345678.02345678" - # addx62061 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0034567750000001" == dec"12345678.00345678" - # addx62062 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0004567750000001" == dec"12345678.00045678" - # addx62063 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000567750000001" == dec"12345678.00005678" - # addx62064 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000067750000001" == dec"12345678.00000678" - # addx62065 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000007750000001" == dec"12345678.00000078" - # addx62066 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000000750000001" == dec"12345678.00000008" - # addx62067 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearest) @test dec"12345678" + dec"0.0000000050000001" == dec"12345678.00000001" - # addx62070 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-8" == dec"12345678.00000001" - # addx62071 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-9" == dec"12345678.00000001" - # addx62072 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-10" == dec"12345678.00000001" - # addx62073 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-11" == dec"12345678.00000001" - # addx62074 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-12" == dec"12345678.00000001" - # addx62075 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-13" == dec"12345678.00000001" - # addx62076 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-14" == dec"12345678.00000001" - # addx62077 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-15" == dec"12345678.00000001" - # addx62078 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-16" == dec"12345678.00000001" - # addx62079 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-17" == dec"12345678.00000001" - # addx62080 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-18" == dec"12345678.00000001" - # addx62081 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-19" == dec"12345678.00000001" - # addx62082 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-20" == dec"12345678.00000001" - # addx62083 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-25" == dec"12345678.00000001" - # addx62084 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-30" == dec"12345678.00000001" - # addx62085 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-31" == dec"12345678.00000001" - # addx62086 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-32" == dec"12345678.00000001" - # addx62087 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-33" == dec"12345678.00000001" - # addx62088 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-34" == dec"12345678.00000001" - # addx62089 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundFromZero) @test dec"12345678" + dec"1e-35" == dec"12345678.00000001" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" + dec"3" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.75" + dec"3.3" == dec"9.05") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" + dec"-3" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5" + dec"-3" == dec"-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-7" + dec"2.5" == dec"-4.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.7" + dec"0.3" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.25" + dec"1.25" == dec"2.50") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.23456789" + dec"1.00000000" == dec"2.23456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.23456789" + dec"1.00000011" == dec"2.23456800") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444" + dec"0.5555555555" == dec"1.00000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444440" + dec"0.5555555555" == dec"1.00000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444" + dec"0.5555555550" == dec"0.999999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.44444444449" + dec"0" == dec"0.444444444") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444499" + dec"0" == dec"0.444444444") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444999" + dec"0" == dec"0.444444444") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444445000" + dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444445001" + dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444501" + dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.44444444451" + dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" + dec"1" == dec"3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" + dec"1" == dec"4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"4" + dec"1" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" + dec"1" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6" + dec"1" == dec"7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7" + dec"1" == dec"8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"8" + dec"1" == dec"9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" + dec"1" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" + dec"0.0000" == dec"0.9998") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" + dec"0.0001" == dec"0.9999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" + dec"0.0002" == dec"1.0000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" + dec"0.0003" == dec"1.0001") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70" + dec"10000e+9" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700" + dec"10000e+9" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7000" + dec"10000e+9" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70000" + dec"10000e+9" == dec"1.00000001e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700000" + dec"10000e+9" == dec"1.00000007e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"70" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"700" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"7000" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"70000" == dec"1.00000001e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"700000" == dec"1.00000007e+13") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"7" == dec"10000000000007") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"70" == dec"10000000000070") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"700" == dec"10000000000700") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"7000" == dec"10000000007000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"70000" == dec"10000000070000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"700000" == dec"10000000700000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"7000000" == dec"10000007000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12" + dec"7.00" == dec"19.00") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.3" + dec"-1.07" == dec"0.23") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.3" + dec"-1.30" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.3" + dec"-2.07" == dec"-0.77") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+2" + dec"1e+4" == dec"1.01e+4") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" + dec"70000" == dec"1.00000e+13") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.0001" == dec"1.0001") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.00001" == dec"1.00001") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.000001" == dec"1.00000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.0000001" == dec"1.00000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.00000001" == dec"1.00000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0." == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec".0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.00" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0." + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec".0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" + dec"1" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999998" + dec"1" == dec"999999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999" + dec"1" == dec"1.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999999" + dec"1" == dec"100000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999" + dec"1" == dec"10000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999" + dec"1" == dec"1000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999" + dec"1" == dec"100000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999" + dec"1" == dec"10000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999" + dec"1" == dec"1000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99" + dec"1" == dec"100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" + dec"1" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-10" + dec"0" == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-6" + dec"0" == dec"-0.056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-5" + dec"0" == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-4" + dec"0" == dec"-5.6267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-3" + dec"0" == dec"-56.267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-2" + dec"0" == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-1" + dec"0" == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-0" + dec"0" == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-10" + dec"0" == dec"-5e-10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-7" + dec"0" == dec"-5e-7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-6" + dec"0" == dec"-0.000005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-5" + dec"0" == dec"-0.00005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-4" + dec"0" == dec"-0.0005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-1" + dec"0" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e0" + dec"0" == dec"-5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e1" + dec"0" == dec"-50") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e5" + dec"0" == dec"-500000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e8" + dec"0" == dec"-500000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e9" + dec"0" == dec"-5.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e10" + dec"0" == dec"-5.00000000e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e11" + dec"0" == dec"-5.00000000e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e100" + dec"0" == dec"-5.00000000e+100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-10" == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-6" == dec"-0.056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-5" == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-4" == dec"-5.6267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-3" == dec"-56.267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-2" == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-1" == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-56267e-0" == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e-10" == dec"-5e-10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e-7" == dec"-5e-7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e-6" == dec"-0.000005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e-5" == dec"-0.00005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e-4" == dec"-0.0005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e-1" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e0" == dec"-5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e1" == dec"-50") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e5" == dec"-500000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e8" == dec"-500000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e9" == dec"-5.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e10" == dec"-5.00000000e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e11" == dec"-5.00000000e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-5e100" == dec"-5.00000000e+100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0e-12" == dec"1.00000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"0e-12" == dec"-1.00000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-12" + dec"1" == dec"1.00000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-12" + dec"-1" == dec"-1.00000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+4" + dec"0.0000" == dec"10000.0000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+4" + dec"0.00000" == dec"10000.0000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.000" + dec"1e+5" == dec"100000.000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0000" + dec"1e+5" == dec"100000.000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.0" + dec"0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" + dec"0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"0.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"00.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.0" + dec"0.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" + dec"00.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" + dec".3" == dec"3.3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3." + dec".3" == dec"3.3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3.0" + dec".3" == dec"3.3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3.00" + dec".3" == dec"3.30") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" + dec"3" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" + dec"+3" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" + dec"-3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.3" + dec"-0.3" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.03" + dec"-0.03" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+12" + dec"-1" == dec"999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+12" + dec"1.11" == dec"1000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.11" + dec"1e+12" == dec"1000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"1e+12" == dec"999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7e+12" + dec"-1" == dec"6999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7e+12" + dec"1.11" == dec"7000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.11" + dec"7e+12" == dec"7000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"7e+12" == dec"6999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555563" == dec"1.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555562" == dec"1.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555561" == dec"1.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555560" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555559" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555558" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555557" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555556" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555555" == dec"0.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555554" == dec"0.999999999999998") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555553" == dec"0.999999999999997") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555552" == dec"0.999999999999996") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555551" == dec"0.999999999999995") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" + dec"0.555555555555550" == dec"0.999999999999994") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.000000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.1" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.4" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.49" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.499999999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.5" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.500000001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.500001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.51" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.6" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.9" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.99999" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.999999999" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"1" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"1.000000001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"1.00001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"1.1" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.000000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.1" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.4" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.49" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.499999999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.5" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.500000001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.500001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.51" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.6" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.9" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.99999" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.999999999" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"1" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"1.00000001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"1.00001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"1.1" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" + dec"0.499999999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" + dec"0.5" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" + dec"0.500000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.000000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.1" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.4" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.49" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.499999999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.5" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.500000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.500001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.51" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.6" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.9" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.99999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.999999999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"1" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"1.00000001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"1.00001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"1.1" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678900000" + dec"9999999999999" == dec"2.23e+13") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999" + dec"12345678900000" == dec"2.23e+13") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" + dec"3444" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" + dec"3446" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" + dec"3449.9" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" + dec"3450.0" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" + dec"3450.1" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" + dec"3454" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" + dec"3456" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3444" + dec"12e+3" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3446" + dec"12e+3" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3449.9" + dec"12e+3" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3450.0" + dec"12e+3" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3450.1" + dec"12e+3" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3454" + dec"12e+3" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3456" + dec"12e+3" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12" + dec"1" == dec"13") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98" + dec"1" == dec"99") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99" + dec"1" == dec"100") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"100" + dec"1" == dec"101") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" + dec"1" == dec"102") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"-1" == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"-1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12" + dec"-1" == dec"11") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98" + dec"-1" == dec"97") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99" + dec"-1" == dec"98") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"100" + dec"-1" == dec"99") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" + dec"-1" == dec"100") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.01" + dec"0.01" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" + dec"0.01" == dec"0.01") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.01" + dec"0.01" == dec"0.02") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.12" + dec"0.01" == dec"0.13") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.98" + dec"0.01" == dec"0.99") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.99" + dec"0.01" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00" + dec"0.01" == dec"1.01") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.01" + dec"0.01" == dec"1.02") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.01" + dec"-0.01" == dec"-0.02") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" + dec"-0.01" == dec"-0.01") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.01" + dec"-0.01" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.12" + dec"-0.01" == dec"0.11") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.98" + dec"-0.01" == dec"0.97") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.99" + dec"-0.01" == dec"0.98") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00" + dec"-0.01" == dec"0.99") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.01" + dec"-0.01" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+3" + dec"0" == dec"1000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+8" + dec"0" == dec"100000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+9" + dec"0" == dec"1.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+10" + dec"0" == dec"1.00000000e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+3" + dec"1" == dec"1001") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+8" + dec"1" == dec"100000001") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+9" + dec"1" == dec"1.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+10" + dec"1" == dec"1.00000000e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+3" + dec"7" == dec"1007") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+8" + dec"7" == dec"100000007") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+9" + dec"7" == dec"1.00000001e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+10" + dec"7" == dec"1.00000000e+10") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+50" + dec"10000e+1" == dec"1.0000e+5") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+1" + dec"0e-50" == dec"100000.0") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+1" + dec"10000e-50" == dec"100000.0") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999e+92" + dec"-9.999999e+92" == dec"0e+86") +@with_context (Emax = 92, Emin = -92, precision = 10, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999999" + dec"81512" == dec"100081511") +@with_context (Emax = 92, Emin = -92, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999999" + dec"81512" == dec"1.00082e+8") +@with_context (Emax = 92, Emin = -92, precision = 10, rounding = RoundingMode{:Nearest}()) @test(dec"99999999" + dec"81512" == dec"100081511") +@with_context (Emax = 92, Emin = -92, precision = 6, rounding = RoundingMode{:Nearest}()) @test(dec"99999999" + dec"81512" == dec"1.00082e+8") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-7" == dec"1.0000077") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-8" == dec"1.00000077") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-9" == dec"1.00000008") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-10" == dec"1.00000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-11" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-12" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-999" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-9999999" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-7" == dec"10.0000077") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-8" == dec"10.0000008") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-9" == dec"10.0000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-11" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-12" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-999" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-9999999" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-7" + dec"1" == dec"1.0000077") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-8" + dec"1" == dec"1.00000077") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9" + dec"1" == dec"1.00000008") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-10" + dec"1" == dec"1.00000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-11" + dec"1" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-12" + dec"1" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-999" + dec"1" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9999999" + dec"1" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-7" + dec"10" == dec"10.0000077") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-8" + dec"10" == dec"10.0000008") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9" + dec"10" == dec"10.0000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-10" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-11" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-12" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-999" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9999999" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-7" == dec"0.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-8" == dec"0.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-9" == dec"0.999999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-10" == dec"0.999999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-11" == dec"0.999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-12" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-999" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-9999999" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-7" == dec"9.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-8" == dec"9.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-9" == dec"9.99999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-10" == dec"9.99999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-11" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-12" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-999" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-9999999" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-7" + dec"1" == dec"0.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-8" + dec"1" == dec"0.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-9" + dec"1" == dec"0.999999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-10" + dec"1" == dec"0.999999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-11" + dec"1" == dec"0.999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-12" + dec"1" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-999" + dec"1" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-9999999" + dec"1" == dec"1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-7" + dec"10" == dec"9.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-8" + dec"10" == dec"9.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-9" + dec"10" == dec"9.99999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-10" + dec"10" == dec"9.99999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-11" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-12" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-999" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-9999999" + dec"10" == dec"10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-7" == dec"-0.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-8" == dec"-0.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-9" == dec"-0.999999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-10" == dec"-0.999999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-11" == dec"-0.999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-12" == dec"-1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-999" == dec"-1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-9999999" == dec"-1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-7" == dec"-9.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-8" == dec"-9.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-9" == dec"-9.99999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-10" == dec"-9.99999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-11" == dec"-10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-12" == dec"-10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-999" == dec"-10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-9999999" == dec"-10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-7" + dec"-1" == dec"-0.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-8" + dec"-1" == dec"-0.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9" + dec"-1" == dec"-0.999999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-10" + dec"-1" == dec"-0.999999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-11" + dec"-1" == dec"-0.999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-12" + dec"-1" == dec"-1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-999" + dec"-1" == dec"-1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9999999" + dec"-1" == dec"-1.00000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-7" + dec"-10" == dec"-9.9999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-8" + dec"-10" == dec"-9.99999923") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9" + dec"-10" == dec"-9.99999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-10" + dec"-10" == dec"-9.99999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-11" + dec"-10" == dec"-10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-12" + dec"-10" == dec"-10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-999" + dec"-10" == dec"-10.0000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"77e-9999999" + dec"-10" == dec"-10.0000000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"12345678000" + dec"0" == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"12345678000" == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1234567800" + dec"0" == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567800" == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890" + dec"0" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567890" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1234567891" + dec"0" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567891" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"12345678901" + dec"0" == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"12345678901" == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1234567896" + dec"0" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567896" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"12345678000" + dec"0" == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"12345678000" == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"1234567800" + dec"0" == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567800" == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890" + dec"0" == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567890" == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"1234567891" + dec"0" == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567891" == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"12345678901" + dec"0" == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"12345678901" == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"1234567896" + dec"0" == dec"1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1234567896" == dec"1234567896") +@with_context (Emax = 394, Emin = -393, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-398" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384") +@with_context (Emax = 394, Emin = -393, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-388" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Down}()) @test(dec"123456789" + dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Up}()) @test(dec"123456789" + dec"0.000001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:FromZero}()) @test(dec"123456789" + dec"0.000001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"-0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"-0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Down}()) @test(dec"123456789" + dec"-0.000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Up}()) @test(dec"123456789" + dec"-0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:FromZero}()) @test(dec"123456789" + dec"-0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"-0.000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Down}()) @test(dec"123456789" + dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Up}()) @test(dec"123456789" + dec"0.499999" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:FromZero}()) @test(dec"123456789" + dec"0.499999" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"-0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"-0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Down}()) @test(dec"123456789" + dec"-0.499999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Up}()) @test(dec"123456789" + dec"-0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:FromZero}()) @test(dec"123456789" + dec"-0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"-0.499999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"0.500001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"0.500001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Down}()) @test(dec"123456789" + dec"0.500001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Up}()) @test(dec"123456789" + dec"0.500001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:FromZero}()) @test(dec"123456789" + dec"0.500001" == dec"123456790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"0.500001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" + dec"-0.500001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" + dec"-0.500001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Down}()) @test(dec"123456789" + dec"-0.500001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Up}()) @test(dec"123456789" + dec"-0.500001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:FromZero}()) @test(dec"123456789" + dec"-0.500001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" + dec"-0.500001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 37, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337114834538") +@with_context (Emax = 384, Emin = -383, precision = 36, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892233711483454") +@with_context (Emax = 384, Emin = -383, precision = 35, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223371148345") +@with_context (Emax = 384, Emin = -383, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337114835") +@with_context (Emax = 384, Emin = -383, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892233711483") +@with_context (Emax = 384, Emin = -383, precision = 32, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223371148") +@with_context (Emax = 384, Emin = -383, precision = 31, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337115") +@with_context (Emax = 384, Emin = -383, precision = 30, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892233711") +@with_context (Emax = 384, Emin = -383, precision = 29, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223371") +@with_context (Emax = 384, Emin = -383, precision = 28, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922337") +@with_context (Emax = 384, Emin = -383, precision = 27, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892234") +@with_context (Emax = 384, Emin = -383, precision = 26, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389223") +@with_context (Emax = 384, Emin = -383, precision = 25, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023638922") +@with_context (Emax = 384, Emin = -383, precision = 24, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102363892") +@with_context (Emax = 384, Emin = -383, precision = 23, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236389") +@with_context (Emax = 384, Emin = -383, precision = 22, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211023639") +@with_context (Emax = 384, Emin = -383, precision = 21, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102364") +@with_context (Emax = 384, Emin = -383, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110236") +@with_context (Emax = 384, Emin = -383, precision = 19, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211024") +@with_context (Emax = 384, Emin = -383, precision = 18, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221102") +@with_context (Emax = 384, Emin = -383, precision = 17, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422110") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42211") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4221") +@with_context (Emax = 384, Emin = -383, precision = 14, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.422") +@with_context (Emax = 384, Emin = -383, precision = 13, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.42") +@with_context (Emax = 384, Emin = -383, precision = 12, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166.4") +@with_context (Emax = 384, Emin = -383, precision = 11, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"98471174166") +@with_context (Emax = 384, Emin = -383, precision = 10, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.847117417e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.84711742e+10") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.8471174e+10") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.847117e+10") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.84712e+10") +@with_context (Emax = 384, Emin = -383, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.8471e+10") +@with_context (Emax = 384, Emin = -383, precision = 4, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.847e+10") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.85e+10") +@with_context (Emax = 384, Emin = -383, precision = 2, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"9.8e+10") +@with_context (Emax = 384, Emin = -383, precision = 1, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"98471198160.56524417578665886060" + dec"-23994.14313393939743548945165462" == dec"1e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.00" + dec"1.00e-3" == dec"5.00100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.00" + dec"0.000" == dec"0.000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.00" + dec"0e-3" == dec"0.000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-3" + dec"00.00" == dec"0.000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00." == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00.e+1" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00.e+2" == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00.e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00.e+4" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"00.e+5" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"-00.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"-00." == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" + dec"-00.e+1" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.00" + dec"0e+3" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.0" + dec"0e+3" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00." + dec"0e+3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.e+1" + dec"0e+3" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.e+2" + dec"0e+3" == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.e+3" + dec"0e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.e+4" + dec"0e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.e+5" + dec"0e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-00.00" + dec"0e+3" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-00.0" + dec"0e+3" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-00." + dec"0e+3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"-0" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"-1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"-1" == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"-1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"0" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"-0" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"-0" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" + dec"-1" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" + dec"-1" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" + dec"0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" + dec"-0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" + dec"0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" + dec"-0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" + dec"-0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" + dec"-0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" + dec"0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" + dec"-0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" + dec"0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" + dec"-0.0" == dec"1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.1e-999999999" + dec"1e-999999999" == dec"-1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-999999999" + dec"-1.1e-999999999" == dec"-1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0001e-999999999" + dec"1e-999999999" == dec"-1e-1000000003") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-999999999" + dec"-1.0001e-999999999" == dec"-1e-1000000003") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"+1.1e-999999999" + dec"-1e-999999999" == dec"1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-999999999" + dec"+1.1e-999999999" == dec"1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"+1.0001e-999999999" + dec"-1e-999999999" == dec"1e-1000000003") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-999999999" + dec"+1.0001e-999999999" == dec"1e-1000000003") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e+999999999" + dec"+9e+999999999" == dec"8e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9e+999999999" + dec"+1e+999999999" == dec"-8e+999999999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00e-999" + dec"0" == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1e-999" + dec"0" == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.10e-999" + dec"0" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.100e-999" + dec"0" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.01e-999" + dec"0" == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.999e-999" + dec"0" == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.099e-999" + dec"0" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.009e-999" + dec"0" == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.001e-999" + dec"0" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0009e-999" + dec"0" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0001e-999" + dec"0" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.00e-999" + dec"0" == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.1e-999" + dec"0" == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.10e-999" + dec"0" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.100e-999" + dec"0" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.01e-999" + dec"0" == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.999e-999" + dec"0" == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.099e-999" + dec"0" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.009e-999" + dec"0" == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.001e-999" + dec"0" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0009e-999" + dec"0" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0001e-999" + dec"0" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00e-999" + dec"0.1e-999" == dec"1.10e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1e-999" + dec"0.1e-999" == dec"2e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.10e-999" + dec"0.1e-999" == dec"2.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.100e-999" + dec"0.1e-999" == dec"2.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.01e-999" + dec"0.1e-999" == dec"1.1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.999e-999" + dec"0.1e-999" == dec"1.10e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.099e-999" + dec"0.1e-999" == dec"2.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.009e-999" + dec"0.1e-999" == dec"1.1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.001e-999" + dec"0.1e-999" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0009e-999" + dec"0.1e-999" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0001e-999" + dec"0.1e-999" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00e-999" + dec"-0.1e-999" == dec"9.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1e-999" + dec"-0.1e-999" == dec"0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.10e-999" + dec"-0.1e-999" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.100e-999" + dec"-0.1e-999" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.01e-999" + dec"-0.1e-999" == dec"-9e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.999e-999" + dec"-0.1e-999" == dec"9.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.099e-999" + dec"-0.1e-999" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.009e-999" + dec"-0.1e-999" == dec"-9e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.001e-999" + dec"-0.1e-999" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0009e-999" + dec"-0.1e-999" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0001e-999" + dec"-0.1e-999" == dec"-1.0e-1000") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999061735e-394" + dec"0e-394" == dec"9.999906e-384") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999061735e-394" + dec"0e-394" == dec"9.99991e-384") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999061735e-394" + dec"0e-394" == dec"9.9999e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" + dec"0" == dec"1e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-384" + dec"0" == dec"1e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" + dec"1e-384" == dec"1.1e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" - dec"1e-384" == dec"9e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" - dec"1e-399" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" - dec"1e-400" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" - dec"1e-401" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-383" - dec"1e-402" == dec"1.000000000000000e-383") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999e+96" == dec"9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999e+96" + dec"1" == dec"9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999e+90" + dec"1" == dec"9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999e+90" + dec"4e+89" == dec"9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999e+90" + dec"3e+89" == dec"9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999e+90" + dec"2e+89" == dec"9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999e+90" + dec"1e+89" == dec"9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9.999999e+96" == dec"-9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9.999999e+96" + dec"-1" == dec"-9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9999999e+90" + dec"-1" == dec"-9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9999999e+90" + dec"-4e+89" == dec"-9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9999999e+90" + dec"-3e+89" == dec"-9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9999999e+90" + dec"-2e+89" == dec"-9.999999e+96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9999999e+90" + dec"-1e+89" == dec"-9.999999e+96") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52444e-80" + dec"0" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52445e-80" + dec"0" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52446e-80" + dec"0" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.52444e-80" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.52445e-80" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.52446e-80" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52444e-80" + dec"1e-100" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52445e-80" + dec"1e-100" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52446e-80" + dec"1e-100" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-100" + dec"1.52444e-80" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-100" + dec"1.52445e-80" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-100" + dec"1.52446e-80" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52443e-80" + dec"1.00001e-80" == dec"2.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52444e-80" + dec"1.00001e-80" == dec"2.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52445e-80" + dec"1.00001e-80" == dec"2.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00001e-80" + dec"1.52443e-80" == dec"2.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00001e-80" + dec"1.52444e-80" == dec"2.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00001e-80" + dec"1.52445e-80" == dec"2.524e-80") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e+2" + dec"-1e-383" == dec"99.99999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e+1" + dec"-1e-383" == dec"9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"+1" + dec"-1e-383" == dec"0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-1" + dec"-1e-383" == dec"0.09999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-2" + dec"-1e-383" == dec"0.009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-3" + dec"-1e-383" == dec"0.0009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-4" + dec"-1e-383" == dec"0.00009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-5" + dec"-1e-383" == dec"0.000009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-6" + dec"-1e-383" == dec"9.999999999999999e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e+2" + dec"+1e-383" == dec"-99.99999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e+1" + dec"+1e-383" == dec"-9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1" + dec"+1e-383" == dec"-0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-1" + dec"+1e-383" == dec"-0.09999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-2" + dec"+1e-383" == dec"-0.009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-3" + dec"+1e-383" == dec"-0.0009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-4" + dec"+1e-383" == dec"-0.00009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-5" + dec"+1e-383" == dec"-0.000009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-6" + dec"+1e-383" == dec"-9.999999999999999e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e+2" == dec"-99.99999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e+1" == dec"-9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1" == dec"-0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e-1" == dec"-0.09999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e-2" == dec"-0.009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e-3" == dec"-0.0009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e-4" == dec"-0.00009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e-5" == dec"-0.000009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"+1e-383" + dec"-1e-6" == dec"-9.999999999999999e-7") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1" + dec"-1e-200" == dec"0.9999999") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1.000000e-94" + dec"-1e-200" == dec"9.999999e-95") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1.000001e-95" + dec"-1e-200" == dec"1.000000e-95") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1.000000e-95" + dec"-1e-200" == dec"9.99999e-96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"0.999999e-95" + dec"-1e-200" == dec"9.99998e-96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"0.001000e-95" + dec"-1e-200" == dec"9.99e-99") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"0.000999e-95" + dec"-1e-200" == dec"9.98e-99") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1.000000e-95" + dec"-1e-101" == dec"9.99999e-96") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"10000e-101" + dec"-1e-200" == dec"9.999e-98") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1000e-101" + dec"-1e-200" == dec"9.99e-99") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"100e-101" + dec"-1e-200" == dec"9.9e-100") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"10e-101" + dec"-1e-200" == dec"9e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1e-101" + dec"-1e-200" == dec"0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"0e-101" + dec"-1e-200" == dec"-0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1e-102" + dec"-1e-200" == dec"0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"10000e-102" + dec"-1e-200" == dec"9.99e-99") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1000e-102" + dec"-1e-200" == dec"9.9e-100") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"100e-102" + dec"-1e-200" == dec"9e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"10e-102" + dec"-1e-200" == dec"0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1e-102" + dec"-1e-200" == dec"0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"0e-102" + dec"-1e-200" == dec"-0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"1e-103" + dec"-1e-200" == dec"0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"100e-105" + dec"-1e-101" == dec"-0e-101") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"100e-105" + dec"-1e-201" == dec"0e-101") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.5" == dec"1.00000000000000e+15") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.50" == dec"1.00000000000000e+15") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.51" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.501" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.5001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.50001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.500001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.5000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.50000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.500000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.5000000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.50000000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.500000000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.5000000000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.50000000000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.500000000000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.5000000000000001" == dec"999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-0.5000000000000000" == dec"1.00000000000000e+15") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e15" + dec"-5000000.000000001" == dec"999999995000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.51" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.501" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.5000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.500" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-0.50" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-5000000.000010001" == dec"9999999995000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e16" + dec"-5000000.000000001" == dec"9999999995000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.4" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.49" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.499" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.4999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.49999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.499999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.4999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.49999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.499999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.4999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.49999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.499999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.4999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.49999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.499999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.4999999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.500001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.50001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.5001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.501" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999999" + dec"0.51" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345" == dec"1.23456789012345") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-1" == dec"0.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-2" == dec"0.0123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-3" == dec"0.00123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-4" == dec"0.000123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-5" == dec"0.0000123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-6" == dec"0.00000123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-7" == dec"1.23456789012345e-7") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-8" == dec"1.23456789012345e-8") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-9" == dec"1.23456789012345e-9") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-10" == dec"1.23456789012345e-10") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-11" == dec"1.23456789012345e-11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-12" == dec"1.23456789012345e-12") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-13" == dec"1.23456789012345e-13") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-14" == dec"1.23456789012345e-14") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-15" == dec"1.23456789012345e-15") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-16" == dec"1.23456789012345e-16") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-17" == dec"1.23456789012345e-17") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-18" == dec"1.23456789012345e-18") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.23456789012345e-19" == dec"1.23456789012345e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-1" == dec"0.1123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-2" == dec"0.01123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-3" == dec"0.001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-4" == dec"0.0001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-5" == dec"0.00001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-6" == dec"0.000001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-7" == dec"1.123456789012345e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-8" == dec"1.123456789012345e-8") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-9" == dec"1.123456789012345e-9") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-10" == dec"1.123456789012345e-10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-11" == dec"1.123456789012345e-11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-12" == dec"1.123456789012345e-12") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-13" == dec"1.123456789012345e-13") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-14" == dec"1.123456789012345e-14") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-15" == dec"1.123456789012345e-15") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-16" == dec"1.123456789012345e-16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-17" == dec"1.123456789012345e-17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-18" == dec"1.123456789012345e-18") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"1.123456789012345e-19" == dec"1.123456789012345e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-1" + dec"0" == dec"0.1123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-2" + dec"0" == dec"0.01123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-3" + dec"0" == dec"0.001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-4" + dec"0" == dec"0.0001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-5" + dec"0" == dec"0.00001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-6" + dec"0" == dec"0.000001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-7" + dec"0" == dec"1.123456789012345e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-8" + dec"0" == dec"1.123456789012345e-8") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-9" + dec"0" == dec"1.123456789012345e-9") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-10" + dec"0" == dec"1.123456789012345e-10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-11" + dec"0" == dec"1.123456789012345e-11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-12" + dec"0" == dec"1.123456789012345e-12") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-13" + dec"0" == dec"1.123456789012345e-13") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-14" + dec"0" == dec"1.123456789012345e-14") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-15" + dec"0" == dec"1.123456789012345e-15") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-16" + dec"0" == dec"1.123456789012345e-16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-17" + dec"0" == dec"1.123456789012345e-17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-18" + dec"0" == dec"1.123456789012345e-18") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345e-19" + dec"0" == dec"1.123456789012345e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-0" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-1" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-2" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-3" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-4" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-5" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-6" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-7" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-8" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-9" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-10" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-11" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-12" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-13" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-14" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-15" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-16" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-17" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-18" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.123456789012345" + dec"0e-19" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"1e-401" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"1e-401" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0" + dec"0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0e-400" + dec"0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:ToZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:ToZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6") +@with_context (Emax = 384, Emin = -383, precision = 5, rounding = RoundingMode{:ToZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.0000e+6") +@with_context (Emax = 384, Emin = -383, precision = 4, rounding = RoundingMode{:ToZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.000e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:ToZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 2, rounding = RoundingMode{:ToZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.0e+6") +@with_context (Emax = 384, Emin = -383, precision = 1, rounding = RoundingMode{:ToZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1e+6") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:Nearest}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:Nearest}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6") +@with_context (Emax = 384, Emin = -383, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.0001e+6") +@with_context (Emax = 384, Emin = -383, precision = 4, rounding = RoundingMode{:Nearest}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.000e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:Nearest}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 2, rounding = RoundingMode{:Nearest}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.0e+6") +@with_context (Emax = 384, Emin = -383, precision = 1, rounding = RoundingMode{:Nearest}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1e+6") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:FromZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:FromZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.00008e+6") +@with_context (Emax = 384, Emin = -383, precision = 5, rounding = RoundingMode{:FromZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.0001e+6") +@with_context (Emax = 384, Emin = -383, precision = 4, rounding = RoundingMode{:FromZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.001e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:FromZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.01e+6") +@with_context (Emax = 384, Emin = -383, precision = 2, rounding = RoundingMode{:FromZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"1.1e+6") +@with_context (Emax = 384, Emin = -383, precision = 1, rounding = RoundingMode{:FromZero}()) @test(dec"10001e+2" + dec"-2e+1" == dec"2e+6") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" + dec"120e-2" == dec"2.50") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" + dec"12e-1" == dec"2.50") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" + dec"1e0" == dec"2.30") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e2" + dec"1e4" == dec"1.01e+4") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" - dec"120e-2" == dec"0.10") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" - dec"12e-1" == dec"0.10") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" - dec"1e0" == dec"0.30") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e2" - dec"1e4" == dec"-9.9e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"2" + dec"3" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"5.75" + dec"3.3" == dec"9.05") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"5" + dec"-3" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5" + dec"-3" == dec"-8") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-7" + dec"2.5" == dec"-4.5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.7" + dec"0.3" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.25" + dec"1.25" == dec"2.50") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.23456789" + dec"1.00000000" == dec"2.23456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.23456789" + dec"1.00000011" == dec"2.23456800") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.44444444444444444" + dec"0.55555555555555555" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.44444444444444440" + dec"0.55555555555555555" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.44444444444444444" + dec"0.55555555555555550" == dec"0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.444444444444444449" + dec"0" == dec"0.4444444444444444") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444499" + dec"0" == dec"0.4444444444444444") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.44444444444444444999" + dec"0" == dec"0.4444444444444444") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.44444444444444445000" + dec"0" == dec"0.4444444444444444") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.44444444444444445001" + dec"0" == dec"0.4444444444444445") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444501" + dec"0" == dec"0.4444444444444445") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.444444444444444451" + dec"0" == dec"0.4444444444444445") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"2" + dec"1" == dec"3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3" + dec"1" == dec"4") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"4" + dec"1" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"5" + dec"1" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6" + dec"1" == dec"7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"7" + dec"1" == dec"8") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"8" + dec"1" == dec"9") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9" + dec"1" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.9998" + dec"0.0000" == dec"0.9998") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.9998" + dec"0.0001" == dec"0.9999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.9998" + dec"0.0002" == dec"1.0000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.9998" + dec"0.0003" == dec"1.0001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"70" + dec"10000e+16" == dec"1.000000000000000e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"700" + dec"10000e+16" == dec"1.000000000000000e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"7000" + dec"10000e+16" == dec"1.000000000000000e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"70000" + dec"10000e+16" == dec"1.000000000000001e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"700000" + dec"10000e+16" == dec"1.000000000000007e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+16" + dec"70" == dec"1.000000000000000e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+16" + dec"700" == dec"1.000000000000000e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+16" + dec"7000" == dec"1.000000000000000e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+16" + dec"70000" == dec"1.000000000000001e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+16" + dec"700000" == dec"1.000000000000007e+20") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+9" + dec"7" == dec"10000000000007") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+9" + dec"70" == dec"10000000000070") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+9" + dec"700" == dec"10000000000700") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+9" + dec"7000" == dec"10000000007000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+9" + dec"70000" == dec"10000000070000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+9" + dec"700000" == dec"10000000700000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12" + dec"7.00" == dec"19.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.3" + dec"-1.07" == dec"0.23") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.3" + dec"-1.30" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.3" + dec"-2.07" == dec"-0.77") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+2" + dec"1e+4" == dec"1.01e+4") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.1" == dec"1.1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.01" == dec"1.01") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.001" == dec"1.001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.0001" == dec"1.0001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.00001" == dec"1.00001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.000001" == dec"1.000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.0000001" == dec"1.0000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.00000001" == dec"1.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"99999999999999123456789" + dec"-99999999999999e+9" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1234567890123455.234567890123454" + dec"1234567890123456" == dec"0.765432109876546") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0." == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec".0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.00" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0." + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec".0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.00" + dec"1" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999998" + dec"1" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"1" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"999999999999999" + dec"1" == dec"1000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999" + dec"1" == dec"10000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"99999999999" + dec"1" == dec"100000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"999999999" + dec"1" == dec"1000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999" + dec"1" == dec"10000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"99999" + dec"1" == dec"100000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"999" + dec"1" == dec"1000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9" + dec"1" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-10" + dec"0" == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-6" + dec"0" == dec"-0.056267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-5" + dec"0" == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-4" + dec"0" == dec"-5.6267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-3" + dec"0" == dec"-56.267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-2" + dec"0" == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-1" + dec"0" == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-56267e-0" + dec"0" == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e-10" + dec"0" == dec"-5e-10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e-7" + dec"0" == dec"-5e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e-6" + dec"0" == dec"-0.000005") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e-5" + dec"0" == dec"-0.00005") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e-4" + dec"0" == dec"-0.0005") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e-1" + dec"0" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e0" + dec"0" == dec"-5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e1" + dec"0" == dec"-50") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e5" + dec"0" == dec"-500000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e15" + dec"0" == dec"-5000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e16" + dec"0" == dec"-5.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e17" + dec"0" == dec"-5.000000000000000e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e18" + dec"0" == dec"-5.000000000000000e+18") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-5e100" + dec"0" == dec"-5.000000000000000e+100") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-10" == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-6" == dec"-0.056267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-5" == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-4" == dec"-5.6267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-3" == dec"-56.267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-2" == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-1" == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-56267e-0" == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e-10" == dec"-5e-10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e-7" == dec"-5e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e-6" == dec"-0.000005") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e-5" == dec"-0.00005") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e-4" == dec"-0.0005") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e-1" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e0" == dec"-5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e1" == dec"-50") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e5" == dec"-500000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e15" == dec"-5000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e16" == dec"-5.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e17" == dec"-5.000000000000000e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e18" == dec"-5.000000000000000e+18") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-5e100" == dec"-5.000000000000000e+100") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0e-19" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"0e-19" == dec"-1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e-19" + dec"1" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e-19" + dec"-1" == dec"-1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+11" + dec"0.0000" == dec"100000000000.0000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+11" + dec"0.00000" == dec"100000000000.0000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.000" + dec"1e+12" == dec"1000000000000.000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.0000" + dec"1e+12" == dec"1000000000000.000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.0" + dec"0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.00" + dec"0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"0.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"00.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.0" + dec"0.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.00" + dec"00.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3" + dec".3" == dec"3.3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3." + dec".3" == dec"3.3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3.0" + dec".3" == dec"3.3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3.00" + dec".3" == dec"3.30") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3" + dec"3" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3" + dec"+3" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"3" + dec"-3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.3" + dec"-0.3" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.03" + dec"-0.03" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+13" + dec"-1" == dec"9999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+13" + dec"1.11" == dec"10000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.11" + dec"1e+13" == dec"10000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"1e+13" == dec"9999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"7e+13" + dec"-1" == dec"69999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"7e+13" + dec"1.11" == dec"70000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.11" + dec"7e+13" == dec"70000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"7e+13" == dec"69999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555563" == dec"1.000000000000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555562" == dec"1.000000000000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555561" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555560" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555559" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555558" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555557" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555556" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555555" == dec"0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555554" == dec"0.9999999999999998") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555553" == dec"0.9999999999999997") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555552" == dec"0.9999999999999996") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555551" == dec"0.9999999999999995") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.4444444444444444" + dec"0.5555555555555550" == dec"0.9999999999999994") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.000000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.1" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.4" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.49" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.499999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.499999999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.5" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.500000001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.500001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.51" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.6" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.9" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.99999" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"0.999999999" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"1" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"1.000000001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"1.00001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6543210123456789" + dec"1.1" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.000000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.1" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.4" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.49" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.499999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.499999999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.5" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.500000001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.500001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.51" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.6" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.9" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.99999" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"0.999999999" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"1" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"1.00000001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"1.00001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456789" + dec"1.1" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456788" + dec"0.499999999" == dec"6543210123456788") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456788" + dec"0.5" == dec"6543210123456788") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"6543210123456788" + dec"0.500000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.000000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.1" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.4" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.49" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.499999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.499999999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.5" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.500000001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.500001" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.51" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.6" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.9" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.99999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"0.999999999" == dec"6543210123456789") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"1" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"1.00000001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"1.00001" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"6543210123456789" + dec"1.1" == dec"6543210123456790") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12" + dec"1" == dec"13") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"98" + dec"1" == dec"99") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"99" + dec"1" == dec"100") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"100" + dec"1" == dec"101") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"101" + dec"1" == dec"102") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"-1" == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12" + dec"-1" == dec"11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"98" + dec"-1" == dec"97") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"99" + dec"-1" == dec"98") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"100" + dec"-1" == dec"99") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"101" + dec"-1" == dec"100") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0.01" + dec"0.01" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.00" + dec"0.01" == dec"0.01") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.01" + dec"0.01" == dec"0.02") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.12" + dec"0.01" == dec"0.13") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.98" + dec"0.01" == dec"0.99") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.99" + dec"0.01" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.00" + dec"0.01" == dec"1.01") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.01" + dec"0.01" == dec"1.02") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0.01" + dec"-0.01" == dec"-0.02") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.00" + dec"-0.01" == dec"-0.01") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.01" + dec"-0.01" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.12" + dec"-0.01" == dec"0.11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.98" + dec"-0.01" == dec"0.97") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.99" + dec"-0.01" == dec"0.98") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.00" + dec"-0.01" == dec"0.99") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.01" + dec"-0.01" == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+3" + dec"0" == dec"1000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+15" + dec"0" == dec"1000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+16" + dec"0" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+17" + dec"0" == dec"1.000000000000000e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+3" + dec"1" == dec"1001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+15" + dec"1" == dec"1000000000000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+16" + dec"1" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+17" + dec"1" == dec"1.000000000000000e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+3" + dec"7" == dec"1007") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+15" + dec"7" == dec"1000000000000007") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+16" + dec"7" == dec"1.000000000000001e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e+17" + dec"7" == dec"1.000000000000000e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+50" + dec"10000e+1" == dec"1.0000e+5") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+1" + dec"0e-50" == dec"100000.0000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10000e+1" + dec"10000e-50" == dec"100000.0000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12.34" + dec"0e-398" == dec"12.34000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-14" == dec"1.00000000000077") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-15" == dec"1.000000000000077") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-16" == dec"1.000000000000008") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-17" == dec"1.000000000000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-18" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-19" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"77e-99" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-14" == dec"10.00000000000077") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-15" == dec"10.00000000000008") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-16" == dec"10.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-17" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-18" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-19" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"77e-99" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-14" + dec"1" == dec"1.00000000000077") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-15" + dec"1" == dec"1.000000000000077") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-16" + dec"1" == dec"1.000000000000008") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-17" + dec"1" == dec"1.000000000000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-18" + dec"1" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-19" + dec"1" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-99" + dec"1" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-14" + dec"10" == dec"10.00000000000077") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-15" + dec"10" == dec"10.00000000000008") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-16" + dec"10" == dec"10.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-17" + dec"10" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-18" + dec"10" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-19" + dec"10" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-99" + dec"10" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-14" == dec"0.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-15" == dec"0.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-16" == dec"0.9999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-17" == dec"0.9999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-18" == dec"0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-19" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-77e-99" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-14" == dec"9.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-15" == dec"9.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-16" == dec"9.999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-17" == dec"9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-18" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-19" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10" + dec"-77e-99" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-14" + dec"1" == dec"0.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-15" + dec"1" == dec"0.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-16" + dec"1" == dec"0.9999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-17" + dec"1" == dec"0.9999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-18" + dec"1" == dec"0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-19" + dec"1" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-99" + dec"1" == dec"1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-14" + dec"10" == dec"9.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-15" + dec"10" == dec"9.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-16" + dec"10" == dec"9.999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-17" + dec"10" == dec"9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-18" + dec"10" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-19" + dec"10" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-77e-99" + dec"10" == dec"10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-14" == dec"-0.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-15" == dec"-0.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-16" == dec"-0.9999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-17" == dec"-0.9999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-18" == dec"-0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-19" == dec"-1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"77e-99" == dec"-1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-14" == dec"-9.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-15" == dec"-9.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-16" == dec"-9.999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-17" == dec"-9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-18" == dec"-10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-19" == dec"-10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-10" + dec"77e-99" == dec"-10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-14" + dec"-1" == dec"-0.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-15" + dec"-1" == dec"-0.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-16" + dec"-1" == dec"-0.9999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-17" + dec"-1" == dec"-0.9999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-18" + dec"-1" == dec"-0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-19" + dec"-1" == dec"-1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-99" + dec"-1" == dec"-1.000000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-14" + dec"-10" == dec"-9.99999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-15" + dec"-10" == dec"-9.999999999999923") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-16" + dec"-10" == dec"-9.999999999999992") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-17" + dec"-10" == dec"-9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-18" + dec"-10" == dec"-10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-19" + dec"-10" == dec"-10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"77e-99" + dec"-10" == dec"-10.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"101234562345678000" + dec"0" == dec"1.012345623456780e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"101234562345678000" == dec"1.012345623456780e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10123456234567800" + dec"0" == dec"1.012345623456780e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"10123456234567800" == dec"1.012345623456780e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10123456234567890" + dec"0" == dec"1.012345623456789e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"10123456234567890" == dec"1.012345623456789e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10123456234567891" + dec"0" == dec"1.012345623456789e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"10123456234567891" == dec"1.012345623456789e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"101234562345678901" + dec"0" == dec"1.012345623456789e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"101234562345678901" == dec"1.012345623456789e+17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"10123456234567896" + dec"0" == dec"1.012345623456790e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"10123456234567896" == dec"1.012345623456790e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-398" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"9.000000000000000e+384" == dec"9.000000000000000e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-388" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"9.000000000000000e+374" == dec"9.000000000000000e+374") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"5.00" + dec"1.00e-3" == dec"5.00100") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.00" + dec"0.000" == dec"0.000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.00" + dec"0e-3" == dec"0.000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e-3" + dec"00.00" == dec"0.000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00." == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00.e+1" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00.e+2" == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00.e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00.e+4" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"00.e+5" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"-00.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"-00." == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e+3" + dec"-00.e+1" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.00" + dec"0e+3" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.0" + dec"0e+3" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00." + dec"0e+3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.e+1" + dec"0e+3" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.e+2" + dec"0e+3" == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.e+3" + dec"0e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.e+4" + dec"0e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"00.e+5" + dec"0e+3" == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-00.00" + dec"0e+3" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-00.0" + dec"0e+3" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-00." + dec"0e+3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"-0" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"-1" == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"-1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"0" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"-0" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-0" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.0" + dec"-1" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0.0" + dec"-1" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0.0" + dec"1" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1.0" + dec"0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1.0" + dec"-0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.0" + dec"0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.0" + dec"-0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1" + dec"-0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1" + dec"-0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0.0" + dec"-1.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0.0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0.0" + dec"1.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1.0" + dec"0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1.0" + dec"-0.0" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.0" + dec"0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.0" + dec"-0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" + dec"0" == dec"1e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-384" + dec"0" == dec"1e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" + dec"1e-384" == dec"1.1e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" - dec"1e-384" == dec"9e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" - dec"1e-398" == dec"9.99999999999999e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" - dec"1e-399" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" - dec"1e-400" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" - dec"1e-401" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-383" - dec"1e-402" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9.999999999999999e+384" == dec"9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9.999999999999999e+384" + dec"1" == dec"9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999e+369" + dec"1" == dec"9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999e+369" + dec"4e+368" == dec"9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999e+369" + dec"3e+368" == dec"9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999e+369" + dec"2e+368" == dec"9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999e+369" + dec"1e+368" == dec"9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-9.999999999999999e+384" == dec"-9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-9.999999999999999e+384" + dec"-1" == dec"-9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-9999999999999999e+369" + dec"-1" == dec"-9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-9999999999999999e+369" + dec"-4e+368" == dec"-9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-9999999999999999e+369" + dec"-3e+368" == dec"-9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-9999999999999999e+369" + dec"-2e+368" == dec"-9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-9999999999999999e+369" + dec"-1e+368" == dec"-9.999999999999999e+384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e+2" + dec"-1e-383" == dec"99.99999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e+1" + dec"-1e-383" == dec"9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"+1" + dec"-1e-383" == dec"0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-1" + dec"-1e-383" == dec"0.09999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-2" + dec"-1e-383" == dec"0.009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-3" + dec"-1e-383" == dec"0.0009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-4" + dec"-1e-383" == dec"0.00009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-5" + dec"-1e-383" == dec"0.000009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-6" + dec"-1e-383" == dec"9.999999999999999e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e+2" + dec"+1e-383" == dec"-99.99999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e+1" + dec"+1e-383" == dec"-9.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1" + dec"+1e-383" == dec"-0.9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-1" + dec"+1e-383" == dec"-0.09999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-2" + dec"+1e-383" == dec"-0.009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-3" + dec"+1e-383" == dec"-0.0009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-4" + dec"+1e-383" == dec"-0.00009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-5" + dec"+1e-383" == dec"-0.000009999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-6" + dec"+1e-383" == dec"-9.999999999999999e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.51" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.501" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000000000000001" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.5000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.500" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-0.50" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-5000000.000010001" == dec"9999999995000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e16" + dec"-5000000.000000001" == dec"9999999995000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.4" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.49" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.499" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.4999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.49999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.499999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.4999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.49999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.499999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.4999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.49999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.499999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.4999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.49999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.499999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.4999999999999999" == dec"9999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5000001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.500001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.50001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.5001" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.501" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"9999999999999999" + dec"0.51" == dec"1.000000000000000e+16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-1" == dec"0.1123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-2" == dec"0.01123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-3" == dec"0.001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-4" == dec"0.0001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-5" == dec"0.00001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-6" == dec"0.000001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-7" == dec"1.123456789012345e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-8" == dec"1.123456789012345e-8") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-9" == dec"1.123456789012345e-9") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-10" == dec"1.123456789012345e-10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-11" == dec"1.123456789012345e-11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-12" == dec"1.123456789012345e-12") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-13" == dec"1.123456789012345e-13") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-14" == dec"1.123456789012345e-14") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-15" == dec"1.123456789012345e-15") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-16" == dec"1.123456789012345e-16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-17" == dec"1.123456789012345e-17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-18" == dec"1.123456789012345e-18") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"1.123456789012345e-19" == dec"1.123456789012345e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-1" + dec"0" == dec"0.1123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-2" + dec"0" == dec"0.01123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-3" + dec"0" == dec"0.001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-4" + dec"0" == dec"0.0001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-5" + dec"0" == dec"0.00001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-6" + dec"0" == dec"0.000001123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-7" + dec"0" == dec"1.123456789012345e-7") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-8" + dec"0" == dec"1.123456789012345e-8") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-9" + dec"0" == dec"1.123456789012345e-9") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-10" + dec"0" == dec"1.123456789012345e-10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-11" + dec"0" == dec"1.123456789012345e-11") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-12" + dec"0" == dec"1.123456789012345e-12") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-13" + dec"0" == dec"1.123456789012345e-13") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-14" + dec"0" == dec"1.123456789012345e-14") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-15" + dec"0" == dec"1.123456789012345e-15") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-16" + dec"0" == dec"1.123456789012345e-16") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-17" + dec"0" == dec"1.123456789012345e-17") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-18" + dec"0" == dec"1.123456789012345e-18") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345e-19" + dec"0" == dec"1.123456789012345e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-0" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-1" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-2" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-3" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-4" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-5" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-6" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-7" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-8" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-9" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-10" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-11" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-12" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-13" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-14" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-15" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-16" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-17" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-18" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1.123456789012345" + dec"0e-19" == dec"1.123456789012345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"1e-401" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:ToZero}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0" + dec"-0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"0e-400" + dec"-0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"1e-400" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"1e-401" == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"1e-401" + dec"-1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Up}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0" + dec"0e-19" == dec"0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0" + dec"0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0" + dec"-0e-19" == dec"-0e-19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0e-400" + dec"0e-19" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0e-400" + dec"0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-0e-400" + dec"-0e-19" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"1e-400" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"-1e-400" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"1e-401" == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e-401" + dec"-1e-401" == dec"-0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"-1e-401" + dec"-1e-401" == dec"-1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"130e-2" + dec"120e-2" == dec"2.50") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"130e-2" + dec"12e-1" == dec"2.50") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"130e-2" + dec"1e0" == dec"2.30") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e2" + dec"1e4" == dec"1.01e+4") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"130e-2" - dec"120e-2" == dec"0.10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"130e-2" - dec"12e-1" == dec"0.10") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"130e-2" - dec"1e0" == dec"0.30") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Down}()) @test(dec"1e2" - dec"1e4" == dec"-9.9e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"1" == dec"1234567890123457") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"0.6" == dec"1234567890123457") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"0.06" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-3" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-4" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-5" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-6" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-7" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-8" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-9" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-10" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-11" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-12" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-13" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-14" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-15" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-16" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-17" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-18" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-19" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"1234567890123456" + dec"6e-20" == dec"1234567890123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"1" == dec"12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1" == dec"12345678.1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.12" == dec"12345678.12") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.123" == dec"12345678.123") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1234" == dec"12345678.1234") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.12345" == dec"12345678.12345") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.123456" == dec"12345678.123456") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1234567" == dec"12345678.1234567") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.12345678" == dec"12345678.12345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.123456789" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.123456785" == dec"12345678.12345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1234567850" == dec"12345678.12345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1234567851" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.12345678501" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.123456785001" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1234567850001" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.12345678500001" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.123456785000001" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1234567850000001" == dec"12345678.12345679") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.1234567850000000" == dec"12345678.12345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0234567750000000" == dec"12345678.02345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0034567750000000" == dec"12345678.00345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0004567750000000" == dec"12345678.00045678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000567750000000" == dec"12345678.00005678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000067750000000" == dec"12345678.00000678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000007750000000" == dec"12345678.00000078") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000000750000000" == dec"12345678.00000008") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000000050000000" == dec"12345678.00000000") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0234567750000001" == dec"12345678.02345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0034567750000001" == dec"12345678.00345678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0004567750000001" == dec"12345678.00045678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000567750000001" == dec"12345678.00005678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000067750000001" == dec"12345678.00000678") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000007750000001" == dec"12345678.00000078") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000000750000001" == dec"12345678.00000008") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:Nearest}()) @test(dec"12345678" + dec"0.0000000050000001" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-8" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-9" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-10" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-11" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-12" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-13" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-14" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-15" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-16" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-17" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-18" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-19" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-20" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-25" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-30" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-31" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-32" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-33" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-34" == dec"12345678.00000001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:FromZero}()) @test(dec"12345678" + dec"1e-35" == dec"12345678.00000001") end diff --git a/test/dectests/test_compare.jl b/test/dectests/test_compare.jl index b025592..39137a4 100644 --- a/test/dectests/test_compare.jl +++ b/test/dectests/test_compare.jl @@ -1,1099 +1,552 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Compare" begin - # comx001 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2", dec"-2") == dec"0" - # comx002 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2", dec"-1") == dec"-1" - # comx003 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2", dec"0") == dec"-1" - # comx004 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2", dec"1") == dec"-1" - # comx005 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2", dec"2") == dec"-1" - # comx006 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1", dec"-2") == dec"1" - # comx007 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1", dec"-1") == dec"0" - # comx008 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1", dec"0") == dec"-1" - # comx009 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1", dec"1") == dec"-1" - # comx010 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1", dec"2") == dec"-1" - # comx011 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"-2") == dec"1" - # comx012 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"-1") == dec"1" - # comx013 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"0") == dec"0" - # comx014 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"1") == dec"-1" - # comx015 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"2") == dec"-1" - # comx016 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"-2") == dec"1" - # comx017 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"-1") == dec"1" - # comx018 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"0") == dec"1" - # comx019 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1") == dec"0" - # comx020 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"2") == dec"-1" - # comx021 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2", dec"-2") == dec"1" - # comx022 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2", dec"-1") == dec"1" - # comx023 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2", dec"0") == dec"1" - # comx025 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2", dec"1") == dec"1" - # comx026 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2", dec"2") == dec"0" - # comx031 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-20", dec"-20") == dec"0" - # comx032 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-20", dec"-10") == dec"-1" - # comx033 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-20", dec"00") == dec"-1" - # comx034 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-20", dec"10") == dec"-1" - # comx035 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-20", dec"20") == dec"-1" - # comx036 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-10", dec"-20") == dec"1" - # comx037 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-10", dec"-10") == dec"0" - # comx038 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-10", dec"00") == dec"-1" - # comx039 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-10", dec"10") == dec"-1" - # comx040 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-10", dec"20") == dec"-1" - # comx041 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"00", dec"-20") == dec"1" - # comx042 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"00", dec"-10") == dec"1" - # comx043 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"00", dec"00") == dec"0" - # comx044 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"00", dec"10") == dec"-1" - # comx045 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"00", dec"20") == dec"-1" - # comx046 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10", dec"-20") == dec"1" - # comx047 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10", dec"-10") == dec"1" - # comx048 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10", dec"00") == dec"1" - # comx049 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10", dec"10") == dec"0" - # comx050 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10", dec"20") == dec"-1" - # comx051 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"20", dec"-20") == dec"1" - # comx052 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"20", dec"-10") == dec"1" - # comx053 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"20", dec"00") == dec"1" - # comx055 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"20", dec"10") == dec"1" - # comx056 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"20", dec"20") == dec"0" - # comx061 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2.0", dec"-2.0") == dec"0" - # comx062 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2.0", dec"-1.0") == dec"-1" - # comx063 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2.0", dec"0.0") == dec"-1" - # comx064 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2.0", dec"1.0") == dec"-1" - # comx065 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-2.0", dec"2.0") == dec"-1" - # comx066 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1.0", dec"-2.0") == dec"1" - # comx067 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1.0", dec"-1.0") == dec"0" - # comx068 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1.0", dec"0.0") == dec"-1" - # comx069 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1.0", dec"1.0") == dec"-1" - # comx070 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1.0", dec"2.0") == dec"-1" - # comx071 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"-2.0") == dec"1" - # comx072 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"-1.0") == dec"1" - # comx073 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"0.0") == dec"0" - # comx074 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"1.0") == dec"-1" - # comx075 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"2.0") == dec"-1" - # comx076 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1.0", dec"-2.0") == dec"1" - # comx077 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1.0", dec"-1.0") == dec"1" - # comx078 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1.0", dec"0.0") == dec"1" - # comx079 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1.0", dec"1.0") == dec"0" - # comx080 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1.0", dec"2.0") == dec"-1" - # comx081 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2.0", dec"-2.0") == dec"1" - # comx082 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2.0", dec"-1.0") == dec"1" - # comx083 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2.0", dec"0.0") == dec"1" - # comx085 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2.0", dec"1.0") == dec"1" - # comx086 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"2.0", dec"2.0") == dec"0" - # comx095 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9.99999999e+999999999", dec"9.99999999e+999999999") == dec"0" - # comx096 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-9.99999999e+999999999", dec"9.99999999e+999999999") == dec"-1" - # comx097 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9.99999999e+999999999", dec"-9.99999999e+999999999") == dec"1" - # comx098 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-9.99999999e+999999999", dec"-9.99999999e+999999999") == dec"0" - # comx100 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"7.0") == dec"0" - # comx101 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"7") == dec"0" - # comx102 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7", dec"7.0") == dec"0" - # comx103 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7e+0", dec"7.0") == dec"0" - # comx104 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"70e-1", dec"7.0") == dec"0" - # comx105 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.7e+1", dec"7") == dec"0" - # comx106 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"70e-1", dec"7") == dec"0" - # comx107 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"7e+0") == dec"0" - # comx108 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"70e-1") == dec"0" - # comx109 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7", dec"0.7e+1") == dec"0" - # comx110 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7", dec"70e-1") == dec"0" - # comx120 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"7.0") == dec"1" - # comx121 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"7") == dec"1" - # comx122 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"7.0") == dec"1" - # comx123 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8e+0", dec"7.0") == dec"1" - # comx124 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"7.0") == dec"1" - # comx125 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.8e+1", dec"7") == dec"1" - # comx126 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"7") == dec"1" - # comx127 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"7e+0") == dec"1" - # comx128 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"70e-1") == dec"1" - # comx129 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"0.7e+1") == dec"1" - # comx130 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"70e-1") == dec"1" - # comx140 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"9.0") == dec"-1" - # comx141 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"9") == dec"-1" - # comx142 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"9.0") == dec"-1" - # comx143 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8e+0", dec"9.0") == dec"-1" - # comx144 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"9.0") == dec"-1" - # comx145 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.8e+1", dec"9") == dec"-1" - # comx146 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"9") == dec"-1" - # comx147 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"9e+0") == dec"-1" - # comx148 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"90e-1") == dec"-1" - # comx149 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"0.9e+1") == dec"-1" - # comx150 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"90e-1") == dec"-1" - # comx200 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"7.0") == dec"-1" - # comx201 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"7") == dec"-1" - # comx202 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7", dec"7.0") == dec"-1" - # comx203 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7e+0", dec"7.0") == dec"-1" - # comx204 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-70e-1", dec"7.0") == dec"-1" - # comx205 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.7e+1", dec"7") == dec"-1" - # comx206 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-70e-1", dec"7") == dec"-1" - # comx207 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"7e+0") == dec"-1" - # comx208 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"70e-1") == dec"-1" - # comx209 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7", dec"0.7e+1") == dec"-1" - # comx210 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7", dec"70e-1") == dec"-1" - # comx220 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"7.0") == dec"-1" - # comx221 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"7") == dec"-1" - # comx222 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"7.0") == dec"-1" - # comx223 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8e+0", dec"7.0") == dec"-1" - # comx224 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"7.0") == dec"-1" - # comx225 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.8e+1", dec"7") == dec"-1" - # comx226 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"7") == dec"-1" - # comx227 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"7e+0") == dec"-1" - # comx228 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"70e-1") == dec"-1" - # comx229 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"0.7e+1") == dec"-1" - # comx230 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"70e-1") == dec"-1" - # comx240 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"9.0") == dec"-1" - # comx241 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"9") == dec"-1" - # comx242 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"9.0") == dec"-1" - # comx243 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8e+0", dec"9.0") == dec"-1" - # comx244 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"9.0") == dec"-1" - # comx245 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.8e+1", dec"9") == dec"-1" - # comx246 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"9") == dec"-1" - # comx247 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"9e+0") == dec"-1" - # comx248 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"90e-1") == dec"-1" - # comx249 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"0.9e+1") == dec"-1" - # comx250 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"90e-1") == dec"-1" - # comx300 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"-7.0") == dec"1" - # comx301 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"-7") == dec"1" - # comx302 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7", dec"-7.0") == dec"1" - # comx303 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7e+0", dec"-7.0") == dec"1" - # comx304 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"70e-1", dec"-7.0") == dec"1" - # comx305 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec".7e+1", dec"-7") == dec"1" - # comx306 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"70e-1", dec"-7") == dec"1" - # comx307 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"-7e+0") == dec"1" - # comx308 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7.0", dec"-70e-1") == dec"1" - # comx309 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7", dec"-.7e+1") == dec"1" - # comx310 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"7", dec"-70e-1") == dec"1" - # comx320 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-7.0") == dec"1" - # comx321 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-7") == dec"1" - # comx322 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"-7.0") == dec"1" - # comx323 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8e+0", dec"-7.0") == dec"1" - # comx324 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"-7.0") == dec"1" - # comx325 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec".8e+1", dec"-7") == dec"1" - # comx326 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"-7") == dec"1" - # comx327 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-7e+0") == dec"1" - # comx328 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-70e-1") == dec"1" - # comx329 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"-.7e+1") == dec"1" - # comx330 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"-70e-1") == dec"1" - # comx340 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-9.0") == dec"1" - # comx341 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-9") == dec"1" - # comx342 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"-9.0") == dec"1" - # comx343 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8e+0", dec"-9.0") == dec"1" - # comx344 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"-9.0") == dec"1" - # comx345 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec".8e+1", dec"-9") == dec"1" - # comx346 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"80e-1", dec"-9") == dec"1" - # comx347 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-9e+0") == dec"1" - # comx348 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8.0", dec"-90e-1") == dec"1" - # comx349 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"-.9e+1") == dec"1" - # comx350 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"8", dec"-90e-1") == dec"1" - # comx400 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"-7.0") == dec"0" - # comx401 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"-7") == dec"0" - # comx402 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7", dec"-7.0") == dec"0" - # comx403 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7e+0", dec"-7.0") == dec"0" - # comx404 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-70e-1", dec"-7.0") == dec"0" - # comx405 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-.7e+1", dec"-7") == dec"0" - # comx406 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-70e-1", dec"-7") == dec"0" - # comx407 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"-7e+0") == dec"0" - # comx408 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7.0", dec"-70e-1") == dec"0" - # comx409 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7", dec"-.7e+1") == dec"0" - # comx410 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-7", dec"-70e-1") == dec"0" - # comx420 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-7.0") == dec"-1" - # comx421 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-7") == dec"-1" - # comx422 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"-7.0") == dec"-1" - # comx423 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8e+0", dec"-7.0") == dec"-1" - # comx424 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"-7.0") == dec"-1" - # comx425 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-.8e+1", dec"-7") == dec"-1" - # comx426 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"-7") == dec"-1" - # comx427 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-7e+0") == dec"-1" - # comx428 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-70e-1") == dec"-1" - # comx429 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"-.7e+1") == dec"-1" - # comx430 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"-70e-1") == dec"-1" - # comx440 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-9.0") == dec"1" - # comx441 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-9") == dec"1" - # comx442 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"-9.0") == dec"1" - # comx443 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8e+0", dec"-9.0") == dec"1" - # comx444 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"-9.0") == dec"1" - # comx445 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-.8e+1", dec"-9") == dec"1" - # comx446 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-80e-1", dec"-9") == dec"1" - # comx447 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-9e+0") == dec"1" - # comx448 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8.0", dec"-90e-1") == dec"1" - # comx449 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"-.9e+1") == dec"1" - # comx450 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-8", dec"-90e-1") == dec"1" - # comx451 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1.0", dec"0.1") == dec"1" - # comx452 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.1", dec"1.0") == dec"-1" - # comx453 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10.0", dec"0.1") == dec"1" - # comx454 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.1", dec"10.0") == dec"-1" - # comx455 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"100", dec"1.0") == dec"1" - # comx456 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1.0", dec"100") == dec"-1" - # comx457 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1000", dec"10.0") == dec"1" - # comx458 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10.0", dec"1000") == dec"-1" - # comx459 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10000", dec"100.0") == dec"1" - # comx460 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"100.0", dec"10000") == dec"-1" - # comx461 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"100000", dec"1000.0") == dec"1" - # comx462 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1000.0", dec"100000") == dec"-1" - # comx463 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1000000", dec"10000.0") == dec"1" - # comx464 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"10000.0", dec"1000000") == dec"-1" - # comx470 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.4560000000000000e789", dec"123.456e789") == dec"0" - # comx471 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456000000000000e-89", dec"123.456e-89") == dec"0" - # comx472 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.45600000000000e789", dec"123.456e789") == dec"0" - # comx473 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.4560000000000e-89", dec"123.456e-89") == dec"0" - # comx474 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456000000000e789", dec"123.456e789") == dec"0" - # comx475 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.45600000000e-89", dec"123.456e-89") == dec"0" - # comx476 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.4560000000e789", dec"123.456e789") == dec"0" - # comx477 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456000000e-89", dec"123.456e-89") == dec"0" - # comx478 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.45600000e789", dec"123.456e789") == dec"0" - # comx479 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.4560000e-89", dec"123.456e-89") == dec"0" - # comx480 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456000e789", dec"123.456e789") == dec"0" - # comx481 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.45600e-89", dec"123.456e-89") == dec"0" - # comx482 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.4560e789", dec"123.456e789") == dec"0" - # comx483 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.456e-89") == dec"0" - # comx484 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.4560000000000000e-89") == dec"0" - # comx485 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e789", dec"123.456000000000000e789") == dec"0" - # comx486 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.45600000000000e-89") == dec"0" - # comx487 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e789", dec"123.4560000000000e789") == dec"0" - # comx488 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.456000000000e-89") == dec"0" - # comx489 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e789", dec"123.45600000000e789") == dec"0" - # comx490 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.4560000000e-89") == dec"0" - # comx491 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e789", dec"123.456000000e789") == dec"0" - # comx492 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.45600000e-89") == dec"0" - # comx493 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e789", dec"123.4560000e789") == dec"0" - # comx494 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.456000e-89") == dec"0" - # comx495 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e789", dec"123.45600e789") == dec"0" - # comx496 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e-89", dec"123.4560e-89") == dec"0" - # comx497 - @with_context (Emax=999999999, Emin=-999999999, precision=40, rounding=RoundNearestTiesAway) @test cmp(dec"123.456e789", dec"123.456e789") == dec"0" - # comx500 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-15") == dec"1" - # comx501 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-14") == dec"1" - # comx502 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-13") == dec"1" - # comx503 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-12") == dec"1" - # comx504 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-11") == dec"1" - # comx505 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-10") == dec"1" - # comx506 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-9") == dec"1" - # comx507 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-8") == dec"1" - # comx508 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-7") == dec"1" - # comx509 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-6") == dec"1" - # comx510 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-5") == dec"1" - # comx511 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-4") == dec"1" - # comx512 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-3") == dec"1" - # comx513 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-2") == dec"1" - # comx514 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-1") == dec"1" - # comx515 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e-0") == dec"0" - # comx516 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+1") == dec"-1" - # comx517 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+2") == dec"-1" - # comx518 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+3") == dec"-1" - # comx519 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+4") == dec"-1" - # comx521 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+5") == dec"-1" - # comx522 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+6") == dec"-1" - # comx523 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+7") == dec"-1" - # comx524 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+8") == dec"-1" - # comx525 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+9") == dec"-1" - # comx526 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+10") == dec"-1" - # comx527 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+11") == dec"-1" - # comx528 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+12") == dec"-1" - # comx529 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+13") == dec"-1" - # comx530 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+14") == dec"-1" - # comx531 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1e+15") == dec"-1" - # comx540 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-15", dec"1") == dec"-1" - # comx541 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-14", dec"1") == dec"-1" - # comx542 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-13", dec"1") == dec"-1" - # comx543 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-12", dec"1") == dec"-1" - # comx544 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-11", dec"1") == dec"-1" - # comx545 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-10", dec"1") == dec"-1" - # comx546 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-9", dec"1") == dec"-1" - # comx547 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-8", dec"1") == dec"-1" - # comx548 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-7", dec"1") == dec"-1" - # comx549 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-6", dec"1") == dec"-1" - # comx550 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-5", dec"1") == dec"-1" - # comx551 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-4", dec"1") == dec"-1" - # comx552 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-3", dec"1") == dec"-1" - # comx553 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-2", dec"1") == dec"-1" - # comx554 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-1", dec"1") == dec"-1" - # comx555 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-0", dec"1") == dec"0" - # comx556 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+1", dec"1") == dec"1" - # comx557 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+2", dec"1") == dec"1" - # comx558 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+3", dec"1") == dec"1" - # comx559 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+4", dec"1") == dec"1" - # comx561 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+5", dec"1") == dec"1" - # comx562 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+6", dec"1") == dec"1" - # comx563 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+7", dec"1") == dec"1" - # comx564 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+8", dec"1") == dec"1" - # comx565 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+9", dec"1") == dec"1" - # comx566 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+10", dec"1") == dec"1" - # comx567 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+11", dec"1") == dec"1" - # comx568 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+12", dec"1") == dec"1" - # comx569 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+13", dec"1") == dec"1" - # comx570 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+14", dec"1") == dec"1" - # comx571 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+15", dec"1") == dec"1" - # comx580 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-15") == dec"1" - # comx581 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-14") == dec"1" - # comx582 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-13") == dec"1" - # comx583 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-12") == dec"1" - # comx584 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-11") == dec"1" - # comx585 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-10") == dec"1" - # comx586 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-9") == dec"1" - # comx587 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-8") == dec"1" - # comx588 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-7") == dec"1" - # comx589 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-6") == dec"-1" - # comx590 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-5") == dec"-1" - # comx591 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-4") == dec"-1" - # comx592 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-3") == dec"-1" - # comx593 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-2") == dec"-1" - # comx594 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-1") == dec"-1" - # comx595 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e-0") == dec"-1" - # comx596 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e+1") == dec"-1" - # comx597 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e+2") == dec"-1" - # comx598 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e+3") == dec"-1" - # comx599 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.000000987654321", dec"1e+4") == dec"-1" - # comx600 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.2345") == dec"-1" - # comx601 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.0", dec"12.2345") == dec"-1" - # comx602 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.00", dec"12.2345") == dec"-1" - # comx603 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.000", dec"12.2345") == dec"-1" - # comx604 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.0000", dec"12.2345") == dec"-1" - # comx605 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.00000", dec"12.2345") == dec"-1" - # comx606 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.000000", dec"12.2345") == dec"-1" - # comx607 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.0000000", dec"12.2345") == dec"-1" - # comx608 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.00000000", dec"12.2345") == dec"-1" - # comx609 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.000000000", dec"12.2345") == dec"-1" - # comx610 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12") == dec"1" - # comx611 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.0") == dec"1" - # comx612 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.00") == dec"1" - # comx613 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.000") == dec"1" - # comx614 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.0000") == dec"1" - # comx615 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.00000") == dec"1" - # comx616 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.000000") == dec"1" - # comx617 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.0000000") == dec"1" - # comx618 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.00000000") == dec"1" - # comx619 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.1234", dec"12.000000000") == dec"1" - # comx620 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12", dec"-12.2345") == dec"1" - # comx621 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.0", dec"-12.2345") == dec"1" - # comx622 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.00", dec"-12.2345") == dec"1" - # comx623 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.000", dec"-12.2345") == dec"1" - # comx624 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.0000", dec"-12.2345") == dec"1" - # comx625 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.00000", dec"-12.2345") == dec"1" - # comx626 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.000000", dec"-12.2345") == dec"1" - # comx627 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.0000000", dec"-12.2345") == dec"1" - # comx628 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.00000000", dec"-12.2345") == dec"1" - # comx629 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.000000000", dec"-12.2345") == dec"1" - # comx630 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12") == dec"-1" - # comx631 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.0") == dec"-1" - # comx632 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.00") == dec"-1" - # comx633 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.000") == dec"-1" - # comx634 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.0000") == dec"-1" - # comx635 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.00000") == dec"-1" - # comx636 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.000000") == dec"-1" - # comx637 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.0000000") == dec"-1" - # comx638 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.00000000") == dec"-1" - # comx639 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"-12.1234", dec"-12.000000000") == dec"-1" - # comx640 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"0") == dec"0" - # comx641 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"-0") == dec"0" - # comx642 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"-0.0") == dec"0" - # comx643 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"0.0") == dec"0" - # comx644 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"0") == dec"0" - # comx645 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"-0") == dec"0" - # comx646 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"-0.0") == dec"0" - # comx647 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"0.0") == dec"0" - # comx648 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"0") == dec"0" - # comx649 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"-0") == dec"0" - # comx650 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"-0.0") == dec"0" - # comx651 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.0", dec"0.0") == dec"0" - # comx652 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.0", dec"0") == dec"0" - # comx653 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.0", dec"-0") == dec"0" - # comx654 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.0", dec"-0.0") == dec"0" - # comx655 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.0", dec"0.0") == dec"0" - # comx656 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e1", dec"0.0") == dec"0" - # comx657 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e2", dec"0.0") == dec"0" - # comx658 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e1", dec"0.0") == dec"0" - # comx659 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e2", dec"0.0") == dec"0" - # comx660 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e1", dec"0") == dec"0" - # comx661 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e2", dec"0") == dec"0" - # comx662 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e1", dec"0") == dec"0" - # comx663 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e2", dec"0") == dec"0" - # comx664 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e1", dec"-0e1") == dec"0" - # comx665 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e2", dec"-0e1") == dec"0" - # comx666 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e1", dec"-0e1") == dec"0" - # comx667 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e2", dec"-0e1") == dec"0" - # comx668 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e1", dec"-0e2") == dec"0" - # comx669 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e2", dec"-0e2") == dec"0" - # comx670 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e1", dec"-0e2") == dec"0" - # comx671 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e2", dec"-0e2") == dec"0" - # comx672 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e1", dec"0e1") == dec"0" - # comx673 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e2", dec"0e1") == dec"0" - # comx674 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e1", dec"0e1") == dec"0" - # comx675 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e2", dec"0e1") == dec"0" - # comx676 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e1", dec"0e2") == dec"0" - # comx677 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e2", dec"0e2") == dec"0" - # comx678 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e1", dec"0e2") == dec"0" - # comx679 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e2", dec"0e2") == dec"0" - # comx680 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12") == dec"0" - # comx681 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.0") == dec"0" - # comx682 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.00") == dec"0" - # comx683 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.000") == dec"0" - # comx684 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.0000") == dec"0" - # comx685 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.00000") == dec"0" - # comx686 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.000000") == dec"0" - # comx687 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.0000000") == dec"0" - # comx688 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.00000000") == dec"0" - # comx689 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12.000000000") == dec"0" - # comx690 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12", dec"12") == dec"0" - # comx691 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.0", dec"12") == dec"0" - # comx692 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.00", dec"12") == dec"0" - # comx693 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.000", dec"12") == dec"0" - # comx694 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.0000", dec"12") == dec"0" - # comx695 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.00000", dec"12") == dec"0" - # comx696 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.000000", dec"12") == dec"0" - # comx697 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.0000000", dec"12") == dec"0" - # comx698 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.00000000", dec"12") == dec"0" - # comx699 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test cmp(dec"12.000000000", dec"12") == dec"0" - # comx701 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"12345678000", dec"1") == dec"1" - # comx702 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"12345678000") == dec"-1" - # comx703 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1234567800", dec"1") == dec"1" - # comx704 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567800") == dec"-1" - # comx705 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1234567890", dec"1") == dec"1" - # comx706 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567890") == dec"-1" - # comx707 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1234567891", dec"1") == dec"1" - # comx708 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567891") == dec"-1" - # comx709 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"12345678901", dec"1") == dec"1" - # comx710 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"12345678901") == dec"-1" - # comx711 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1234567896", dec"1") == dec"1" - # comx712 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567896") == dec"-1" - # comx713 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1234567891", dec"1") == dec"-1" - # comx714 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"-1234567891") == dec"1" - # comx715 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-12345678901", dec"1") == dec"-1" - # comx716 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"-12345678901") == dec"1" - # comx717 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1234567896", dec"1") == dec"-1" - # comx718 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"-1234567896") == dec"1" - # comx721 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"12345678000", dec"1") == dec"1" - # comx722 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"12345678000") == dec"-1" - # comx723 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1234567800", dec"1") == dec"1" - # comx724 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567800") == dec"-1" - # comx725 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1234567890", dec"1") == dec"1" - # comx726 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567890") == dec"-1" - # comx727 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1234567891", dec"1") == dec"1" - # comx728 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567891") == dec"-1" - # comx729 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"12345678901", dec"1") == dec"1" - # comx730 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"12345678901") == dec"-1" - # comx731 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1234567896", dec"1") == dec"1" - # comx732 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1234567896") == dec"-1" - # comx740 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"0.9999999") == dec"1" - # comx741 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"0.999999") == dec"1" - # comx742 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"0.99999") == dec"1" - # comx743 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1.0000") == dec"0" - # comx744 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1.00001") == dec"-1" - # comx745 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1.000001") == dec"-1" - # comx746 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1", dec"1.0000001") == dec"-1" - # comx750 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"0.9999999", dec"1") == dec"-1" - # comx751 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"0.999999", dec"1") == dec"-1" - # comx752 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"0.99999", dec"1") == dec"-1" - # comx753 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1.0000", dec"1") == dec"0" - # comx754 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1.00001", dec"1") == dec"1" - # comx755 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1.000001", dec"1") == dec"1" - # comx756 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"1.0000001", dec"1") == dec"1" - # comx760 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-5830629.8347085025808756560357940") == dec"-1" - # comx761 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.84194296250843579428931") == dec"0" - # comx762 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.94194296250843579428931", dec"-36852134.84194296250843579428931") == dec"-1" - # comx763 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx764 - @with_context (Emax=999, Emin=-999, precision=11, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx765 - @with_context (Emax=999, Emin=-999, precision=10, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx766 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx767 - @with_context (Emax=999, Emin=-999, precision=8, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx768 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx769 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx770 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx771 - @with_context (Emax=999, Emin=-999, precision=4, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx772 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx773 - @with_context (Emax=999, Emin=-999, precision=2, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx774 - @with_context (Emax=999, Emin=-999, precision=1, rounding=RoundNearestTiesAway) @test cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == dec"1" - # comx880 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"+1.23456789012345e-0", dec"9e+999999999") == dec"-1" - # comx881 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e+999999999", dec"+1.23456789012345e-0") == dec"1" - # comx882 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"+0.100", dec"9e-999999999") == dec"1" - # comx883 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e-999999999", dec"+0.100") == dec"-1" - # comx885 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1.23456789012345e-0", dec"9e+999999999") == dec"-1" - # comx886 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e+999999999", dec"-1.23456789012345e-0") == dec"1" - # comx887 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0.100", dec"9e-999999999") == dec"-1" - # comx888 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e-999999999", dec"-0.100") == dec"1" - # comx889 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-599999999", dec"1e-400000001") == dec"-1" - # comx890 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-599999999", dec"1e-400000000") == dec"-1" - # comx891 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-600000000", dec"1e-400000000") == dec"-1" - # comx892 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e-999999998", dec"0.01") == dec"-1" - # comx893 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e-999999998", dec"0.1") == dec"-1" - # comx894 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0.01", dec"9e-999999998") == dec"1" - # comx895 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e599999999", dec"1e400000001") == dec"1" - # comx896 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e599999999", dec"1e400000000") == dec"1" - # comx897 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e600000000", dec"1e400000000") == dec"1" - # comx898 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e999999998", dec"100") == dec"1" - # comx899 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"9e999999998", dec"10") == dec"1" - # comx900 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"100", dec"9e999999998") == dec"-1" - # comx901 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+777777777", dec"1e+411111111") == dec"1" - # comx902 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e+777777777", dec"-1e+411111111") == dec"1" - # comx903 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1e+777777777", dec"1e+411111111") == dec"-1" - # comx904 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1e+777777777", dec"-1e+411111111") == dec"-1" - # comx905 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-777777777", dec"1e-411111111") == dec"-1" - # comx906 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"1e-777777777", dec"-1e-411111111") == dec"1" - # comx907 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1e-777777777", dec"1e-411111111") == dec"-1" - # comx908 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-1e-777777777", dec"-1e-411111111") == dec"1" - # comx910 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e-383", dec"0") == dec"0" - # comx911 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e-383", dec"-0") == dec"0" - # comx912 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e-383", dec"0") == dec"0" - # comx913 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e-383", dec"-0") == dec"0" - # comx914 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e-383", dec"0e+384") == dec"0" - # comx915 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e-383", dec"-0e+384") == dec"0" - # comx916 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e-383", dec"0e+384") == dec"0" - # comx917 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e-383", dec"-0e+384") == dec"0" - # comx918 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"0e+384") == dec"0" - # comx919 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"-0e+384") == dec"0" - # comx920 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"0e+384") == dec"0" - # comx921 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"-0e+384") == dec"0" - # comx930 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e+384", dec"0") == dec"0" - # comx931 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e+384", dec"-0") == dec"0" - # comx932 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e+384", dec"0") == dec"0" - # comx933 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e+384", dec"-0") == dec"0" - # comx934 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e+384", dec"0e-383") == dec"0" - # comx935 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0e+384", dec"-0e-383") == dec"0" - # comx936 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e+384", dec"0e-383") == dec"0" - # comx937 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0e+384", dec"-0e-383") == dec"0" - # comx938 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"0e-383") == dec"0" - # comx939 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"0", dec"-0e-383") == dec"0" - # comx940 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"0e-383") == dec"0" - # comx941 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test cmp(dec"-0", dec"-0e-383") == dec"0" +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2", dec"-2") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2", dec"-1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2", dec"0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2", dec"2") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1", dec"-2") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1", dec"-1") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1", dec"0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1", dec"2") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"-2") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"-1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"0") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"2") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"-2") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"-1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"2") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2", dec"-2") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2", dec"-1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2", dec"0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2", dec"2") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-20", dec"-20") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-20", dec"-10") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-20", dec"00") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-20", dec"10") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-20", dec"20") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-10", dec"-20") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-10", dec"-10") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-10", dec"00") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-10", dec"10") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-10", dec"20") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"00", dec"-20") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"00", dec"-10") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"00", dec"00") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"00", dec"10") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"00", dec"20") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10", dec"-20") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10", dec"-10") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10", dec"00") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10", dec"10") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10", dec"20") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"20", dec"-20") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"20", dec"-10") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"20", dec"00") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"20", dec"10") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"20", dec"20") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2.0", dec"-2.0") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2.0", dec"-1.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2.0", dec"0.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2.0", dec"1.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-2.0", dec"2.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1.0", dec"-2.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1.0", dec"-1.0") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1.0", dec"0.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1.0", dec"1.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1.0", dec"2.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"-2.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"-1.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"0.0") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"1.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"2.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0", dec"-2.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0", dec"-1.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0", dec"0.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0", dec"1.0") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0", dec"2.0") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2.0", dec"-2.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2.0", dec"-1.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2.0", dec"0.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2.0", dec"1.0") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"2.0", dec"2.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9.99999999e+999999999", dec"9.99999999e+999999999") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-9.99999999e+999999999", dec"9.99999999e+999999999") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9.99999999e+999999999", dec"-9.99999999e+999999999") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-9.99999999e+999999999", dec"-9.99999999e+999999999") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"7") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7", dec"7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7e+0", dec"7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"70e-1", dec"7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.7e+1", dec"7") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"70e-1", dec"7") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"7e+0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"70e-1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7", dec"0.7e+1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7", dec"70e-1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8e+0", dec"7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.8e+1", dec"7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"7e+0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"70e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"0.7e+1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"70e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"9") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8e+0", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.8e+1", dec"9") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"9") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"9e+0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"90e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"0.9e+1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"90e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7e+0", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-70e-1", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.7e+1", dec"7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-70e-1", dec"7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"7e+0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"70e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7", dec"0.7e+1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7", dec"70e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8e+0", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.8e+1", dec"7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"7e+0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"70e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"0.7e+1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"70e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"9") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8e+0", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"9.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.8e+1", dec"9") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"9") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"9e+0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"90e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"0.9e+1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"90e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7e+0", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"70e-1", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec".7e+1", dec"-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"70e-1", dec"-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"-7e+0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7.0", dec"-70e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7", dec"-.7e+1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"7", dec"-70e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8e+0", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"-7.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec".8e+1", dec"-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-7e+0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-70e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"-.7e+1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"-70e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8e+0", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec".8e+1", dec"-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"80e-1", dec"-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-9e+0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8.0", dec"-90e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"-.9e+1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"8", dec"-90e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"-7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"-7") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7", dec"-7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7e+0", dec"-7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-70e-1", dec"-7.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-.7e+1", dec"-7") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-70e-1", dec"-7") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"-7e+0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7.0", dec"-70e-1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7", dec"-.7e+1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-7", dec"-70e-1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"-7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8e+0", dec"-7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"-7.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-.8e+1", dec"-7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"-7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-7e+0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-70e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"-.7e+1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"-70e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8e+0", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"-9.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-.8e+1", dec"-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-80e-1", dec"-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-9e+0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8.0", dec"-90e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"-.9e+1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-8", dec"-90e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0", dec"0.1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.1", dec"1.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10.0", dec"0.1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.1", dec"10.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"100", dec"1.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0", dec"100") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1000", dec"10.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10.0", dec"1000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10000", dec"100.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"100.0", dec"10000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"100000", dec"1000.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1000.0", dec"100000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1000000", dec"10000.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"10000.0", dec"1000000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.4560000000000000e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456000000000000e-89", dec"123.456e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.45600000000000e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.4560000000000e-89", dec"123.456e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456000000000e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.45600000000e-89", dec"123.456e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.4560000000e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456000000e-89", dec"123.456e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.45600000e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.4560000e-89", dec"123.456e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456000e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.45600e-89", dec"123.456e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.4560e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.456e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.4560000000000000e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e789", dec"123.456000000000000e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.45600000000000e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e789", dec"123.4560000000000e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.456000000000e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e789", dec"123.45600000000e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.4560000000e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e789", dec"123.456000000e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.45600000e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e789", dec"123.4560000e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.456000e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e789", dec"123.45600e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e-89", dec"123.4560e-89") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"123.456e789", dec"123.456e789") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-15") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-14") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-13") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-12") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-11") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-10") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-8") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-6") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-5") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-4") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-3") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-2") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+2") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+3") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+4") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+5") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+6") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+7") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+8") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+9") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+10") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+11") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+12") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+13") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+14") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1e+15") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-15", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-14", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-13", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-12", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-11", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-10", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-9", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-8", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-7", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-6", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-5", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-4", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-3", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-2", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-1", dec"1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-0", dec"1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+1", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+2", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+3", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+4", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+5", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+6", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+7", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+8", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+9", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+10", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+11", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+12", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+13", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+14", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+15", dec"1") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-15") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-14") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-13") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-12") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-11") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-10") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-9") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-8") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-7") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-6") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-5") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-4") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-3") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-2") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e-0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e+1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e+2") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e+3") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.000000987654321", dec"1e+4") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.0", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.00", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.000", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.0000", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.00000", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.000000", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.0000000", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.00000000", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.000000000", dec"12.2345") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.00") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.0000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.00000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.000000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.0000000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.00000000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.1234", dec"12.000000000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.0", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.00", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.000", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.0000", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.00000", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.000000", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.0000000", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.00000000", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.000000000", dec"-12.2345") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.0") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.00") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.0000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.00000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.000000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.0000000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.00000000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12.1234", dec"-12.000000000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"-0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"-0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"-0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.0", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.0", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.0", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.0", dec"-0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.0", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e1", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e2", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e1", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e2", dec"0.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e1", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e2", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e1", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e2", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e1", dec"-0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e2", dec"-0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e1", dec"-0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e2", dec"-0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e1", dec"-0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e2", dec"-0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e1", dec"-0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e2", dec"-0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e1", dec"0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e2", dec"0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e1", dec"0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e2", dec"0e1") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e1", dec"0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e2", dec"0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e1", dec"0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e2", dec"0e2") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.00") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.000") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.0000") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.00000") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.000000") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.0000000") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.00000000") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12.000000000") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.0", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.00", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.000", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.0000", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.00000", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.000000", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.0000000", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.00000000", dec"12") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12.000000000", dec"12") == 0) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12345678000", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"12345678000") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567800", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567800") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567890", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567890") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567891", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567891") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12345678901", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"12345678901") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567896", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567896") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1234567891", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"-1234567891") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-12345678901", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"-12345678901") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1234567896", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"-1234567896") == 1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12345678000", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"12345678000") == -1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567800", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567800") == -1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567890", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567890") == -1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567891", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567891") == -1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"12345678901", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"12345678901") == -1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1234567896", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1234567896") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"0.9999999") == 1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"0.999999") == 1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"0.99999") == 1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1.0000") == 0) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1.00001") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1.000001") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1", dec"1.0000001") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.9999999", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.999999", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.99999", dec"1") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0000", dec"1") == 0) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.00001", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.000001", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1.0000001", dec"1") == 1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-5830629.8347085025808756560357940") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.84194296250843579428931") == 0) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.94194296250843579428931", dec"-36852134.84194296250843579428931") == -1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 11, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 10, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 4, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 2, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999, Emin = -999, precision = 1, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-36852134.84194296250843579428931", dec"-36852134.94194296250843579428931") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"+1.23456789012345e-0", dec"9e+999999999") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e+999999999", dec"+1.23456789012345e-0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"+0.100", dec"9e-999999999") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e-999999999", dec"+0.100") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1.23456789012345e-0", dec"9e+999999999") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e+999999999", dec"-1.23456789012345e-0") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0.100", dec"9e-999999999") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e-999999999", dec"-0.100") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-599999999", dec"1e-400000001") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-599999999", dec"1e-400000000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-600000000", dec"1e-400000000") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e-999999998", dec"0.01") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e-999999998", dec"0.1") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0.01", dec"9e-999999998") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e599999999", dec"1e400000001") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e599999999", dec"1e400000000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e600000000", dec"1e400000000") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e999999998", dec"100") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"9e999999998", dec"10") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"100", dec"9e999999998") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+777777777", dec"1e+411111111") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e+777777777", dec"-1e+411111111") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1e+777777777", dec"1e+411111111") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1e+777777777", dec"-1e+411111111") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-777777777", dec"1e-411111111") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"1e-777777777", dec"-1e-411111111") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1e-777777777", dec"1e-411111111") == -1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-1e-777777777", dec"-1e-411111111") == 1) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e-383", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e-383", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e-383", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e-383", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e-383", dec"0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e-383", dec"-0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e-383", dec"0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e-383", dec"-0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"-0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"-0e+384") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e+384", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e+384", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e+384", dec"0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e+384", dec"-0") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e+384", dec"0e-383") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0e+384", dec"-0e-383") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e+384", dec"0e-383") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0e+384", dec"-0e-383") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"0e-383") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"0", dec"-0e-383") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"0e-383") == 0) +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(cmp(dec"-0", dec"-0e-383") == 0) end diff --git a/test/dectests/test_divide.jl b/test/dectests/test_divide.jl index 370caf1..c7401d2 100644 --- a/test/dectests/test_divide.jl +++ b/test/dectests/test_divide.jl @@ -1,1061 +1,456 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Divide" begin - # divx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1" == dec"1" - # divx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1" == dec"2" - # divx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"2" == dec"0.5" - # divx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"2" == dec"1" - # divx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"1" == dec"0" - # divx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"2" == dec"0" - # divx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"3" == dec"0.333333333" - # divx008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"3" == dec"0.666666667" - # divx009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" / dec"3" == dec"1" - # divx010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.4" / dec"1" == dec"2.4" - # divx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.4" / dec"-1" == dec"-2.4" - # divx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-2.4" / dec"1" == dec"-2.4" - # divx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-2.4" / dec"-1" == dec"2.4" - # divx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"1" == dec"2.40" - # divx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.400" / dec"1" == dec"2.400" - # divx016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.4" / dec"2" == dec"1.2" - # divx017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.400" / dec"2" == dec"1.200" - # divx018 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2." / dec"2" == dec"1" - # divx019 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"20" / dec"20" == dec"1" - # divx020 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"187" / dec"187" == dec"1" - # divx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"2" == dec"2.5" - # divx022 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"50" / dec"20" == dec"2.5" - # divx023 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"500" / dec"200" == dec"2.5" - # divx024 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"50.0" / dec"20.0" == dec"2.5" - # divx025 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5.00" / dec"2.00" == dec"2.5" - # divx026 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"2.0" == dec"2.5" - # divx027 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"2.000" == dec"2.5" - # divx028 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"0.20" == dec"25" - # divx029 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"0.200" == dec"25" - # divx030 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10" / dec"1" == dec"10" - # divx031 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"100" / dec"1" == dec"100" - # divx032 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1000" / dec"1" == dec"1000" - # divx033 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1000" / dec"100" == dec"10" - # divx035 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"2" == dec"0.5" - # divx036 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"4" == dec"0.25" - # divx037 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"8" == dec"0.125" - # divx038 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"16" == dec"0.0625" - # divx039 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"32" == dec"0.03125" - # divx040 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"64" == dec"0.015625" - # divx041 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"-2" == dec"-0.5" - # divx042 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"-4" == dec"-0.25" - # divx043 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"-8" == dec"-0.125" - # divx044 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"-16" == dec"-0.0625" - # divx045 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"-32" == dec"-0.03125" - # divx046 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"-64" == dec"-0.015625" - # divx047 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"2" == dec"-0.5" - # divx048 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"4" == dec"-0.25" - # divx049 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"8" == dec"-0.125" - # divx050 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"16" == dec"-0.0625" - # divx051 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"32" == dec"-0.03125" - # divx052 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"64" == dec"-0.015625" - # divx053 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"-2" == dec"0.5" - # divx054 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"-4" == dec"0.25" - # divx055 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"-8" == dec"0.125" - # divx056 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"-16" == dec"0.0625" - # divx057 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"-32" == dec"0.03125" - # divx058 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" / dec"-64" == dec"0.015625" - # divx070 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999999" / dec"1" == dec"999999999" - # divx071 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999999.4" / dec"1" == dec"999999999" - # divx072 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999999.5" / dec"1" == dec"1.00000000e+9" - # divx073 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999999.9" / dec"1" == dec"1.00000000e+9" - # divx074 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"999999999.999" / dec"1" == dec"1.00000000e+9" - # divx080 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"999999999" / dec"1" == dec"1.00000e+9" - # divx081 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"99999999" / dec"1" == dec"1.00000e+8" - # divx082 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"9999999" / dec"1" == dec"1.00000e+7" - # divx083 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"999999" / dec"1" == dec"999999" - # divx084 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"99999" / dec"1" == dec"99999" - # divx085 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"9999" / dec"1" == dec"9999" - # divx086 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"999" / dec"1" == dec"999" - # divx087 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"99" / dec"1" == dec"99" - # divx088 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"9" / dec"1" == dec"9" - # divx090 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0." / dec"1" == dec"0" - # divx091 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec".0" / dec"1" == dec"0.0" - # divx092 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00" / dec"1" == dec"0.00" - # divx093 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00e+9" / dec"1" == dec"0e+7" - # divx094 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0000e-50" / dec"1" == dec"0e-54" - # divx095 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1e-8" == dec"1e+8" - # divx096 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1e-9" == dec"1e+9" - # divx097 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1e-10" == dec"1e+10" - # divx098 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1e-11" == dec"1e+11" - # divx099 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1e-12" == dec"1e+12" - # divx100 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1" == dec"1" - # divx101 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"2" == dec"0.5" - # divx102 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"3" == dec"0.333333333" - # divx103 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"4" == dec"0.25" - # divx104 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"5" == dec"0.2" - # divx105 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"6" == dec"0.166666667" - # divx106 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"7" == dec"0.142857143" - # divx107 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"8" == dec"0.125" - # divx108 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"9" == dec"0.111111111" - # divx109 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"10" == dec"0.1" - # divx110 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1" == dec"1" - # divx111 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1" == dec"2" - # divx112 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" / dec"1" == dec"3" - # divx113 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"4" / dec"1" == dec"4" - # divx114 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"1" == dec"5" - # divx115 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"6" / dec"1" == dec"6" - # divx116 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"7" / dec"1" == dec"7" - # divx117 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"8" / dec"1" == dec"8" - # divx118 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9" / dec"1" == dec"9" - # divx119 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10" / dec"1" == dec"10" - # divx120 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3e+1" / dec"0.001" == dec"3e+4" - # divx121 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.200" / dec"2" == dec"1.100" - # divx130 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345" / dec"4.999" == dec"2469.49390" - # divx131 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345" / dec"4.99" == dec"2473.94790" - # divx132 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345" / dec"4.9" == dec"2519.38776" - # divx133 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345" / dec"5" == dec"2469" - # divx134 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345" / dec"5.1" == dec"2420.58824" - # divx135 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345" / dec"5.01" == dec"2464.07186" - # divx136 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345" / dec"5.001" == dec"2468.50630" - # divx220 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"391" / dec"597" == dec"0.654941374" - # divx221 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"391" / dec"-597" == dec"-0.654941374" - # divx222 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-391" / dec"597" == dec"-0.654941374" - # divx223 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-391" / dec"-597" == dec"0.654941374" - # divx270 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1e999999999" == dec"1e-999999999" - # divx271 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"0.9e999999999" == dec"1.11111111e-999999999" - # divx272 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"0.99e999999999" == dec"1.01010101e-999999999" - # divx273 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"0.999999999e999999999" == dec"1.00000000e-999999999" - # divx274 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e999999999" / dec"1" == dec"9e+999999999" - # divx275 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9.9e999999999" / dec"1" == dec"9.9e+999999999" - # divx276 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9.99e999999999" / dec"1" == dec"9.99e+999999999" - # divx277 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9.99999999e999999999" / dec"1" == dec"9.99999999e+999999999" - # divx280 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"9e-999999999" == dec"1.11111111e+999999997" - # divx281 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"99e-999999999" == dec"1.01010101e+999999996" - # divx282 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"999e-999999999" == dec"1.00100100e+999999995" - # divx283 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"9e-999999998" == dec"1.11111111e+999999996" - # divx284 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"99e-999999998" == dec"1.01010101e+999999995" - # divx285 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"999e-999999998" == dec"1.00100100e+999999994" - # divx286 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"999e-999999997" == dec"1.00100100e+999999993" - # divx287 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"9999e-999999997" == dec"1.00010001e+999999992" - # divx288 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" / dec"99999e-999999997" == dec"1.00001000e+999999991" - # divx301 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"7" == dec"0" - # divx302 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"7e-5" == dec"0e+5" - # divx303 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"7e-1" == dec"0e+1" - # divx304 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"7e+1" == dec"0.0" - # divx305 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"7e+5" == dec"0.00000" - # divx306 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"7e+6" == dec"0.000000" - # divx307 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"7e+7" == dec"0e-7" - # divx308 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"70e-5" == dec"0e+5" - # divx309 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"70e-1" == dec"0e+1" - # divx310 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"70e+0" == dec"0" - # divx311 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"70e+1" == dec"0.0" - # divx312 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"70e+5" == dec"0.00000" - # divx313 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"70e+6" == dec"0.000000" - # divx314 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"70e+7" == dec"0e-7" - # divx315 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e-5" == dec"0e+5" - # divx316 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e-1" == dec"0e+1" - # divx317 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e+0" == dec"0" - # divx318 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e+1" == dec"0.0" - # divx319 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e+5" == dec"0.00000" - # divx320 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e+6" == dec"0.000000" - # divx321 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e+7" == dec"0e-7" - # divx322 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" / dec"700e+77" == dec"0e-77" - # divx331 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-3" / dec"7e-5" == dec"0e+2" - # divx332 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-3" / dec"7e-1" == dec"0.00" - # divx333 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-3" / dec"7e+1" == dec"0.0000" - # divx334 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-3" / dec"7e+5" == dec"0e-8" - # divx335 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-1" / dec"7e-5" == dec"0e+4" - # divx336 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-1" / dec"7e-1" == dec"0" - # divx337 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-1" / dec"7e+1" == dec"0.00" - # divx338 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-1" / dec"7e+5" == dec"0.000000" - # divx339 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+1" / dec"7e-5" == dec"0e+6" - # divx340 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+1" / dec"7e-1" == dec"0e+2" - # divx341 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+1" / dec"7e+1" == dec"0" - # divx342 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+1" / dec"7e+5" == dec"0.0000" - # divx343 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" / dec"7e-5" == dec"0e+8" - # divx344 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" / dec"7e-1" == dec"0e+4" - # divx345 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" / dec"7e+1" == dec"0e+2" - # divx346 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0e+3" / dec"7e+5" == dec"0.00" - # divx351 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"7e-1" == dec"0e-91" - # divx352 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"7e+1" == dec"0e-93" - # divx353 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"7e+5" == dec"0e-97" - # divx354 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"7e+6" == dec"0e-98" - # divx355 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"7e+7" == dec"0e-98" - # divx356 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"777e-1" == dec"0e-91" - # divx357 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"777e+1" == dec"0e-93" - # divx358 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"777e+3" == dec"0e-95" - # divx359 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"777e+4" == dec"0e-96" - # divx360 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"777e+5" == dec"0e-97" - # divx361 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"777e+6" == dec"0e-98" - # divx362 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"777e+7" == dec"0e-98" - # divx363 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"7e+92" == dec"0e-98" - # divx371 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"700e-1" == dec"0e-91" - # divx372 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"700e+1" == dec"0e-93" - # divx373 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"700e+3" == dec"0e-95" - # divx374 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"700e+4" == dec"0e-96" - # divx375 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"700e+5" == dec"0e-97" - # divx376 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"700e+6" == dec"0e-98" - # divx377 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-92" / dec"700e+7" == dec"0e-98" - # divx381 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+92" / dec"7e+1" == dec"0e+91" - # divx382 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+92" / dec"7e+0" == dec"0e+92" - # divx383 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+92" / dec"7e-1" == dec"0e+92" - # divx384 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"777e+1" == dec"0e+89" - # divx385 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"777e-1" == dec"0e+91" - # divx386 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"777e-2" == dec"0e+92" - # divx387 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"777e-3" == dec"0e+92" - # divx388 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"777e-4" == dec"0e+92" - # divx391 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"700e+1" == dec"0e+89" - # divx392 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"700e-1" == dec"0e+91" - # divx393 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"700e-2" == dec"0e+92" - # divx394 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"700e-3" == dec"0e+92" - # divx395 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+90" / dec"700e-4" == dec"0e+92" - # divx401 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"12345678000" / dec"1" == dec"1.23456780e+10" - # divx402 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"12345678000" == dec"8.10000066e-11" - # divx403 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567800" / dec"1" == dec"1.23456780e+9" - # divx404 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567800" == dec"8.10000066e-10" - # divx405 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567890" / dec"1" == dec"1.23456789e+9" - # divx406 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567890" == dec"8.10000007e-10" - # divx407 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567891" / dec"1" == dec"1.23456789e+9" - # divx408 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567891" == dec"8.10000007e-10" - # divx409 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"12345678901" / dec"1" == dec"1.23456789e+10" - # divx410 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"12345678901" == dec"8.10000007e-11" - # divx411 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567896" / dec"1" == dec"1.23456790e+9" - # divx412 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567896" == dec"8.10000003e-10" - # divx413 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567897" == dec"8.10000003e-10" - # divx414 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567898" == dec"8.10000002e-10" - # divx415 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567899" == dec"8.10000001e-10" - # divx416 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567900" == dec"8.10000001e-10" - # divx417 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567901" == dec"8.10000000e-10" - # divx418 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567902" == dec"8.09999999e-10" - # divx421 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567896.000000000000" / dec"1" == dec"1.23456790e+9" - # divx422 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567896.000000000000" == dec"8.10000003e-10" - # divx423 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567896.000000000001" / dec"1" == dec"1.23456790e+9" - # divx424 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567896.000000000001" == dec"8.10000003e-10" - # divx425 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567896.000000000000000000000000000000000000000009" / dec"1" == dec"1.23456790e+9" - # divx426 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567896.000000000000000000000000000000000000000009" == dec"8.10000003e-10" - # divx427 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567897.900010000000000000000000000000000000000009" / dec"1" == dec"1.23456790e+9" - # divx428 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567897.900010000000000000000000000000000000000009" == dec"8.10000002e-10" - # divx441 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"12345678000" / dec"1" == dec"12345678000" - # divx442 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"12345678000" == dec"8.10000066420005e-11" - # divx443 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567800" / dec"1" == dec"1234567800" - # divx444 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567800" == dec"8.10000066420005e-10" - # divx445 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567890" / dec"1" == dec"1234567890" - # divx446 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567890" == dec"8.10000007371000e-10" - # divx447 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567891" / dec"1" == dec"1234567891" - # divx448 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567891" == dec"8.10000006714900e-10" - # divx449 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"12345678901" / dec"1" == dec"12345678901" - # divx450 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"12345678901" == dec"8.10000007305390e-11" - # divx451 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567896" / dec"1" == dec"1234567896" - # divx452 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"1234567896" == dec"8.10000003434400e-10" - # divx453 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+1" / dec"1" == dec"1e+1" - # divx454 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+1" / dec"1.0" == dec"1e+1" - # divx455 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+1" / dec"1.00" == dec"1e+1" - # divx456 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+2" / dec"2" == dec"5e+1" - # divx457 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+2" / dec"2.0" == dec"5e+1" - # divx458 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+2" / dec"2.00" == dec"5e+1" - # divx460 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3e0" / dec"2e0" == dec"1.5" - # divx461 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"30e-1" / dec"2e0" == dec"1.5" - # divx462 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"300e-2" / dec"2e0" == dec"1.50" - # divx464 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3000e-3" / dec"2e0" == dec"1.500" - # divx465 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3e0" / dec"20e-1" == dec"1.5" - # divx466 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"30e-1" / dec"20e-1" == dec"1.5" - # divx467 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"300e-2" / dec"20e-1" == dec"1.5" - # divx468 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3000e-3" / dec"20e-1" == dec"1.50" - # divx469 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3e0" / dec"200e-2" == dec"1.5" - # divx470 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"30e-1" / dec"200e-2" == dec"1.5" - # divx471 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"300e-2" / dec"200e-2" == dec"1.5" - # divx472 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3000e-3" / dec"200e-2" == dec"1.5" - # divx473 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3e0" / dec"2000e-3" == dec"1.5" - # divx474 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"30e-1" / dec"2000e-3" == dec"1.5" - # divx475 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"300e-2" / dec"2000e-3" == dec"1.5" - # divx476 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"3000e-3" / dec"2000e-3" == dec"1.5" - # divx480 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"1.0e+33" == dec"1e-33" - # divx481 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"10e+33" == dec"1e-34" - # divx482 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"1.0e-33" == dec"1e+33" - # divx483 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1" / dec"10e-33" == dec"1e+32" - # divx484 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"0e5" / dec"1e3" == dec"0e+2" - # divx485 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"0e5" / dec"2e3" == dec"0e+2" - # divx486 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"0e5" / dec"10e2" == dec"0e+3" - # divx487 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"0e5" / dec"20e2" == dec"0e+3" - # divx488 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"0e5" / dec"100e1" == dec"0e+4" - # divx489 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"0e5" / dec"200e1" == dec"0e+4" - # divx491 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"1e5" / dec"1e3" == dec"1e+2" - # divx492 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"1e5" / dec"2e3" == dec"5e+1" - # divx493 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"1e5" / dec"10e2" == dec"1e+2" - # divx494 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"1e5" / dec"20e2" == dec"5e+1" - # divx495 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"1e5" / dec"100e1" == dec"1e+2" - # divx496 - @with_context (Emax=96, Emin=-95, precision=7, rounding=RoundNearestTiesAway) @test dec"1e5" / dec"200e1" == dec"5e+1" - # divx497 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e+86" / dec"1000e-13" == dec"0e+92" - # divx498 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-98" / dec"1000e+13" == dec"0e-98" - # divx500 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"9.9" == dec"0.101010101" - # divx501 - @with_context (Emax=999, Emin=-999, precision=8, rounding=RoundNearestTiesAway) @test dec"1" / dec"9.9" == dec"0.10101010" - # divx502 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"1" / dec"9.9" == dec"0.1010101" - # divx503 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"1" / dec"9.9" == dec"0.101010" - # divx511 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" / dec"2" == dec"0.5" - # divx512 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" / dec"2" == dec"0.5" - # divx513 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.00" / dec"2" == dec"0.50" - # divx514 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.000" / dec"2" == dec"0.500" - # divx515 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0000" / dec"2" == dec"0.5000" - # divx516 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.00000" / dec"2" == dec"0.50000" - # divx517 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.000000" / dec"2" == dec"0.500000" - # divx518 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0000000" / dec"2" == dec"0.5000000" - # divx519 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.00" / dec"2.00" == dec"0.5" - # divx521 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1" == dec"2" - # divx522 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1.0" == dec"2" - # divx523 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1.00" == dec"2" - # divx524 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1.000" == dec"2" - # divx525 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1.0000" == dec"2" - # divx526 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1.00000" == dec"2" - # divx527 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1.000000" == dec"2" - # divx528 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2" / dec"1.0000000" == dec"2" - # divx529 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.00" / dec"1.00" == dec"2" - # divx530 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"2" == dec"1.20" - # divx531 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"4" == dec"0.60" - # divx532 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"10" == dec"0.24" - # divx533 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"2.0" == dec"1.2" - # divx534 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"4.0" == dec"0.6" - # divx535 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"10.0" == dec"0.24" - # divx536 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"2.00" == dec"1.2" - # divx537 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"4.00" == dec"0.6" - # divx538 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40" / dec"10.00" == dec"0.24" - # divx539 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9" / dec"0.1" == dec"9" - # divx540 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9" / dec"0.01" == dec"9e+1" - # divx541 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9" / dec"0.001" == dec"9e+2" - # divx542 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"2" == dec"2.5" - # divx543 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"2.0" == dec"2.5" - # divx544 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"2.00" == dec"2.5" - # divx545 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"20" == dec"0.25" - # divx546 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"5" / dec"20.0" == dec"0.25" - # divx547 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.400" / dec"2" == dec"1.200" - # divx548 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.400" / dec"2.0" == dec"1.20" - # divx549 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.400" / dec"2.400" == dec"1" - # divx550 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"240" / dec"1" == dec"240" - # divx551 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"240" / dec"10" == dec"24" - # divx552 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"240" / dec"100" == dec"2.4" - # divx553 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"240" / dec"1000" == dec"0.24" - # divx554 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2400" / dec"1" == dec"2400" - # divx555 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2400" / dec"10" == dec"240" - # divx556 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2400" / dec"100" == dec"24" - # divx557 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2400" / dec"1000" == dec"2.4" - # divx570 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"2.4e+6" / dec"2" == dec"1.2e+6" - # divx571 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"2.40e+6" / dec"2" == dec"1.20e+6" - # divx572 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"2.400e+6" / dec"2" == dec"1.200e+6" - # divx573 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"2.4000e+6" / dec"2" == dec"1.2000e+6" - # divx574 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"24e+5" / dec"2" == dec"1.2e+6" - # divx575 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"240e+4" / dec"2" == dec"1.20e+6" - # divx576 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"2400e+3" / dec"2" == dec"1.200e+6" - # divx577 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"24000e+2" / dec"2" == dec"1.2000e+6" - # divx580 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"2.4e+6" / dec"2" == dec"1.2e+6" - # divx581 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"2.40e+6" / dec"2" == dec"1.20e+6" - # divx582 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"2.400e+6" / dec"2" == dec"1.200e+6" - # divx583 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"2.4000e+6" / dec"2" == dec"1.2000e+6" - # divx584 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"24e+5" / dec"2" == dec"1.2e+6" - # divx585 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"240e+4" / dec"2" == dec"1.20e+6" - # divx586 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"2400e+3" / dec"2" == dec"1.200e+6" - # divx587 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"24000e+2" / dec"2" == dec"1.2000e+6" - # divx590 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"2.4e+6" / dec"2" == dec"1.2e+6" - # divx591 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"2.40e+6" / dec"2" == dec"1.20e+6" - # divx592 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"2.400e+6" / dec"2" == dec"1.200e+6" - # divx593 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"2.4000e+6" / dec"2" == dec"1.2000e+6" - # divx594 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"24e+5" / dec"2" == dec"1.2e+6" - # divx595 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"240e+4" / dec"2" == dec"1.20e+6" - # divx596 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"2400e+3" / dec"2" == dec"1.200e+6" - # divx597 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"24000e+2" / dec"2" == dec"1.2000e+6" - # divx600 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.4e+9" / dec"2" == dec"1.2e+9" - # divx601 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.40e+9" / dec"2" == dec"1.20e+9" - # divx602 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.400e+9" / dec"2" == dec"1.200e+9" - # divx603 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2.4000e+9" / dec"2" == dec"1.2000e+9" - # divx604 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"24e+8" / dec"2" == dec"1.2e+9" - # divx605 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"240e+7" / dec"2" == dec"1.20e+9" - # divx606 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"2400e+6" / dec"2" == dec"1.200e+9" - # divx607 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"24000e+5" / dec"2" == dec"1.2000e+9" - # divx610 - @with_context (Emax=999, Emin=-999, precision=33, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131097703792" - # divx611 - @with_context (Emax=999, Emin=-999, precision=32, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813109770379" - # divx612 - @with_context (Emax=999, Emin=-999, precision=31, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81310977038" - # divx613 - @with_context (Emax=999, Emin=-999, precision=30, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131097704" - # divx614 - @with_context (Emax=999, Emin=-999, precision=29, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813109770" - # divx615 - @with_context (Emax=999, Emin=-999, precision=28, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81310977" - # divx616 - @with_context (Emax=999, Emin=-999, precision=27, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131098" - # divx617 - @with_context (Emax=999, Emin=-999, precision=26, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813110" - # divx618 - @with_context (Emax=999, Emin=-999, precision=25, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81311" - # divx619 - @with_context (Emax=999, Emin=-999, precision=24, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131" - # divx620 - @with_context (Emax=999, Emin=-999, precision=23, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813" - # divx621 - @with_context (Emax=999, Emin=-999, precision=22, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81" - # divx622 - @with_context (Emax=999, Emin=-999, precision=21, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8" - # divx623 - @with_context (Emax=999, Emin=-999, precision=20, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817798" - # divx624 - @with_context (Emax=999, Emin=-999, precision=19, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888379681780e+19" - # divx625 - @with_context (Emax=999, Emin=-999, precision=18, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114088837968178e+19" - # divx626 - @with_context (Emax=999, Emin=-999, precision=17, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011408883796818e+19" - # divx627 - @with_context (Emax=999, Emin=-999, precision=16, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888379682e+19" - # divx628 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114088837968e+19" - # divx629 - @with_context (Emax=999, Emin=-999, precision=14, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011408883797e+19" - # divx630 - @with_context (Emax=999, Emin=-999, precision=13, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888380e+19" - # divx631 - @with_context (Emax=999, Emin=-999, precision=12, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114088838e+19" - # divx632 - @with_context (Emax=999, Emin=-999, precision=11, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011408884e+19" - # divx633 - @with_context (Emax=999, Emin=-999, precision=10, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888e+19" - # divx634 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114089e+19" - # divx635 - @with_context (Emax=999, Emin=-999, precision=8, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011409e+19" - # divx636 - @with_context (Emax=999, Emin=-999, precision=7, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101141e+19" - # divx637 - @with_context (Emax=999, Emin=-999, precision=6, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114e+19" - # divx638 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011e+19" - # divx639 - @with_context (Emax=999, Emin=-999, precision=4, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101e+19" - # divx640 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10e+19" - # divx641 - @with_context (Emax=999, Emin=-999, precision=2, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1e+19" - # divx642 - @with_context (Emax=999, Emin=-999, precision=1, rounding=RoundNearestTiesAway) @test dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4e+19" - # divx731 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"5.00" / dec"1e-3" == dec"5.00e+3" - # divx732 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"00.00" / dec"0.000" - # divx733 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"00.00" / dec"0e-3" - # divx734 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"0" / dec"-0" - # divx735 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"-0" / dec"0" - # divx736 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"-0" / dec"-0" - # divx741 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" / dec"-1" == dec"-0" - # divx742 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" / dec"-1" == dec"0" - # divx743 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" / dec"1" == dec"0" - # divx744 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" / dec"1" == dec"-0" - # divx745 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"0" - # divx746 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"-0" - # divx747 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"0" - # divx748 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"-0" - # divx751 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0.0" / dec"-1" == dec"-0.0" - # divx752 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0.0" / dec"-1" == dec"0.0" - # divx753 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0.0" / dec"1" == dec"0.0" - # divx754 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0.0" / dec"1" == dec"-0.0" - # divx755 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1.0" / dec"0" - # divx756 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1.0" / dec"-0" - # divx757 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1.0" / dec"0" - # divx758 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1.0" / dec"-0" - # divx761 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" / dec"-1.0" == dec"-0e+1" - # divx762 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" / dec"-1.0" == dec"0e+1" - # divx763 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0" / dec"1.0" == dec"0e+1" - # divx764 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0" / dec"1.0" == dec"-0e+1" - # divx765 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"0.0" - # divx766 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"-0.0" - # divx767 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"0.0" - # divx768 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"-0.0" - # divx771 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0.0" / dec"-1.0" == dec"-0" - # divx772 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0.0" / dec"-1.0" == dec"0" - # divx773 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0.0" / dec"1.0" == dec"0" - # divx774 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"-0.0" / dec"1.0" == dec"-0" - # divx775 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1.0" / dec"0.0" - # divx776 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1.0" / dec"-0.0" - # divx777 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1.0" / dec"0.0" - # divx778 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1.0" / dec"-0.0" - # divx901 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"0" / dec"0" - # divx902 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"0.0e5" / dec"0" - # divx903 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws UndefinedDivisionError dec"0.000" / dec"0" - # divx904 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"0.0001" / dec"0" - # divx905 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"0.01" / dec"0" - # divx906 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"0.1" / dec"0" - # divx907 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"0" - # divx908 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"0.0" - # divx909 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"10" / dec"0.0" - # divx910 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1e+100" / dec"0.0" - # divx911 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1e+1000" / dec"0" - # divx921 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-0.0001" / dec"0" - # divx922 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-0.01" / dec"0" - # divx923 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-0.1" / dec"0" - # divx924 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"0" - # divx925 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"0.0" - # divx926 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-10" / dec"0.0" - # divx927 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1e+100" / dec"0.0" - # divx928 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1e+1000" / dec"0" - # divx931 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"0.0001" / dec"-0" - # divx932 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"0.01" / dec"-0" - # divx933 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"0.1" / dec"-0" - # divx934 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"-0" - # divx935 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1" / dec"-0.0" - # divx936 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"10" / dec"-0.0" - # divx937 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1e+100" / dec"-0.0" - # divx938 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"1e+1000" / dec"-0" - # divx941 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-0.0001" / dec"-0" - # divx942 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-0.01" / dec"-0" - # divx943 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-0.1" / dec"-0" - # divx944 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"-0" - # divx945 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1" / dec"-0.0" - # divx946 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-10" / dec"-0.0" - # divx947 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1e+100" / dec"-0.0" - # divx948 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test_throws DivisionByZeroError dec"-1e+1000" / dec"-0" - # divx951 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9e+999999999" / dec"+0.23456789012345e-0" - # divx952 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"+0.100" / dec"9e+999999999" == dec"1.111111e-1000000001" - # divx953 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e-999999999" / dec"+9.100" == dec"9.8901099e-1000000000" - # divx954 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.23456789" / dec"9e+999999999" == dec"-1.3717421e-1000000000" - # divx955 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.23456789012345e-0" / dec"9e+999999999" == dec"-1.3717421e-1000000000" - # divx956 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.23456789012345e-0" / dec"7e+999999999" == dec"-1.7636684e-1000000000" - # divx957 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9e+999999999" / dec"-0.83456789012345e-0" - # divx958 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.100" / dec"9e+999999999" == dec"-1.111111e-1000000001" - # divx959 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e-999999999" / dec"-9.100" == dec"-9.8901099e-1000000000" - # divx960 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000001" == dec"1e-1000000001" - # divx961 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000002" == dec"1e-1000000002" - # divx962 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000003" == dec"1e-1000000003" - # divx963 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000004" == dec"1e-1000000004" - # divx964 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000005" == dec"1e-1000000005" - # divx965 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000006" == dec"1e-1000000006" - # divx966 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000007" == dec"1e-1000000007" - # divx967 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000008" == dec"0e-1000000007" - # divx968 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000009" == dec"0e-1000000007" - # divx969 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000010" == dec"0e-1000000007" - # divx970 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000001" - # divx971 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000002" - # divx972 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000003" - # divx973 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000004" - # divx974 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000005" - # divx975 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000006" - # divx976 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000007" - # divx977 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000008" - # divx978 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000009" - # divx979 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000010" - # divx980 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"1e+400000009" == dec"0e-1000000007" - # divx981 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" / dec"-1e+400000009" == dec"-0e-1000000007" - # divx982 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e-600000000" / dec"1e+400000009" == dec"-0e-1000000007" - # divx983 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e-600000000" / dec"-1e+400000009" == dec"0e-1000000007" - # divx984 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"1e-400000009" - # divx985 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" / dec"-1e-400000009" - # divx986 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-1e+600000000" / dec"1e-400000009" - # divx987 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-1e+600000000" / dec"-1e-400000009" - # divx990 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1000" / dec"9.999e-999999999" - # divx991 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1000" / dec"-9.999e-999999999" - # divx992 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9.999e+999999999" / dec"0.01" - # divx993 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9.999e+999999999" / dec"0.01" - # divx1001 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52444e-80" / dec"1" == dec"1.524e-80" - # divx1002 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52445e-80" / dec"1" == dec"1.524e-80" - # divx1003 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52446e-80" / dec"1" == dec"1.524e-80" - # divx1010 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"343e6000" / dec"234e-1000" - # divx1021 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"1e0" / dec"1e0" == dec"1" - # divx1022 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"1e0" / dec"2e0" == dec"0.5" - # divx1023 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"1e0" / dec"3e0" == dec"0.3333333" - # divx1024 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"100e-2" / dec"1000e-3" == dec"1" - # divx1025 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"24e-1" / dec"2e0" == dec"1.2" - # divx1026 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"2400e-3" / dec"2e0" == dec"1.200" - # divx1027 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"5e0" / dec"2e0" == dec"2.5" - # divx1028 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"5e0" / dec"20e-1" == dec"2.5" - # divx1029 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"5e0" / dec"2000e-3" == dec"2.5" - # divx1030 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"5e0" / dec"2e-1" == dec"25" - # divx1031 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"5e0" / dec"20e-2" == dec"25" - # divx1032 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"480e-2" / dec"3e0" == dec"1.60" - # divx1033 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearestTiesAway) @test dec"47e-1" / dec"2e0" == dec"2.35" - # divx1051 - @with_context (Emax=6144, Emin=-6143, precision=7, rounding=RoundNearest) @test dec"5" / dec"11" == dec"0.4545455" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"2" == dec"0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"2" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"2" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"3" == dec"0.333333333") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"3" == dec"0.666666667") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" / dec"3" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4" / dec"1" == dec"2.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4" / dec"-1" == dec"-2.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-2.4" / dec"1" == dec"-2.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-2.4" / dec"-1" == dec"2.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"1" == dec"2.40") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400" / dec"1" == dec"2.400") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4" / dec"2" == dec"1.2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400" / dec"2" == dec"1.200") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2." / dec"2" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"20" / dec"20" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"187" / dec"187" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"2" == dec"2.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"50" / dec"20" == dec"2.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"500" / dec"200" == dec"2.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"50.0" / dec"20.0" == dec"2.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.00" / dec"2.00" == dec"2.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"2.0" == dec"2.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"2.000" == dec"2.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"0.20" == dec"25") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"0.200" == dec"25") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10" / dec"1" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"100" / dec"1" == dec"100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1000" / dec"1" == dec"1000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1000" / dec"100" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"2" == dec"0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"4" == dec"0.25") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"8" == dec"0.125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"16" == dec"0.0625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"32" == dec"0.03125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"64" == dec"0.015625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"-2" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"-4" == dec"-0.25") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"-8" == dec"-0.125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"-16" == dec"-0.0625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"-32" == dec"-0.03125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"-64" == dec"-0.015625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"2" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"4" == dec"-0.25") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"8" == dec"-0.125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"16" == dec"-0.0625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"32" == dec"-0.03125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"64" == dec"-0.015625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"-2" == dec"0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"-4" == dec"0.25") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"-8" == dec"0.125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"-16" == dec"0.0625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"-32" == dec"0.03125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" / dec"-64" == dec"0.015625") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999" / dec"1" == dec"999999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999.4" / dec"1" == dec"999999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999.5" / dec"1" == dec"1.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999.9" / dec"1" == dec"1.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999.999" / dec"1" == dec"1.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999" / dec"1" == dec"1.00000e+9") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999999" / dec"1" == dec"1.00000e+8") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999" / dec"1" == dec"1.00000e+7") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999" / dec"1" == dec"999999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99999" / dec"1" == dec"99999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999" / dec"1" == dec"9999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999" / dec"1" == dec"999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99" / dec"1" == dec"99") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" / dec"1" == dec"9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0." / dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec".0" / dec"1" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" / dec"1" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00e+9" / dec"1" == dec"0e+7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0000e-50" / dec"1" == dec"0e-54") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1e-8" == dec"1e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1e-9" == dec"1e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1e-10" == dec"1e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1e-11" == dec"1e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1e-12" == dec"1e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"2" == dec"0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"3" == dec"0.333333333") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"4" == dec"0.25") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"5" == dec"0.2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"6" == dec"0.166666667") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"7" == dec"0.142857143") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"8" == dec"0.125") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"9" == dec"0.111111111") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"10" == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" / dec"1" == dec"3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"4" / dec"1" == dec"4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"1" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"6" / dec"1" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7" / dec"1" == dec"7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"8" / dec"1" == dec"8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" / dec"1" == dec"9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10" / dec"1" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3e+1" / dec"0.001" == dec"3e+4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.200" / dec"2" == dec"1.100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345" / dec"4.999" == dec"2469.49390") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345" / dec"4.99" == dec"2473.94790") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345" / dec"4.9" == dec"2519.38776") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345" / dec"5" == dec"2469") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345" / dec"5.1" == dec"2420.58824") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345" / dec"5.01" == dec"2464.07186") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345" / dec"5.001" == dec"2468.50630") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"391" / dec"597" == dec"0.654941374") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"391" / dec"-597" == dec"-0.654941374") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-391" / dec"597" == dec"-0.654941374") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-391" / dec"-597" == dec"0.654941374") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1e999999999" == dec"1e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"0.9e999999999" == dec"1.11111111e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"0.99e999999999" == dec"1.01010101e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"0.999999999e999999999" == dec"1.00000000e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e999999999" / dec"1" == dec"9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.9e999999999" / dec"1" == dec"9.9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.99e999999999" / dec"1" == dec"9.99e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.99999999e999999999" / dec"1" == dec"9.99999999e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"9e-999999999" == dec"1.11111111e+999999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"99e-999999999" == dec"1.01010101e+999999996") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"999e-999999999" == dec"1.00100100e+999999995") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"9e-999999998" == dec"1.11111111e+999999996") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"99e-999999998" == dec"1.01010101e+999999995") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"999e-999999998" == dec"1.00100100e+999999994") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"999e-999999997" == dec"1.00100100e+999999993") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"9999e-999999997" == dec"1.00010001e+999999992") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" / dec"99999e-999999997" == dec"1.00001000e+999999991") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"7" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"7e-5" == dec"0e+5") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"7e-1" == dec"0e+1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"7e+1" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"7e+5" == dec"0.00000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"7e+6" == dec"0.000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"7e+7" == dec"0e-7") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"70e-5" == dec"0e+5") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"70e-1" == dec"0e+1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"70e+0" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"70e+1" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"70e+5" == dec"0.00000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"70e+6" == dec"0.000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"70e+7" == dec"0e-7") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e-5" == dec"0e+5") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e-1" == dec"0e+1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e+0" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e+1" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e+5" == dec"0.00000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e+6" == dec"0.000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e+7" == dec"0e-7") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"700e+77" == dec"0e-77") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-3" / dec"7e-5" == dec"0e+2") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-3" / dec"7e-1" == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-3" / dec"7e+1" == dec"0.0000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-3" / dec"7e+5" == dec"0e-8") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-1" / dec"7e-5" == dec"0e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-1" / dec"7e-1" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-1" / dec"7e+1" == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-1" / dec"7e+5" == dec"0.000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+1" / dec"7e-5" == dec"0e+6") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+1" / dec"7e-1" == dec"0e+2") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+1" / dec"7e+1" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+1" / dec"7e+5" == dec"0.0000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" / dec"7e-5" == dec"0e+8") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" / dec"7e-1" == dec"0e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" / dec"7e+1" == dec"0e+2") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+3" / dec"7e+5" == dec"0.00") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"7e-1" == dec"0e-91") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"7e+1" == dec"0e-93") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"7e+5" == dec"0e-97") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"7e+6" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"7e+7" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"777e-1" == dec"0e-91") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"777e+1" == dec"0e-93") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"777e+3" == dec"0e-95") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"777e+4" == dec"0e-96") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"777e+5" == dec"0e-97") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"777e+6" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"777e+7" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"7e+92" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"700e-1" == dec"0e-91") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"700e+1" == dec"0e-93") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"700e+3" == dec"0e-95") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"700e+4" == dec"0e-96") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"700e+5" == dec"0e-97") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"700e+6" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-92" / dec"700e+7" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+92" / dec"7e+1" == dec"0e+91") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+92" / dec"7e+0" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+92" / dec"7e-1" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"777e+1" == dec"0e+89") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"777e-1" == dec"0e+91") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"777e-2" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"777e-3" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"777e-4" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"700e+1" == dec"0e+89") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"700e-1" == dec"0e+91") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"700e-2" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"700e-3" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+90" / dec"700e-4" == dec"0e+92") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678000" / dec"1" == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"12345678000" == dec"8.10000066e-11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567800" / dec"1" == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567800" == dec"8.10000066e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567890" / dec"1" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567890" == dec"8.10000007e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567891" / dec"1" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567891" == dec"8.10000007e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678901" / dec"1" == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"12345678901" == dec"8.10000007e-11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567896" / dec"1" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567896" == dec"8.10000003e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567897" == dec"8.10000003e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567898" == dec"8.10000002e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567899" == dec"8.10000001e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567900" == dec"8.10000001e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567901" == dec"8.10000000e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567902" == dec"8.09999999e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567896.000000000000" / dec"1" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567896.000000000000" == dec"8.10000003e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567896.000000000001" / dec"1" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567896.000000000001" == dec"8.10000003e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567896.000000000000000000000000000000000000000009" / dec"1" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567896.000000000000000000000000000000000000000009" == dec"8.10000003e-10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567897.900010000000000000000000000000000000000009" / dec"1" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567897.900010000000000000000000000000000000000009" == dec"8.10000002e-10") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678000" / dec"1" == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"12345678000" == dec"8.10000066420005e-11") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567800" / dec"1" == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567800" == dec"8.10000066420005e-10") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567890" / dec"1" == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567890" == dec"8.10000007371000e-10") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567891" / dec"1" == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567891" == dec"8.10000006714900e-10") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678901" / dec"1" == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"12345678901" == dec"8.10000007305390e-11") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567896" / dec"1" == dec"1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1234567896" == dec"8.10000003434400e-10") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+1" / dec"1" == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+1" / dec"1.0" == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+1" / dec"1.00" == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+2" / dec"2" == dec"5e+1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+2" / dec"2.0" == dec"5e+1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+2" / dec"2.00" == dec"5e+1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3e0" / dec"2e0" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30e-1" / dec"2e0" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"300e-2" / dec"2e0" == dec"1.50") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3000e-3" / dec"2e0" == dec"1.500") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3e0" / dec"20e-1" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30e-1" / dec"20e-1" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"300e-2" / dec"20e-1" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3000e-3" / dec"20e-1" == dec"1.50") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3e0" / dec"200e-2" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30e-1" / dec"200e-2" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"300e-2" / dec"200e-2" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3000e-3" / dec"200e-2" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3e0" / dec"2000e-3" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30e-1" / dec"2000e-3" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"300e-2" / dec"2000e-3" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3000e-3" / dec"2000e-3" == dec"1.5") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1.0e+33" == dec"1e-33") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"10e+33" == dec"1e-34") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"1.0e-33" == dec"1e+33") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"10e-33" == dec"1e+32") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e5" / dec"1e3" == dec"0e+2") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e5" / dec"2e3" == dec"0e+2") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e5" / dec"10e2" == dec"0e+3") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e5" / dec"20e2" == dec"0e+3") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e5" / dec"100e1" == dec"0e+4") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e5" / dec"200e1" == dec"0e+4") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e5" / dec"1e3" == dec"1e+2") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e5" / dec"2e3" == dec"5e+1") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e5" / dec"10e2" == dec"1e+2") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e5" / dec"20e2" == dec"5e+1") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e5" / dec"100e1" == dec"1e+2") +@with_context (Emax = 96, Emin = -95, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e5" / dec"200e1" == dec"5e+1") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e+86" / dec"1000e-13" == dec"0e+92") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-98" / dec"1000e+13" == dec"0e-98") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"9.9" == dec"0.101010101") +@with_context (Emax = 999, Emin = -999, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"9.9" == dec"0.10101010") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"9.9" == dec"0.1010101") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"9.9" == dec"0.101010") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" / dec"2" == dec"0.5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" / dec"2" == dec"0.5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00" / dec"2" == dec"0.50") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.000" / dec"2" == dec"0.500") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0000" / dec"2" == dec"0.5000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00000" / dec"2" == dec"0.50000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.000000" / dec"2" == dec"0.500000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0000000" / dec"2" == dec"0.5000000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00" / dec"2.00" == dec"0.5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1.0" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1.00" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1.000" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1.0000" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1.00000" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1.000000" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" / dec"1.0000000" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.00" / dec"1.00" == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"2" == dec"1.20") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"4" == dec"0.60") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"10" == dec"0.24") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"2.0" == dec"1.2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"4.0" == dec"0.6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"10.0" == dec"0.24") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"2.00" == dec"1.2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"4.00" == dec"0.6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40" / dec"10.00" == dec"0.24") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9" / dec"0.1" == dec"9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9" / dec"0.01" == dec"9e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9" / dec"0.001" == dec"9e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"2" == dec"2.5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"2.0" == dec"2.5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"2.00" == dec"2.5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"20" == dec"0.25") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" / dec"20.0" == dec"0.25") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400" / dec"2" == dec"1.200") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400" / dec"2.0" == dec"1.20") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400" / dec"2.400" == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240" / dec"1" == dec"240") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240" / dec"10" == dec"24") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240" / dec"100" == dec"2.4") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240" / dec"1000" == dec"0.24") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400" / dec"1" == dec"2400") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400" / dec"10" == dec"240") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400" / dec"100" == dec"24") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400" / dec"1000" == dec"2.4") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4e+6" / dec"2" == dec"1.2e+6") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40e+6" / dec"2" == dec"1.20e+6") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400e+6" / dec"2" == dec"1.200e+6") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4000e+6" / dec"2" == dec"1.2000e+6") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24e+5" / dec"2" == dec"1.2e+6") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240e+4" / dec"2" == dec"1.20e+6") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400e+3" / dec"2" == dec"1.200e+6") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24000e+2" / dec"2" == dec"1.2000e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4e+6" / dec"2" == dec"1.2e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40e+6" / dec"2" == dec"1.20e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400e+6" / dec"2" == dec"1.200e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4000e+6" / dec"2" == dec"1.2000e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24e+5" / dec"2" == dec"1.2e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240e+4" / dec"2" == dec"1.20e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400e+3" / dec"2" == dec"1.200e+6") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24000e+2" / dec"2" == dec"1.2000e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4e+6" / dec"2" == dec"1.2e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40e+6" / dec"2" == dec"1.20e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400e+6" / dec"2" == dec"1.200e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4000e+6" / dec"2" == dec"1.2000e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24e+5" / dec"2" == dec"1.2e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240e+4" / dec"2" == dec"1.20e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400e+3" / dec"2" == dec"1.200e+6") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24000e+2" / dec"2" == dec"1.2000e+6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4e+9" / dec"2" == dec"1.2e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.40e+9" / dec"2" == dec"1.20e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.400e+9" / dec"2" == dec"1.200e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.4000e+9" / dec"2" == dec"1.2000e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24e+8" / dec"2" == dec"1.2e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"240e+7" / dec"2" == dec"1.20e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400e+6" / dec"2" == dec"1.200e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24000e+5" / dec"2" == dec"1.2000e+9") +@with_context (Emax = 999, Emin = -999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131097703792") +@with_context (Emax = 999, Emin = -999, precision = 32, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813109770379") +@with_context (Emax = 999, Emin = -999, precision = 31, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81310977038") +@with_context (Emax = 999, Emin = -999, precision = 30, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131097704") +@with_context (Emax = 999, Emin = -999, precision = 29, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813109770") +@with_context (Emax = 999, Emin = -999, precision = 28, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81310977") +@with_context (Emax = 999, Emin = -999, precision = 27, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131098") +@with_context (Emax = 999, Emin = -999, precision = 26, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813110") +@with_context (Emax = 999, Emin = -999, precision = 25, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81311") +@with_context (Emax = 999, Emin = -999, precision = 24, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8131") +@with_context (Emax = 999, Emin = -999, precision = 23, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.813") +@with_context (Emax = 999, Emin = -999, precision = 22, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.81") +@with_context (Emax = 999, Emin = -999, precision = 21, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817797.8") +@with_context (Emax = 999, Emin = -999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-41011408883796817798") +@with_context (Emax = 999, Emin = -999, precision = 19, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888379681780e+19") +@with_context (Emax = 999, Emin = -999, precision = 18, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114088837968178e+19") +@with_context (Emax = 999, Emin = -999, precision = 17, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011408883796818e+19") +@with_context (Emax = 999, Emin = -999, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888379682e+19") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114088837968e+19") +@with_context (Emax = 999, Emin = -999, precision = 14, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011408883797e+19") +@with_context (Emax = 999, Emin = -999, precision = 13, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888380e+19") +@with_context (Emax = 999, Emin = -999, precision = 12, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114088838e+19") +@with_context (Emax = 999, Emin = -999, precision = 11, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011408884e+19") +@with_context (Emax = 999, Emin = -999, precision = 10, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101140888e+19") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114089e+19") +@with_context (Emax = 999, Emin = -999, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011409e+19") +@with_context (Emax = 999, Emin = -999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101141e+19") +@with_context (Emax = 999, Emin = -999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10114e+19") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1011e+19") +@with_context (Emax = 999, Emin = -999, precision = 4, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.101e+19") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.10e+19") +@with_context (Emax = 999, Emin = -999, precision = 2, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4.1e+19") +@with_context (Emax = 999, Emin = -999, precision = 1, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3374988581607586061255542201048" / dec"82293895124.90045271504836568681" == dec"-4e+19") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.00" / dec"1e-3" == dec"5.00e+3") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"-1" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" / dec"-1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" / dec"1" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" / dec"-1" == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" / dec"-1" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" / dec"1" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" / dec"1" == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"-1.0" == dec"-0e+1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" / dec"-1.0" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" / dec"1.0" == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" / dec"1.0" == dec"-0e+1") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" / dec"-1.0" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" / dec"-1.0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" / dec"1.0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" / dec"1.0" == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"+0.100" / dec"9e+999999999" == dec"1.111111e-1000000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e-999999999" / dec"+9.100" == dec"9.8901099e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.23456789" / dec"9e+999999999" == dec"-1.3717421e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.23456789012345e-0" / dec"9e+999999999" == dec"-1.3717421e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.23456789012345e-0" / dec"7e+999999999" == dec"-1.7636684e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.100" / dec"9e+999999999" == dec"-1.111111e-1000000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e-999999999" / dec"-9.100" == dec"-9.8901099e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000001" == dec"1e-1000000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000002" == dec"1e-1000000002") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000003" == dec"1e-1000000003") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000004" == dec"1e-1000000004") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000005" == dec"1e-1000000005") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000006" == dec"1e-1000000006") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000007" == dec"1e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000008" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000009" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000010" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"1e+400000009" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" / dec"-1e+400000009" == dec"-0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-600000000" / dec"1e+400000009" == dec"-0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-600000000" / dec"-1e+400000009" == dec"0e-1000000007") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52444e-80" / dec"1" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52445e-80" / dec"1" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52446e-80" / dec"1" == dec"1.524e-80") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e0" / dec"1e0" == dec"1") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e0" / dec"2e0" == dec"0.5") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e0" / dec"3e0" == dec"0.3333333") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"100e-2" / dec"1000e-3" == dec"1") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"24e-1" / dec"2e0" == dec"1.2") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2400e-3" / dec"2e0" == dec"1.200") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5e0" / dec"2e0" == dec"2.5") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5e0" / dec"20e-1" == dec"2.5") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5e0" / dec"2000e-3" == dec"2.5") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5e0" / dec"2e-1" == dec"25") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5e0" / dec"20e-2" == dec"25") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"480e-2" / dec"3e0" == dec"1.60") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"47e-1" / dec"2e0" == dec"2.35") +@with_context (Emax = 6144, Emin = -6143, precision = 7, rounding = RoundingMode{:Nearest}()) @test(dec"5" / dec"11" == dec"0.4545455") end diff --git a/test/dectests/test_max.jl b/test/dectests/test_max.jl index 1414b46..a1c9d45 100644 --- a/test/dectests/test_max.jl +++ b/test/dectests/test_max.jl @@ -1,473 +1,238 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Max" begin - # maxx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-2", dec"-2") == dec"-2" - # maxx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-2", dec"-1") == dec"-1" - # maxx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-2", dec"0") == dec"0" - # maxx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-2", dec"1") == dec"1" - # maxx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-2", dec"2") == dec"2" - # maxx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-1", dec"-2") == dec"-1" - # maxx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-1", dec"-1") == dec"-1" - # maxx008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-1", dec"0") == dec"0" - # maxx009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-1", dec"1") == dec"1" - # maxx010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-1", dec"2") == dec"2" - # maxx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"-2") == dec"0" - # maxx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"-1") == dec"0" - # maxx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"0") == dec"0" - # maxx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"1") == dec"1" - # maxx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"2") == dec"2" - # maxx016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-2") == dec"1" - # maxx017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-1") == dec"1" - # maxx018 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"0") == dec"1" - # maxx019 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1") == dec"1" - # maxx020 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"2") == dec"2" - # maxx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"2", dec"-2") == dec"2" - # maxx022 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"2", dec"-1") == dec"2" - # maxx023 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"2", dec"0") == dec"2" - # maxx025 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"2", dec"1") == dec"2" - # maxx026 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"2", dec"2") == dec"2" - # maxx030 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"0") == dec"0" - # maxx031 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"-0") == dec"0" - # maxx032 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"-0.0") == dec"0" - # maxx033 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0", dec"0.0") == dec"0" - # maxx034 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"0") == dec"0" - # maxx035 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"-0") == dec"-0" - # maxx036 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"-0.0") == dec"-0.0" - # maxx037 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"0.0") == dec"0.0" - # maxx038 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"0") == dec"0" - # maxx039 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"-0") == dec"0.0" - # maxx040 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"-0.0") == dec"0.0" - # maxx041 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"0.0") == dec"0.0" - # maxx042 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"0") == dec"0" - # maxx043 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"-0") == dec"-0.0" - # maxx044 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"-0.0") == dec"-0.0" - # maxx045 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"0.0") == dec"0.0" - # maxx050 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e1", dec"0e1") == dec"0e+1" - # maxx051 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e2", dec"0e2") == dec"0e+2" - # maxx052 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e2", dec"0e1") == dec"0e+1" - # maxx053 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e1", dec"0e2") == dec"0e+2" - # maxx054 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e1", dec"-0e1") == dec"0e+1" - # maxx055 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e2", dec"-0e2") == dec"0e+2" - # maxx056 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e2", dec"-0e1") == dec"0e+2" - # maxx057 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e1", dec"-0e2") == dec"0e+1" - # maxx058 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e1", dec"0e1") == dec"0e+1" - # maxx059 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e2", dec"0e2") == dec"0e+2" - # maxx060 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e2", dec"0e1") == dec"0e+2" - # maxx061 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0e1", dec"0e2") == dec"0e+2" - # maxx062 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e1", dec"-0e1") == dec"-0e+1" - # maxx063 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e2", dec"-0e2") == dec"-0e+2" - # maxx064 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e2", dec"-0e1") == dec"-0e+1" - # maxx065 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-0e1", dec"-0e2") == dec"-0e+1" - # maxx201 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"12345678000", dec"1") == dec"1.23456780e+10" - # maxx202 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"12345678000") == dec"1.23456780e+10" - # maxx203 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1234567800", dec"1") == dec"1.23456780e+9" - # maxx204 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567800") == dec"1.23456780e+9" - # maxx205 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1234567890", dec"1") == dec"1.23456789e+9" - # maxx206 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567890") == dec"1.23456789e+9" - # maxx207 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1234567891", dec"1") == dec"1.23456789e+9" - # maxx208 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567891") == dec"1.23456789e+9" - # maxx209 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"12345678901", dec"1") == dec"1.23456789e+10" - # maxx210 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"12345678901") == dec"1.23456789e+10" - # maxx211 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1234567896", dec"1") == dec"1.23456790e+9" - # maxx212 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567896") == dec"1.23456790e+9" - # maxx213 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-1234567891", dec"1") == dec"1" - # maxx214 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-1234567891") == dec"1" - # maxx215 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-12345678901", dec"1") == dec"1" - # maxx216 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-12345678901") == dec"1" - # maxx217 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"-1234567896", dec"1") == dec"1" - # maxx218 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-1234567896") == dec"1" - # maxx221 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"12345678000", dec"1") == dec"12345678000" - # maxx222 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"12345678000") == dec"12345678000" - # maxx223 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1234567800", dec"1") == dec"1234567800" - # maxx224 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567800") == dec"1234567800" - # maxx225 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1234567890", dec"1") == dec"1234567890" - # maxx226 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567890") == dec"1234567890" - # maxx227 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1234567891", dec"1") == dec"1234567891" - # maxx228 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567891") == dec"1234567891" - # maxx229 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"12345678901", dec"1") == dec"12345678901" - # maxx230 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"12345678901") == dec"12345678901" - # maxx231 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1234567896", dec"1") == dec"1234567896" - # maxx232 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1234567896") == dec"1234567896" - # maxx233 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1234567891", dec"1") == dec"1" - # maxx234 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-1234567891") == dec"1" - # maxx235 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-12345678901", dec"1") == dec"1" - # maxx236 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-12345678901") == dec"1" - # maxx237 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1234567896", dec"1") == dec"1" - # maxx238 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"-1234567896") == dec"1" - # maxx280 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"3", dec"2") == dec"3" - # maxx281 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-10", dec"3") == dec"3" - # maxx282 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1.0", dec"1") == dec"1" - # maxx283 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1.0") == dec"1" - # maxx330 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"+1.23456789012345e-0", dec"9e+999999999") == dec"9e+999999999" - # maxx331 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e+999999999", dec"+1.23456789012345e-0") == dec"9e+999999999" - # maxx332 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"+0.100", dec"9e-999999999") == dec"0.100" - # maxx333 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e-999999999", dec"+0.100") == dec"0.100" - # maxx335 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1.23456789012345e-0", dec"9e+999999999") == dec"9e+999999999" - # maxx336 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e+999999999", dec"-1.23456789012345e-0") == dec"9e+999999999" - # maxx337 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.100", dec"9e-999999999") == dec"9e-999999999" - # maxx338 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e-999999999", dec"-0.100") == dec"9e-999999999" - # maxx339 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e-599999999", dec"1e-400000001") == dec"1e-400000001" - # maxx340 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e-599999999", dec"1e-400000000") == dec"1e-400000000" - # maxx341 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e-600000000", dec"1e-400000000") == dec"1e-400000000" - # maxx342 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e-999999998", dec"0.01") == dec"0.01" - # maxx343 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e-999999998", dec"0.1") == dec"0.1" - # maxx344 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.01", dec"9e-999999998") == dec"0.01" - # maxx345 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e599999999", dec"1e400000001") == dec"1e+599999999" - # maxx346 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e599999999", dec"1e400000000") == dec"1e+599999999" - # maxx347 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e600000000", dec"1e400000000") == dec"1e+600000000" - # maxx348 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e999999998", dec"100") == dec"9e+999999998" - # maxx349 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"9e999999998", dec"10") == dec"9e+999999998" - # maxx350 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"100", dec"9e999999998") == dec"9e+999999998" - # maxx351 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e+777777777", dec"1e+411111111") == dec"1e+777777777" - # maxx352 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e+777777777", dec"-1e+411111111") == dec"1e+777777777" - # maxx353 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1e+777777777", dec"1e+411111111") == dec"1e+411111111" - # maxx354 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1e+777777777", dec"-1e+411111111") == dec"-1e+411111111" - # maxx355 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e-777777777", dec"1e-411111111") == dec"1e-411111111" - # maxx356 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e-777777777", dec"-1e-411111111") == dec"1e-777777777" - # maxx357 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1e-777777777", dec"1e-411111111") == dec"1e-411111111" - # maxx358 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1e-777777777", dec"-1e-411111111") == dec"-1e-777777777" - # maxx402 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1.1", dec"1") == dec"1.1" - # maxx403 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1.0") == dec"1" - # maxx404 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1.0", dec"0.1") == dec"1.0" - # maxx405 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.1", dec"0.10") == dec"0.1" - # maxx406 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.10", dec"0.100") == dec"0.10" - # maxx407 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.10", dec"0") == dec"0.10" - # maxx408 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0", dec"0.0") == dec"0" - # maxx409 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"-0") == dec"0.0" - # maxx410 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"-0.0") == dec"0.0" - # maxx411 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.00", dec"-0.0") == dec"0.00" - # maxx412 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"-0.00") == dec"0.0" - # maxx413 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0", dec"-0.0") == dec"0" - # maxx414 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0", dec"-0") == dec"0" - # maxx415 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"-0") == dec"-0.0" - # maxx416 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"-0.100") == dec"-0" - # maxx417 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.100", dec"-0.10") == dec"-0.100" - # maxx418 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.10", dec"-0.1") == dec"-0.10" - # maxx419 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.1", dec"-1.0") == dec"-0.1" - # maxx420 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1.0", dec"-1") == dec"-1.0" - # maxx421 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1", dec"-1.1") == dec"-1" - # maxx432 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1", dec"1.1") == dec"1.1" - # maxx433 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1.0", dec"1") == dec"1" - # maxx434 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.1", dec"1.0") == dec"1.0" - # maxx435 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.10", dec"0.1") == dec"0.1" - # maxx436 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.100", dec"0.10") == dec"0.10" - # maxx437 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0", dec"0.10") == dec"0.10" - # maxx438 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"0.0", dec"0") == dec"0" - # maxx439 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"0.0") == dec"0.0" - # maxx440 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"0.0") == dec"0.0" - # maxx441 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"0.00") == dec"0.00" - # maxx442 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.00", dec"0.0") == dec"0.0" - # maxx443 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.0", dec"0") == dec"0" - # maxx444 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"0") == dec"0" - # maxx445 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0", dec"-0.0") == dec"-0.0" - # maxx446 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.100", dec"-0") == dec"-0" - # maxx447 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.10", dec"-0.100") == dec"-0.100" - # maxx448 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-0.1", dec"-0.10") == dec"-0.10" - # maxx449 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1.0", dec"-0.1") == dec"-0.1" - # maxx450 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1", dec"-1.0") == dec"-1.0" - # maxx451 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1.1", dec"-1") == dec"-1" - # maxx460 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1000", dec"1e+3") == dec"1e+3" - # maxx461 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e+3", dec"1000") == dec"1e+3" - # maxx462 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1000", dec"-1e+3") == dec"1000" - # maxx463 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"1e+3", dec"-1000") == dec"1e+3" - # maxx464 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1000", dec"1e+3") == dec"1e+3" - # maxx465 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1e+3", dec"1000") == dec"1000" - # maxx466 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1000", dec"-1e+3") == dec"-1000" - # maxx467 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test max(dec"-1e+3", dec"-1000") == dec"-1000" - # maxx470 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"1", dec".5") == dec"1" - # maxx471 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"10", dec"5") == dec"10" - # maxx472 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"100", dec"50") == dec"100" - # maxx473 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"1000", dec"500") == dec"1.00e+3" - # maxx474 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"10000", dec"5000") == dec"1.00e+4" - # maxx475 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"6", dec".5") == dec"6" - # maxx476 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"66", dec"5") == dec"66" - # maxx477 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"666", dec"50") == dec"666" - # maxx478 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"6666", dec"500") == dec"6.67e+3" - # maxx479 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"66666", dec"5000") == dec"6.67e+4" - # maxx480 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"33333", dec"5000") == dec"3.33e+4" - # maxx481 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"1") == dec"1" - # maxx482 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"10") == dec"10" - # maxx483 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"100") == dec"100" - # maxx484 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"1000") == dec"1.00e+3" - # maxx485 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"10000") == dec"1.00e+4" - # maxx486 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"6") == dec"6" - # maxx487 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"66") == dec"66" - # maxx488 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"666") == dec"666" - # maxx489 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"6666") == dec"6.67e+3" - # maxx490 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"66666") == dec"6.67e+4" - # maxx491 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec".5", dec"33333") == dec"3.33e+4" - # maxx500 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError max(dec"9.999e+999999999", dec"0") - # maxx501 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-9.999e+999999999", dec"0") == dec"0" - # maxx510 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"1.00e-999", dec"0") == dec"1.00e-999" - # maxx511 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.1e-999", dec"0") == dec"1e-1000" - # maxx512 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.10e-999", dec"0") == dec"1.0e-1000" - # maxx513 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.100e-999", dec"0") == dec"1.0e-1000" - # maxx514 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.01e-999", dec"0") == dec"1e-1001" - # maxx515 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.999e-999", dec"0") == dec"1.00e-999" - # maxx516 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.099e-999", dec"0") == dec"1.0e-1000" - # maxx517 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.009e-999", dec"0") == dec"1e-1001" - # maxx518 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.001e-999", dec"0") == dec"0e-1001" - # maxx519 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.0009e-999", dec"0") == dec"0e-1001" - # maxx520 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"0.0001e-999", dec"0") == dec"0e-1001" - # maxx530 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-1.00e-999", dec"0") == dec"0" - # maxx531 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.1e-999", dec"0") == dec"0" - # maxx532 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.10e-999", dec"0") == dec"0" - # maxx533 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.100e-999", dec"0") == dec"0" - # maxx534 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.01e-999", dec"0") == dec"0" - # maxx535 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.999e-999", dec"0") == dec"0" - # maxx536 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.099e-999", dec"0") == dec"0" - # maxx537 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.009e-999", dec"0") == dec"0" - # maxx538 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.001e-999", dec"0") == dec"0" - # maxx539 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.0009e-999", dec"0") == dec"0" - # maxx540 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test max(dec"-0.0001e-999", dec"0") == dec"0" - # maxx551 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1.0", dec"0.1") == dec"1.0" - # maxx552 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0.1", dec"1.0") == dec"1.0" - # maxx553 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"10.0", dec"0.1") == dec"10.0" - # maxx554 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"0.1", dec"10.0") == dec"10.0" - # maxx555 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"100", dec"1.0") == dec"100" - # maxx556 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1.0", dec"100") == dec"100" - # maxx557 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1000", dec"10.0") == dec"1000" - # maxx558 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"10.0", dec"1000") == dec"1000" - # maxx559 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"10000", dec"100.0") == dec"10000" - # maxx560 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"100.0", dec"10000") == dec"10000" - # maxx661 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"100000", dec"1000.0") == dec"100000" - # maxx662 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1000.0", dec"100000") == dec"100000" - # maxx663 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"1000000", dec"10000.0") == dec"1000000" - # maxx664 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test max(dec"10000.0", dec"1000000") == dec"1000000" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-2", dec"-2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-2", dec"-1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-2", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-2", dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-2", dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1", dec"-2") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1", dec"-1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1", dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1", dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"-2") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"-1") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-2") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"0") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"2", dec"-2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"2", dec"-1") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"2", dec"0") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"2", dec"1") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"2", dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"-0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"-0.0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"0.0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"-0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"0.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"-0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"-0.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"0.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"-0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"0.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e1", dec"0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e2", dec"0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e2", dec"0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e1", dec"0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e1", dec"-0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e2", dec"-0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e2", dec"-0e1") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e1", dec"-0e2") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e1", dec"0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e2", dec"0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e2", dec"0e1") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0e1", dec"0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e1", dec"-0e1") == dec"-0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e2", dec"-0e2") == dec"-0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e2", dec"-0e1") == dec"-0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0e1", dec"-0e2") == dec"-0e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"12345678000", dec"1") == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"12345678000") == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567800", dec"1") == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567800") == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567890", dec"1") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567890") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567891", dec"1") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567891") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"12345678901", dec"1") == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"12345678901") == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567896", dec"1") == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567896") == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1234567891", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-1234567891") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-12345678901", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-12345678901") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1234567896", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-1234567896") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"12345678000", dec"1") == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"12345678000") == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567800", dec"1") == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567800") == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567890", dec"1") == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567890") == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567891", dec"1") == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567891") == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"12345678901", dec"1") == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"12345678901") == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1234567896", dec"1") == dec"1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1234567896") == dec"1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1234567891", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-1234567891") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-12345678901", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-12345678901") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1234567896", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"-1234567896") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"3", dec"2") == dec"3") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-10", dec"3") == dec"3") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1.0", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1.0") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"+1.23456789012345e-0", dec"9e+999999999") == dec"9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e+999999999", dec"+1.23456789012345e-0") == dec"9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"+0.100", dec"9e-999999999") == dec"0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e-999999999", dec"+0.100") == dec"0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1.23456789012345e-0", dec"9e+999999999") == dec"9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e+999999999", dec"-1.23456789012345e-0") == dec"9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.100", dec"9e-999999999") == dec"9e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e-999999999", dec"-0.100") == dec"9e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e-599999999", dec"1e-400000001") == dec"1e-400000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e-599999999", dec"1e-400000000") == dec"1e-400000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e-600000000", dec"1e-400000000") == dec"1e-400000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e-999999998", dec"0.01") == dec"0.01") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e-999999998", dec"0.1") == dec"0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.01", dec"9e-999999998") == dec"0.01") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e599999999", dec"1e400000001") == dec"1e+599999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e599999999", dec"1e400000000") == dec"1e+599999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e600000000", dec"1e400000000") == dec"1e+600000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e999999998", dec"100") == dec"9e+999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"9e999999998", dec"10") == dec"9e+999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"100", dec"9e999999998") == dec"9e+999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e+777777777", dec"1e+411111111") == dec"1e+777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e+777777777", dec"-1e+411111111") == dec"1e+777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1e+777777777", dec"1e+411111111") == dec"1e+411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1e+777777777", dec"-1e+411111111") == dec"-1e+411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e-777777777", dec"1e-411111111") == dec"1e-411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e-777777777", dec"-1e-411111111") == dec"1e-777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1e-777777777", dec"1e-411111111") == dec"1e-411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1e-777777777", dec"-1e-411111111") == dec"-1e-777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1.1", dec"1") == dec"1.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1.0") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1.0", dec"0.1") == dec"1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.1", dec"0.10") == dec"0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.10", dec"0.100") == dec"0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.10", dec"0") == dec"0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"0.0") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"-0") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"-0.0") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.00", dec"-0.0") == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"-0.00") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"-0.0") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"-0") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"-0") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"-0.100") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.100", dec"-0.10") == dec"-0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.10", dec"-0.1") == dec"-0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.1", dec"-1.0") == dec"-0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1.0", dec"-1") == dec"-1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1", dec"-1.1") == dec"-1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec"1.1") == dec"1.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1.0", dec"1") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.1", dec"1.0") == dec"1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.10", dec"0.1") == dec"0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.100", dec"0.10") == dec"0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0", dec"0.10") == dec"0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0", dec"0") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"0.0") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"0.0") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"0.00") == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.00", dec"0.0") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0", dec"0") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"0") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.100", dec"-0") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.10", dec"-0.100") == dec"-0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.1", dec"-0.10") == dec"-0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1.0", dec"-0.1") == dec"-0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1", dec"-1.0") == dec"-1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1.1", dec"-1") == dec"-1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1000", dec"1e+3") == dec"1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e+3", dec"1000") == dec"1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1000", dec"-1e+3") == dec"1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1e+3", dec"-1000") == dec"1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1000", dec"1e+3") == dec"1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1e+3", dec"1000") == dec"1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1000", dec"-1e+3") == dec"-1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1e+3", dec"-1000") == dec"-1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1", dec".5") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"10", dec"5") == dec"10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"100", dec"50") == dec"100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1000", dec"500") == dec"1.00e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"10000", dec"5000") == dec"1.00e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"6", dec".5") == dec"6") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"66", dec"5") == dec"66") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"666", dec"50") == dec"666") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"6666", dec"500") == dec"6.67e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"66666", dec"5000") == dec"6.67e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"33333", dec"5000") == dec"3.33e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"1") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"10") == dec"10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"100") == dec"100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"1000") == dec"1.00e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"10000") == dec"1.00e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"6") == dec"6") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"66") == dec"66") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"666") == dec"666") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"6666") == dec"6.67e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"66666") == dec"6.67e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec".5", dec"33333") == dec"3.33e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-9.999e+999999999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1.00e-999", dec"0") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.1e-999", dec"0") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.10e-999", dec"0") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.100e-999", dec"0") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.01e-999", dec"0") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.999e-999", dec"0") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.099e-999", dec"0") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.009e-999", dec"0") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.001e-999", dec"0") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0009e-999", dec"0") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.0001e-999", dec"0") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-1.00e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.1e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.10e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.100e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.01e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.999e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.099e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.009e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.001e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0009e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"-0.0001e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1.0", dec"0.1") == dec"1.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.1", dec"1.0") == dec"1.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"10.0", dec"0.1") == dec"10.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"0.1", dec"10.0") == dec"10.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"100", dec"1.0") == dec"100") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1.0", dec"100") == dec"100") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1000", dec"10.0") == dec"1000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"10.0", dec"1000") == dec"1000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"10000", dec"100.0") == dec"10000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"100.0", dec"10000") == dec"10000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"100000", dec"1000.0") == dec"100000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1000.0", dec"100000") == dec"100000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"1000000", dec"10000.0") == dec"1000000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(max(dec"10000.0", dec"1000000") == dec"1000000") end diff --git a/test/dectests/test_min.jl b/test/dectests/test_min.jl index 404290f..794e571 100644 --- a/test/dectests/test_min.jl +++ b/test/dectests/test_min.jl @@ -1,453 +1,228 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Min" begin - # mnmx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-2", dec"-2") == dec"-2" - # mnmx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-2", dec"-1") == dec"-2" - # mnmx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-2", dec"0") == dec"-2" - # mnmx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-2", dec"1") == dec"-2" - # mnmx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-2", dec"2") == dec"-2" - # mnmx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1", dec"-2") == dec"-2" - # mnmx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1", dec"-1") == dec"-1" - # mnmx008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1", dec"0") == dec"-1" - # mnmx009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1", dec"1") == dec"-1" - # mnmx010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1", dec"2") == dec"-1" - # mnmx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"-2") == dec"-2" - # mnmx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"-1") == dec"-1" - # mnmx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"0") == dec"0" - # mnmx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"1") == dec"0" - # mnmx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"2") == dec"0" - # mnmx016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-2") == dec"-2" - # mnmx017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1") == dec"-1" - # mnmx018 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"0") == dec"0" - # mnmx019 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1") == dec"1" - # mnmx020 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"2") == dec"1" - # mnmx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"2", dec"-2") == dec"-2" - # mnmx022 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"2", dec"-1") == dec"-1" - # mnmx023 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"2", dec"0") == dec"0" - # mnmx025 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"2", dec"1") == dec"1" - # mnmx026 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"2", dec"2") == dec"2" - # mnmx030 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"0") == dec"0" - # mnmx031 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"-0") == dec"-0" - # mnmx032 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"-0.0") == dec"-0.0" - # mnmx033 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0", dec"0.0") == dec"0.0" - # mnmx034 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"0") == dec"-0" - # mnmx035 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"-0") == dec"-0" - # mnmx036 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"-0.0") == dec"-0" - # mnmx037 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"0.0") == dec"-0" - # mnmx038 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"0") == dec"0.0" - # mnmx039 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"-0") == dec"-0" - # mnmx040 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"-0.0") == dec"-0.0" - # mnmx041 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"0.0") == dec"0.0" - # mnmx042 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"0") == dec"-0.0" - # mnmx043 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"-0") == dec"-0" - # mnmx044 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"-0.0") == dec"-0.0" - # mnmx045 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"0.0") == dec"-0.0" - # mnmx046 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0e1", dec"-0e1") == dec"-0e+1" - # mnmx047 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0e1", dec"0e2") == dec"-0e+1" - # mnmx048 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0e2", dec"0e1") == dec"0e+1" - # mnmx049 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0e1", dec"0e2") == dec"0e+1" - # mnmx050 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0e3", dec"-0e2") == dec"-0e+3" - # mnmx051 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-0e2", dec"-0e3") == dec"-0e+3" - # mnmx201 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-12345678000", dec"1") == dec"-1.23456780e+10" - # mnmx202 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-12345678000") == dec"-1.23456780e+10" - # mnmx203 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1234567800", dec"1") == dec"-1.23456780e+9" - # mnmx204 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567800") == dec"-1.23456780e+9" - # mnmx205 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1234567890", dec"1") == dec"-1.23456789e+9" - # mnmx206 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567890") == dec"-1.23456789e+9" - # mnmx207 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1234567891", dec"1") == dec"-1.23456789e+9" - # mnmx208 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567891") == dec"-1.23456789e+9" - # mnmx209 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-12345678901", dec"1") == dec"-1.23456789e+10" - # mnmx210 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-12345678901") == dec"-1.23456789e+10" - # mnmx211 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"-1234567896", dec"1") == dec"-1.23456790e+9" - # mnmx212 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567896") == dec"-1.23456790e+9" - # mnmx213 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1234567891", dec"1") == dec"1" - # mnmx214 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1234567891") == dec"1" - # mnmx215 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"12345678901", dec"1") == dec"1" - # mnmx216 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"12345678901") == dec"1" - # mnmx217 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1234567896", dec"1") == dec"1" - # mnmx218 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1234567896") == dec"1" - # mnmx221 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-12345678000", dec"1") == dec"-12345678000" - # mnmx222 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-12345678000") == dec"-12345678000" - # mnmx223 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1234567800", dec"1") == dec"-1234567800" - # mnmx224 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567800") == dec"-1234567800" - # mnmx225 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1234567890", dec"1") == dec"-1234567890" - # mnmx226 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567890") == dec"-1234567890" - # mnmx227 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1234567891", dec"1") == dec"-1234567891" - # mnmx228 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567891") == dec"-1234567891" - # mnmx229 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-12345678901", dec"1") == dec"-12345678901" - # mnmx230 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-12345678901") == dec"-12345678901" - # mnmx231 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1234567896", dec"1") == dec"-1234567896" - # mnmx232 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"-1234567896") == dec"-1234567896" - # mnmx233 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1234567891", dec"1") == dec"1" - # mnmx234 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1234567891") == dec"1" - # mnmx235 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"12345678901", dec"1") == dec"1" - # mnmx236 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"12345678901") == dec"1" - # mnmx237 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1234567896", dec"1") == dec"1" - # mnmx238 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1234567896") == dec"1" - # mnmx280 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"3", dec"2") == dec"2" - # mnmx281 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-10", dec"3") == dec"-10" - # mnmx282 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1.0", dec"1") == dec"1.0" - # mnmx283 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1.0") == dec"1.0" - # mnmx330 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1.23456789012345e-0", dec"-9e+999999999") == dec"-9e+999999999" - # mnmx331 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e+999999999", dec"-1.23456789012345e-0") == dec"-9e+999999999" - # mnmx332 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.100", dec"-9e-999999999") == dec"-0.100" - # mnmx333 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e-999999999", dec"-0.100") == dec"-0.100" - # mnmx335 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"+1.23456789012345e-0", dec"-9e+999999999") == dec"-9e+999999999" - # mnmx336 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e+999999999", dec"1.23456789012345e-0") == dec"-9e+999999999" - # mnmx337 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"+0.100", dec"-9e-999999999") == dec"-9e-999999999" - # mnmx338 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e-999999999", dec"0.100") == dec"-9e-999999999" - # mnmx339 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e-599999999", dec"-1e-400000001") == dec"-1e-400000001" - # mnmx340 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e-599999999", dec"-1e-400000000") == dec"-1e-400000000" - # mnmx341 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e-600000000", dec"-1e-400000000") == dec"-1e-400000000" - # mnmx342 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e-999999998", dec"-0.01") == dec"-0.01" - # mnmx343 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e-999999998", dec"-0.1") == dec"-0.1" - # mnmx344 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.01", dec"-9e-999999998") == dec"-0.01" - # mnmx345 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e599999999", dec"-1e400000001") == dec"-1e+599999999" - # mnmx346 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e599999999", dec"-1e400000000") == dec"-1e+599999999" - # mnmx347 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e600000000", dec"-1e400000000") == dec"-1e+600000000" - # mnmx348 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e999999998", dec"-100") == dec"-9e+999999998" - # mnmx349 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-9e999999998", dec"-10") == dec"-9e+999999998" - # mnmx350 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-100", dec"-9e999999998") == dec"-9e+999999998" - # mnmx351 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e+777777777", dec"-1e+411111111") == dec"-1e+777777777" - # mnmx352 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e+777777777", dec"+1e+411111111") == dec"-1e+777777777" - # mnmx353 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"+1e+777777777", dec"-1e+411111111") == dec"-1e+411111111" - # mnmx354 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"+1e+777777777", dec"+1e+411111111") == dec"1e+411111111" - # mnmx355 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e-777777777", dec"-1e-411111111") == dec"-1e-411111111" - # mnmx356 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e-777777777", dec"+1e-411111111") == dec"-1e-777777777" - # mnmx357 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"+1e-777777777", dec"-1e-411111111") == dec"-1e-411111111" - # mnmx358 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"+1e-777777777", dec"+1e-411111111") == dec"1e-777777777" - # mnmx402 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1.1", dec"1") == dec"1" - # mnmx403 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1.0") == dec"1.0" - # mnmx404 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1.0", dec"0.1") == dec"0.1" - # mnmx405 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.1", dec"0.10") == dec"0.10" - # mnmx406 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.10", dec"0.100") == dec"0.100" - # mnmx407 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.10", dec"0") == dec"0" - # mnmx408 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0", dec"0.0") == dec"0.0" - # mnmx409 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"-0") == dec"-0" - # mnmx410 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"-0.0") == dec"-0.0" - # mnmx411 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.00", dec"-0.0") == dec"-0.0" - # mnmx412 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"-0.00") == dec"-0.00" - # mnmx413 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0", dec"-0.0") == dec"-0.0" - # mnmx414 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0", dec"-0") == dec"-0" - # mnmx415 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"-0") == dec"-0" - # mnmx416 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"-0.100") == dec"-0.100" - # mnmx417 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.100", dec"-0.10") == dec"-0.10" - # mnmx418 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.10", dec"-0.1") == dec"-0.1" - # mnmx419 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.1", dec"-1.0") == dec"-1.0" - # mnmx420 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1.0", dec"-1") == dec"-1" - # mnmx421 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1", dec"-1.1") == dec"-1.1" - # mnmx432 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1", dec"1.1") == dec"1" - # mnmx433 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1.0", dec"1") == dec"1.0" - # mnmx434 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.1", dec"1.0") == dec"0.1" - # mnmx435 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.10", dec"0.1") == dec"0.10" - # mnmx436 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.100", dec"0.10") == dec"0.100" - # mnmx437 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0", dec"0.10") == dec"0" - # mnmx438 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"0.0", dec"0") == dec"0.0" - # mnmx439 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"0.0") == dec"-0" - # mnmx440 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"0.0") == dec"-0.0" - # mnmx441 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"0.00") == dec"-0.0" - # mnmx442 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.00", dec"0.0") == dec"-0.00" - # mnmx443 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.0", dec"0") == dec"-0.0" - # mnmx444 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"0") == dec"-0" - # mnmx445 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0", dec"-0.0") == dec"-0" - # mnmx446 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.100", dec"-0") == dec"-0.100" - # mnmx447 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.10", dec"-0.100") == dec"-0.10" - # mnmx448 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-0.1", dec"-0.10") == dec"-0.1" - # mnmx449 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1.0", dec"-0.1") == dec"-1.0" - # mnmx450 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1", dec"-1.0") == dec"-1" - # mnmx451 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1.1", dec"-1") == dec"-1.1" - # mnmx460 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1000", dec"1e+3") == dec"1000" - # mnmx461 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1e+3", dec"1000") == dec"1000" - # mnmx462 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1000", dec"-1e+3") == dec"-1e+3" - # mnmx463 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"1e+3", dec"-1000") == dec"-1000" - # mnmx464 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1000", dec"1e+3") == dec"-1000" - # mnmx465 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e+3", dec"1000") == dec"-1e+3" - # mnmx466 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1000", dec"-1e+3") == dec"-1e+3" - # mnmx467 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test min(dec"-1e+3", dec"-1000") == dec"-1e+3" - # mnmx470 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"1", dec"5") == dec"1" - # mnmx471 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"10", dec"50") == dec"10" - # mnmx472 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"100", dec"500") == dec"100" - # mnmx473 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"1000", dec"5000") == dec"1.00e+3" - # mnmx474 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"10000", dec"50000") == dec"1.00e+4" - # mnmx475 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"6", dec"50") == dec"6" - # mnmx476 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"66", dec"500") == dec"66" - # mnmx477 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"666", dec"5000") == dec"666" - # mnmx478 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"6666", dec"50000") == dec"6.67e+3" - # mnmx479 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"66666", dec"500000") == dec"6.67e+4" - # mnmx480 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"33333", dec"500000") == dec"3.33e+4" - # mnmx481 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75401", dec"1") == dec"1" - # mnmx482 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75402", dec"10") == dec"10" - # mnmx483 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75403", dec"100") == dec"100" - # mnmx484 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75404", dec"1000") == dec"1.00e+3" - # mnmx485 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75405", dec"10000") == dec"1.00e+4" - # mnmx486 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75406", dec"6") == dec"6" - # mnmx487 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75407", dec"66") == dec"66" - # mnmx488 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75408", dec"666") == dec"666" - # mnmx489 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75409", dec"6666") == dec"6.67e+3" - # mnmx490 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75410", dec"66666") == dec"6.67e+4" - # mnmx491 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"75411", dec"33333") == dec"3.33e+4" - # mnmx500 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"9.999e+999999999", dec"0") == dec"0" - # mnmx501 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError min(dec"-9.999e+999999999", dec"0") - # mnmx510 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"1.00e-999", dec"0") == dec"0" - # mnmx511 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.1e-999", dec"0") == dec"0" - # mnmx512 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.10e-999", dec"0") == dec"0" - # mnmx513 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.100e-999", dec"0") == dec"0" - # mnmx514 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.01e-999", dec"0") == dec"0" - # mnmx515 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.999e-999", dec"0") == dec"0" - # mnmx516 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.099e-999", dec"0") == dec"0" - # mnmx517 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.009e-999", dec"0") == dec"0" - # mnmx518 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.001e-999", dec"0") == dec"0" - # mnmx519 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.0009e-999", dec"0") == dec"0" - # mnmx520 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"0.0001e-999", dec"0") == dec"0" - # mnmx530 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-1.00e-999", dec"0") == dec"-1.00e-999" - # mnmx531 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.1e-999", dec"0") == dec"-1e-1000" - # mnmx532 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.10e-999", dec"0") == dec"-1.0e-1000" - # mnmx533 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.100e-999", dec"0") == dec"-1.0e-1000" - # mnmx534 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.01e-999", dec"0") == dec"-1e-1001" - # mnmx535 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.999e-999", dec"0") == dec"-1.00e-999" - # mnmx536 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.099e-999", dec"0") == dec"-1.0e-1000" - # mnmx537 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.009e-999", dec"0") == dec"-1e-1001" - # mnmx538 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.001e-999", dec"0") == dec"-0e-1001" - # mnmx539 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.0009e-999", dec"0") == dec"-0e-1001" - # mnmx540 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test min(dec"-0.0001e-999", dec"0") == dec"-0e-1001" - # mnmx551 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1.0", dec"0.1") == dec"0.1" - # mnmx552 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0.1", dec"1.0") == dec"0.1" - # mnmx553 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"10.0", dec"0.1") == dec"0.1" - # mnmx554 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"0.1", dec"10.0") == dec"0.1" - # mnmx555 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"100", dec"1.0") == dec"1.0" - # mnmx556 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1.0", dec"100") == dec"1.0" - # mnmx557 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1000", dec"10.0") == dec"10.0" - # mnmx558 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"10.0", dec"1000") == dec"10.0" - # mnmx559 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"10000", dec"100.0") == dec"100.0" - # mnmx560 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"100.0", dec"10000") == dec"100.0" - # mnmx561 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"100000", dec"1000.0") == dec"1000.0" - # mnmx562 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1000.0", dec"100000") == dec"1000.0" - # mnmx563 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"1000000", dec"10000.0") == dec"10000.0" - # mnmx564 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test min(dec"10000.0", dec"1000000") == dec"10000.0" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-2", dec"-2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-2", dec"-1") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-2", dec"0") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-2", dec"1") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-2", dec"2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1", dec"-2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1", dec"-1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1", dec"0") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1", dec"1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1", dec"2") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"-2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"-1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"1") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"2") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"2") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"2", dec"-2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"2", dec"-1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"2", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"2", dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"2", dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"-0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"0.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"-0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"-0.0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"0.0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"-0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"0.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"-0") == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"0.0") == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0e1", dec"-0e1") == dec"-0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0e1", dec"0e2") == dec"-0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0e2", dec"0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0e1", dec"0e2") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0e3", dec"-0e2") == dec"-0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0e2", dec"-0e3") == dec"-0e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-12345678000", dec"1") == dec"-1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-12345678000") == dec"-1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567800", dec"1") == dec"-1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567800") == dec"-1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567890", dec"1") == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567890") == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567891", dec"1") == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567891") == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-12345678901", dec"1") == dec"-1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-12345678901") == dec"-1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567896", dec"1") == dec"-1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567896") == dec"-1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1234567891", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1234567891") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"12345678901", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"12345678901") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1234567896", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1234567896") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-12345678000", dec"1") == dec"-12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-12345678000") == dec"-12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567800", dec"1") == dec"-1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567800") == dec"-1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567890", dec"1") == dec"-1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567890") == dec"-1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567891", dec"1") == dec"-1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567891") == dec"-1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-12345678901", dec"1") == dec"-12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-12345678901") == dec"-12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1234567896", dec"1") == dec"-1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"-1234567896") == dec"-1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1234567891", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1234567891") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"12345678901", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"12345678901") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1234567896", dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1234567896") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"3", dec"2") == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-10", dec"3") == dec"-10") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1.0", dec"1") == dec"1.0") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1.0") == dec"1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1.23456789012345e-0", dec"-9e+999999999") == dec"-9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e+999999999", dec"-1.23456789012345e-0") == dec"-9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.100", dec"-9e-999999999") == dec"-0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e-999999999", dec"-0.100") == dec"-0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"+1.23456789012345e-0", dec"-9e+999999999") == dec"-9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e+999999999", dec"1.23456789012345e-0") == dec"-9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"+0.100", dec"-9e-999999999") == dec"-9e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e-999999999", dec"0.100") == dec"-9e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e-599999999", dec"-1e-400000001") == dec"-1e-400000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e-599999999", dec"-1e-400000000") == dec"-1e-400000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e-600000000", dec"-1e-400000000") == dec"-1e-400000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e-999999998", dec"-0.01") == dec"-0.01") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e-999999998", dec"-0.1") == dec"-0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.01", dec"-9e-999999998") == dec"-0.01") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e599999999", dec"-1e400000001") == dec"-1e+599999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e599999999", dec"-1e400000000") == dec"-1e+599999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e600000000", dec"-1e400000000") == dec"-1e+600000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e999999998", dec"-100") == dec"-9e+999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-9e999999998", dec"-10") == dec"-9e+999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-100", dec"-9e999999998") == dec"-9e+999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e+777777777", dec"-1e+411111111") == dec"-1e+777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e+777777777", dec"+1e+411111111") == dec"-1e+777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"+1e+777777777", dec"-1e+411111111") == dec"-1e+411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"+1e+777777777", dec"+1e+411111111") == dec"1e+411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e-777777777", dec"-1e-411111111") == dec"-1e-411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e-777777777", dec"+1e-411111111") == dec"-1e-777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"+1e-777777777", dec"-1e-411111111") == dec"-1e-411111111") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"+1e-777777777", dec"+1e-411111111") == dec"1e-777777777") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1.1", dec"1") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1.0") == dec"1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1.0", dec"0.1") == dec"0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.1", dec"0.10") == dec"0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.10", dec"0.100") == dec"0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.10", dec"0") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"0.0") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"-0") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.00", dec"-0.0") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"-0.00") == dec"-0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"-0.0") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"-0") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"-0") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"-0.100") == dec"-0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.100", dec"-0.10") == dec"-0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.10", dec"-0.1") == dec"-0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.1", dec"-1.0") == dec"-1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1.0", dec"-1") == dec"-1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1", dec"-1.1") == dec"-1.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"1.1") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1.0", dec"1") == dec"1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.1", dec"1.0") == dec"0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.10", dec"0.1") == dec"0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.100", dec"0.10") == dec"0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0", dec"0.10") == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0", dec"0") == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"0.0") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"0.0") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"0.00") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.00", dec"0.0") == dec"-0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0", dec"0") == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"0") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0", dec"-0.0") == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.100", dec"-0") == dec"-0.100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.10", dec"-0.100") == dec"-0.10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.1", dec"-0.10") == dec"-0.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1.0", dec"-0.1") == dec"-1.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1", dec"-1.0") == dec"-1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1.1", dec"-1") == dec"-1.1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1000", dec"1e+3") == dec"1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1e+3", dec"1000") == dec"1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1000", dec"-1e+3") == dec"-1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1e+3", dec"-1000") == dec"-1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1000", dec"1e+3") == dec"-1000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e+3", dec"1000") == dec"-1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1000", dec"-1e+3") == dec"-1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1e+3", dec"-1000") == dec"-1e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1", dec"5") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"10", dec"50") == dec"10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"100", dec"500") == dec"100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1000", dec"5000") == dec"1.00e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"10000", dec"50000") == dec"1.00e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"6", dec"50") == dec"6") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"66", dec"500") == dec"66") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"666", dec"5000") == dec"666") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"6666", dec"50000") == dec"6.67e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"66666", dec"500000") == dec"6.67e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"33333", dec"500000") == dec"3.33e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75401", dec"1") == dec"1") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75402", dec"10") == dec"10") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75403", dec"100") == dec"100") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75404", dec"1000") == dec"1.00e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75405", dec"10000") == dec"1.00e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75406", dec"6") == dec"6") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75407", dec"66") == dec"66") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75408", dec"666") == dec"666") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75409", dec"6666") == dec"6.67e+3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75410", dec"66666") == dec"6.67e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"75411", dec"33333") == dec"3.33e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"9.999e+999999999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1.00e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.1e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.10e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.100e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.01e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.999e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.099e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.009e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.001e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0009e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.0001e-999", dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-1.00e-999", dec"0") == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.1e-999", dec"0") == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.10e-999", dec"0") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.100e-999", dec"0") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.01e-999", dec"0") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.999e-999", dec"0") == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.099e-999", dec"0") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.009e-999", dec"0") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.001e-999", dec"0") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0009e-999", dec"0") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"-0.0001e-999", dec"0") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1.0", dec"0.1") == dec"0.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.1", dec"1.0") == dec"0.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"10.0", dec"0.1") == dec"0.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"0.1", dec"10.0") == dec"0.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"100", dec"1.0") == dec"1.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1.0", dec"100") == dec"1.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1000", dec"10.0") == dec"10.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"10.0", dec"1000") == dec"10.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"10000", dec"100.0") == dec"100.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"100.0", dec"10000") == dec"100.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"100000", dec"1000.0") == dec"1000.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1000.0", dec"100000") == dec"1000.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"1000000", dec"10000.0") == dec"10000.0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(min(dec"10000.0", dec"1000000") == dec"10000.0") end diff --git a/test/dectests/test_minus.jl b/test/dectests/test_minus.jl index 9e05567..ae8e3fc 100644 --- a/test/dectests/test_minus.jl +++ b/test/dectests/test_minus.jl @@ -1,211 +1,106 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Minus" begin - # minx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"1") == dec"-1" - # minx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-1") == dec"1" - # minx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"1.00") == dec"-1.00" - # minx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-1.00") == dec"1.00" - # minx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"0") == dec"0" - # minx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"0.00") == dec"0.00" - # minx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"00.0") == dec"0.0" - # minx008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"00.00") == dec"0.00" - # minx009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"00") == dec"0" - # minx010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-2") == dec"2" - # minx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"2") == dec"-2" - # minx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-2.00") == dec"2.00" - # minx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"2.00") == dec"-2.00" - # minx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-0") == dec"0" - # minx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-0.00") == dec"0.00" - # minx016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-00.0") == dec"0.0" - # minx017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-00.00") == dec"0.00" - # minx018 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-00") == dec"0" - # minx020 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-0e3") == dec"0e+3" - # minx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-0e2") == dec"0e+2" - # minx022 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-0e1") == dec"0e+1" - # minx023 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-0e0") == dec"0" - # minx024 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+0e0") == dec"0" - # minx025 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+0e1") == dec"0e+1" - # minx026 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+0e2") == dec"0e+2" - # minx027 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+0e3") == dec"0e+3" - # minx030 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-5e3") == dec"5e+3" - # minx031 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-5e8") == dec"5e+8" - # minx032 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-5e13") == dec"5e+13" - # minx033 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-5e18") == dec"5e+18" - # minx034 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+5e3") == dec"-5e+3" - # minx035 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+5e8") == dec"-5e+8" - # minx036 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+5e13") == dec"-5e+13" - # minx037 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"+5e18") == dec"-5e+18" - # minx050 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-2000000") == dec"2000000" - # minx051 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"2000000") == dec"-2000000" - # minx052 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test -(dec"-2000000") == dec"2000000" - # minx053 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test -(dec"2000000") == dec"-2000000" - # minx054 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test -(dec"-2000000") == dec"2.00000e+6" - # minx055 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test -(dec"2000000") == dec"-2.00000e+6" - # minx056 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-2000000") == dec"2.00e+6" - # minx057 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test -(dec"2000000") == dec"-2.00e+6" - # minx060 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e-10") == dec"-0.0000056267" - # minx061 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e-5") == dec"-0.56267" - # minx062 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e-2") == dec"-562.67" - # minx063 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e-1") == dec"-5626.7" - # minx065 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e-0") == dec"-56267" - # minx066 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e+0") == dec"-56267" - # minx067 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e+1") == dec"-5.6267e+5" - # minx068 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e+2") == dec"-5.6267e+6" - # minx069 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e+3") == dec"-5.6267e+7" - # minx070 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e+4") == dec"-5.6267e+8" - # minx071 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e+5") == dec"-5.6267e+9" - # minx072 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"56267e+6") == dec"-5.6267e+10" - # minx080 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e-10") == dec"0.0000056267" - # minx081 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e-5") == dec"0.56267" - # minx082 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e-2") == dec"562.67" - # minx083 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e-1") == dec"5626.7" - # minx085 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e-0") == dec"56267" - # minx086 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e+0") == dec"56267" - # minx087 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e+1") == dec"5.6267e+5" - # minx088 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e+2") == dec"5.6267e+6" - # minx089 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e+3") == dec"5.6267e+7" - # minx090 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e+4") == dec"5.6267e+8" - # minx091 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e+5") == dec"5.6267e+9" - # minx092 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test -(dec"-56267e+6") == dec"5.6267e+10" - # minx100 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError -(dec"9.999e+999999999") - # minx101 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError -(dec"-9.999e+999999999") - # minx110 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"1.00e-999") == dec"-1.00e-999" - # minx111 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.1e-999") == dec"-1e-1000" - # minx112 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.10e-999") == dec"-1.0e-1000" - # minx113 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.100e-999") == dec"-1.0e-1000" - # minx114 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.01e-999") == dec"-1e-1001" - # minx115 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.999e-999") == dec"-1.00e-999" - # minx116 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.099e-999") == dec"-1.0e-1000" - # minx117 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.009e-999") == dec"-1e-1001" - # minx118 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.001e-999") == dec"-0e-1001" - # minx119 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.0009e-999") == dec"-0e-1001" - # minx120 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"0.0001e-999") == dec"-0e-1001" - # minx130 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-1.00e-999") == dec"1.00e-999" - # minx131 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.1e-999") == dec"1e-1000" - # minx132 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.10e-999") == dec"1.0e-1000" - # minx133 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.100e-999") == dec"1.0e-1000" - # minx134 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.01e-999") == dec"1e-1001" - # minx135 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.999e-999") == dec"1.00e-999" - # minx136 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.099e-999") == dec"1.0e-1000" - # minx137 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.009e-999") == dec"1e-1001" - # minx138 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.001e-999") == dec"0e-1001" - # minx139 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.0009e-999") == dec"0e-1001" - # minx140 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test -(dec"-0.0001e-999") == dec"0e-1001" - # minx301 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test -(dec"12345678000") == dec"-1.23456780e+10" - # minx302 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test -(dec"1234567800") == dec"-1.23456780e+9" - # minx303 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test -(dec"1234567890") == dec"-1.23456789e+9" - # minx304 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test -(dec"1234567891") == dec"-1.23456789e+9" - # minx305 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test -(dec"12345678901") == dec"-1.23456789e+10" - # minx306 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test -(dec"1234567896") == dec"-1.23456790e+9" - # minx321 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test -(dec"12345678000") == dec"-12345678000" - # minx322 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test -(dec"1234567800") == dec"-1234567800" - # minx323 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test -(dec"1234567890") == dec"-1234567890" - # minx324 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test -(dec"1234567891") == dec"-1234567891" - # minx325 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test -(dec"12345678901") == dec"-12345678901" - # minx326 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test -(dec"1234567896") == dec"-1234567896" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1.00") == dec"-1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-1.00") == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"00.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"00.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"00") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-2.00") == dec"2.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"2.00") == dec"-2.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-00.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-00.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-00") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0e3") == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0e0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+0e0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+0e3") == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-5e3") == dec"5e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-5e8") == dec"5e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-5e13") == dec"5e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-5e18") == dec"5e+18") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+5e3") == dec"-5e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+5e8") == dec"-5e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+5e13") == dec"-5e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"+5e18") == dec"-5e+18") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"2000000") == dec"-2000000") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"2000000") == dec"-2000000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-2000000") == dec"2.00000e+6") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"2000000") == dec"-2.00000e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-2000000") == dec"2.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"2000000") == dec"-2.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e-10") == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e-5") == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e-2") == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e-1") == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e-0") == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e+0") == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e+1") == dec"-5.6267e+5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e+2") == dec"-5.6267e+6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e+3") == dec"-5.6267e+7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e+4") == dec"-5.6267e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e+5") == dec"-5.6267e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"56267e+6") == dec"-5.6267e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e-10") == dec"0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e-5") == dec"0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e-2") == dec"562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e-1") == dec"5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e-0") == dec"56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e+0") == dec"56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e+1") == dec"5.6267e+5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e+2") == dec"5.6267e+6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e+3") == dec"5.6267e+7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e+4") == dec"5.6267e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e+5") == dec"5.6267e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-56267e+6") == dec"5.6267e+10") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1.00e-999") == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.1e-999") == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.10e-999") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.100e-999") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.01e-999") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.999e-999") == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.099e-999") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.009e-999") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.001e-999") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.0009e-999") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"0.0001e-999") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-1.00e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.1e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.10e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.100e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.01e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.999e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.099e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.009e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.0009e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"-0.0001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"12345678000") == dec"-1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567800") == dec"-1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567890") == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567891") == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"12345678901") == dec"-1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567896") == dec"-1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"12345678000") == dec"-12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567800") == dec"-1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567890") == dec"-1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567891") == dec"-1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"12345678901") == dec"-12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(-(dec"1234567896") == dec"-1234567896") end diff --git a/test/dectests/test_multiply.jl b/test/dectests/test_multiply.jl index 96ebc05..957814f 100644 --- a/test/dectests/test_multiply.jl +++ b/test/dectests/test_multiply.jl @@ -1,811 +1,382 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Multiply" begin - # mulx000 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" * dec"2" == dec"4" - # mulx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" * dec"3" == dec"6" - # mulx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" * dec"1" == dec"5" - # mulx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" * dec"2" == dec"10" - # mulx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.20" * dec"2" == dec"2.40" - # mulx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.20" * dec"0" == dec"0.00" - # mulx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.20" * dec"-2" == dec"-2.40" - # mulx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.20" * dec"2" == dec"-2.40" - # mulx008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.20" * dec"0" == dec"-0.00" - # mulx009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.20" * dec"-2" == dec"2.40" - # mulx010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5.09" * dec"7.1" == dec"36.139" - # mulx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.5" * dec"4" == dec"10.0" - # mulx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.50" * dec"4" == dec"10.00" - # mulx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.23456789" * dec"1.00000000" == dec"1.23456789" - # mulx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9.999999999" * dec"9.999999999" == dec"100.000000" - # mulx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2.50" * dec"4" == dec"10.00" - # mulx016 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"2.50" * dec"4" == dec"10.00" - # mulx017 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"9.999999999" * dec"9.999999999" == dec"100.000" - # mulx018 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"9.999999999" * dec"-9.999999999" == dec"-100.000" - # mulx019 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"-9.999999999" * dec"9.999999999" == dec"-100.000" - # mulx020 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"-9.999999999" * dec"-9.999999999" == dec"100.000" - # mulx059 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"999999999999" * dec"9765625" == dec"9.76562499999023e+18" - # mulx160 - @with_context (Emax=384, Emin=-383, precision=30, rounding=RoundNearestTiesAway) @test dec"999999999999" * dec"9765625" == dec"9765624999990234375" - # mulx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" * dec"0" == dec"0" - # mulx022 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" * dec"-0" == dec"-0" - # mulx023 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" * dec"0" == dec"-0" - # mulx024 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" * dec"-0" == dec"0" - # mulx025 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"-0.0" == dec"0.00" - # mulx026 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"-0.0" == dec"0.00" - # mulx027 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"-0.0" == dec"0.00" - # mulx028 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"-0.0" == dec"0.00" - # mulx030 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5.00" * dec"1e-3" == dec"0.00500" - # mulx031 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.00" * dec"0.000" == dec"0.00000" - # mulx032 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.00" * dec"0e-3" == dec"0.00000" - # mulx033 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-3" * dec"00.00" == dec"0.00000" - # mulx034 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5.00" * dec"1e-3" == dec"-0.00500" - # mulx035 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-00.00" * dec"0.000" == dec"-0.00000" - # mulx036 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-00.00" * dec"0e-3" == dec"-0.00000" - # mulx037 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0e-3" * dec"00.00" == dec"-0.00000" - # mulx038 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5.00" * dec"-1e-3" == dec"-0.00500" - # mulx039 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.00" * dec"-0.000" == dec"-0.00000" - # mulx040 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.00" * dec"-0e-3" == dec"-0.00000" - # mulx041 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0e-3" * dec"-00.00" == dec"-0.00000" - # mulx042 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5.00" * dec"-1e-3" == dec"0.00500" - # mulx043 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-00.00" * dec"-0.000" == dec"0.00000" - # mulx044 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-00.00" * dec"-0e-3" == dec"0.00000" - # mulx045 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0e-3" * dec"-00.00" == dec"0.00000" - # mulx050 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.20" * dec"3" == dec"3.60" - # mulx051 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"7" * dec"3" == dec"21" - # mulx052 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9" * dec"0.8" == dec"0.72" - # mulx053 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9" * dec"-0" == dec"-0.0" - # mulx054 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"654321" * dec"654321" == dec"4.28135971e+11" - # mulx060 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123.45" * dec"1e7" == dec"1.2345e+9" - # mulx061 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123.45" * dec"1e8" == dec"1.2345e+10" - # mulx062 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123.45" * dec"1e+9" == dec"1.2345e+11" - # mulx063 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123.45" * dec"1e10" == dec"1.2345e+12" - # mulx064 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123.45" * dec"1e11" == dec"1.2345e+13" - # mulx065 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123.45" * dec"1e12" == dec"1.2345e+14" - # mulx066 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123.45" * dec"1e13" == dec"1.2345e+15" - # mulx080 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"123456789" == dec"12345678.9" - # mulx081 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"1234567891" == dec"123456789" - # mulx082 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"12345678912" == dec"1.23456789e+9" - # mulx083 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"12345678912345" == dec"1.23456789e+12" - # mulx084 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"123456789" == dec"12345678.9" - # mulx085 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"12345678912" == dec"1.2345679e+9" - # mulx086 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"12345678912345" == dec"1.2345679e+12" - # mulx087 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"12345678912" == dec"1.234568e+9" - # mulx088 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"12345678912345" == dec"1.234568e+12" - # mulx090 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" * dec"0.1" == dec"12345678.9" - # mulx091 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567891" * dec"0.1" == dec"123456789" - # mulx092 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345678912" * dec"0.1" == dec"1.23456789e+9" - # mulx093 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345678912345" * dec"0.1" == dec"1.23456789e+12" - # mulx094 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" * dec"0.1" == dec"12345678.9" - # mulx095 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"12345678912" * dec"0.1" == dec"1.2345679e+9" - # mulx096 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"12345678912345" * dec"0.1" == dec"1.2345679e+12" - # mulx097 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"12345678912" * dec"0.1" == dec"1.234568e+9" - # mulx098 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"12345678912345" * dec"0.1" == dec"1.234568e+12" - # mulx101 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9" == dec"81" - # mulx102 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90" == dec"810" - # mulx103 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"900" == dec"8100" - # mulx104 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000" == dec"81000" - # mulx105 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000" == dec"810000" - # mulx106 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000" == dec"8100000" - # mulx107 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000" == dec"81000000" - # mulx108 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000" == dec"810000000" - # mulx109 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000" == dec"8100000000" - # mulx110 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000" == dec"81000000000" - # mulx111 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000" == dec"810000000000" - # mulx112 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000" == dec"8100000000000" - # mulx113 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000" == dec"81000000000000" - # mulx114 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000" == dec"810000000000000" - # mulx115 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000000" == dec"8100000000000000" - # mulx116 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000000" == dec"81000000000000000" - # mulx117 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000000" == dec"810000000000000000" - # mulx118 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000000000" == dec"8100000000000000000" - # mulx119 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000000000" == dec"81000000000000000000" - # mulx120 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000000000" == dec"810000000000000000000" - # mulx121 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000000000000" == dec"8100000000000000000000" - # mulx122 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000000000000" == dec"81000000000000000000000" - # mulx123 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000000000000" == dec"810000000000000000000000" - # mulx131 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3" == dec"9" - # mulx132 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30" == dec"90" - # mulx133 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"300" == dec"900" - # mulx134 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3000" == dec"9000" - # mulx135 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30000" == dec"90000" - # mulx136 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"300000" == dec"900000" - # mulx137 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3000000" == dec"9000000" - # mulx138 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30000000" == dec"90000000" - # mulx139 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"300000000" == dec"900000000" - # mulx140 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3000000000" == dec"9000000000" - # mulx141 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30000000000" == dec"90000000000" - # mulx142 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"300000000000" == dec"900000000000" - # mulx143 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3000000000000" == dec"9000000000000" - # mulx144 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30000000000000" == dec"90000000000000" - # mulx145 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"300000000000000" == dec"900000000000000" - # mulx146 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3000000000000000" == dec"9000000000000000" - # mulx147 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30000000000000000" == dec"90000000000000000" - # mulx148 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"300000000000000000" == dec"900000000000000000" - # mulx149 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3000000000000000000" == dec"9000000000000000000" - # mulx150 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30000000000000000000" == dec"90000000000000000000" - # mulx151 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"300000000000000000000" == dec"900000000000000000000" - # mulx152 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"3000000000000000000000" == dec"9000000000000000000000" - # mulx153 - @with_context (Emax=9999, Emin=-9999, precision=33, rounding=RoundNearestTiesAway) @test dec"3" * dec"30000000000000000000000" == dec"90000000000000000000000" - # mulx170 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"9e999999999" == dec"9e+999999999" - # mulx171 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"9.9e999999999" == dec"9.9e+999999999" - # mulx172 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"9.99e999999999" == dec"9.99e+999999999" - # mulx173 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e999999999" * dec"1" == dec"9e+999999999" - # mulx174 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9.9e999999999" * dec"1" == dec"9.9e+999999999" - # mulx176 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9.99e999999999" * dec"1" == dec"9.99e+999999999" - # mulx177 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"9.99999999e999999999" == dec"9.99999999e+999999999" - # mulx178 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9.99999999e999999999" * dec"1" == dec"9.99999999e+999999999" - # mulx180 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"9e-999999998" == dec"9e-999999999" - # mulx181 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"99e-999999998" == dec"9.9e-999999998" - # mulx182 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"999e-999999998" == dec"9.99e-999999997" - # mulx183 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"9e-999999998" == dec"9e-999999999" - # mulx184 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"99e-999999998" == dec"9.9e-999999998" - # mulx185 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"999e-999999998" == dec"9.99e-999999997" - # mulx186 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"999e-999999997" == dec"9.99e-999999996" - # mulx187 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"9999e-999999997" == dec"9.999e-999999995" - # mulx188 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" * dec"99999e-999999997" == dec"9.9999e-999999994" - # mulx190 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"9e-999999998" == dec"9e-999999998" - # mulx191 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"99e-999999998" == dec"9.9e-999999997" - # mulx192 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"999e-999999998" == dec"9.99e-999999996" - # mulx193 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e-999999998" * dec"1" == dec"9e-999999998" - # mulx194 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"99e-999999998" * dec"1" == dec"9.9e-999999997" - # mulx195 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"999e-999999998" * dec"1" == dec"9.99e-999999996" - # mulx196 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-599999999" * dec"1e-400000000" == dec"1e-999999999" - # mulx197 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-399999999" == dec"1e-999999999" - # mulx198 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.2e-599999999" * dec"1.2e-400000000" == dec"1.44e-999999999" - # mulx199 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.2e-600000000" * dec"1.2e-399999999" == dec"1.44e-999999999" - # mulx201 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e599999999" * dec"1e400000000" == dec"1e+999999999" - # mulx202 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e600000000" * dec"1e399999999" == dec"1e+999999999" - # mulx203 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.2e599999999" * dec"1.2e400000000" == dec"1.44e+999999999" - # mulx204 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.2e600000000" * dec"1.2e399999999" == dec"1.44e+999999999" - # mulx246 - @with_context (Emax=999999999, Emin=-999999999, precision=33, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671916511992830" - # mulx247 - @with_context (Emax=999999999, Emin=-999999999, precision=32, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967191651199283" - # mulx248 - @with_context (Emax=999999999, Emin=-999999999, precision=31, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719165119928" - # mulx249 - @with_context (Emax=999999999, Emin=-999999999, precision=30, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671916511993" - # mulx250 - @with_context (Emax=999999999, Emin=-999999999, precision=29, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967191651199" - # mulx251 - @with_context (Emax=999999999, Emin=-999999999, precision=28, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719165120" - # mulx252 - @with_context (Emax=999999999, Emin=-999999999, precision=27, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671916512" - # mulx253 - @with_context (Emax=999999999, Emin=-999999999, precision=26, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967191651" - # mulx254 - @with_context (Emax=999999999, Emin=-999999999, precision=25, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719165" - # mulx255 - @with_context (Emax=999999999, Emin=-999999999, precision=24, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671917" - # mulx256 - @with_context (Emax=999999999, Emin=-999999999, precision=23, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967192" - # mulx257 - @with_context (Emax=999999999, Emin=-999999999, precision=22, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719" - # mulx258 - @with_context (Emax=999999999, Emin=-999999999, precision=21, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369672" - # mulx259 - @with_context (Emax=999999999, Emin=-999999999, precision=20, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967" - # mulx260 - @with_context (Emax=999999999, Emin=-999999999, precision=19, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933697" - # mulx261 - @with_context (Emax=999999999, Emin=-999999999, precision=18, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193370" - # mulx262 - @with_context (Emax=999999999, Emin=-999999999, precision=17, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119337" - # mulx263 - @with_context (Emax=999999999, Emin=-999999999, precision=16, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011934" - # mulx264 - @with_context (Emax=999999999, Emin=-999999999, precision=15, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193" - # mulx265 - @with_context (Emax=999999999, Emin=-999999999, precision=14, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119" - # mulx266 - @with_context (Emax=999999999, Emin=-999999999, precision=13, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908012" - # mulx267 - @with_context (Emax=999999999, Emin=-999999999, precision=12, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801" - # mulx268 - @with_context (Emax=999999999, Emin=-999999999, precision=11, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080" - # mulx269 - @with_context (Emax=999999999, Emin=-999999999, precision=10, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908" - # mulx270 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.291" - # mulx271 - @with_context (Emax=999999999, Emin=-999999999, precision=8, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29" - # mulx272 - @with_context (Emax=999999999, Emin=-999999999, precision=7, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.3" - # mulx273 - @with_context (Emax=999999999, Emin=-999999999, precision=6, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433" - # mulx274 - @with_context (Emax=999999999, Emin=-999999999, precision=5, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.4543e+5" - # mulx275 - @with_context (Emax=999999999, Emin=-999999999, precision=4, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.454e+5" - # mulx276 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.45e+5" - # mulx277 - @with_context (Emax=999999999, Emin=-999999999, precision=2, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.5e+5" - # mulx278 - @with_context (Emax=999999999, Emin=-999999999, precision=1, rounding=RoundNearestTiesAway) @test dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1e+5" - # mulx301 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9" == dec"81" - # mulx302 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90" == dec"810" - # mulx303 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"900" == dec"8100" - # mulx304 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000" == dec"81000" - # mulx305 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000" == dec"810000" - # mulx306 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000" == dec"8100000" - # mulx307 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000" == dec"81000000" - # mulx308 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000" == dec"810000000" - # mulx309 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000" == dec"8.10000000e+9" - # mulx310 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000" == dec"8.10000000e+10" - # mulx311 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000" == dec"8.10000000e+11" - # mulx312 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000" == dec"8.10000000e+12" - # mulx313 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000" == dec"8.10000000e+13" - # mulx314 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000" == dec"8.10000000e+14" - # mulx315 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000000" == dec"8.10000000e+15" - # mulx316 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000000" == dec"8.10000000e+16" - # mulx317 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000000" == dec"8.10000000e+17" - # mulx318 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000000000" == dec"8.10000000e+18" - # mulx319 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000000000" == dec"8.10000000e+19" - # mulx320 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000000000" == dec"8.10000000e+20" - # mulx321 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"900000000000000000000" == dec"8.10000000e+21" - # mulx322 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"9000000000000000000000" == dec"8.10000000e+22" - # mulx323 - @with_context (Emax=9999, Emin=-9999, precision=9, rounding=RoundNearestTiesAway) @test dec"9" * dec"90000000000000000000000" == dec"8.10000000e+23" - # mulx330 - @with_context (Emax=9999, Emin=-9999, precision=29, rounding=RoundNearestTiesAway) @test dec"1.491824697641270317824852952837224" * dec"1.105170918075647624811707826490246514675628614562883537345747603" == dec"1.6487212707001281468486507878" - # mulx331 - @with_context (Emax=9999, Emin=-9999, precision=55, rounding=RoundNearestTiesAway) @test dec"0.8958341352965282506768545828765117803873717284891040428" * dec"0.8958341352965282506768545828765117803873717284891040428" == dec"0.8025187979624784829842553829934069955890983696752228299" - # mulx504 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"0e-60" * dec"1000e-60" == dec"0e-98" - # mulx505 - @with_context (Emax=92, Emin=-92, precision=7, rounding=RoundNearestTiesAway) @test dec"100e+60" * dec"0e+60" == dec"0e+92" - # mulx541 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" * dec"-1" == dec"-0" - # mulx542 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" * dec"-1" == dec"0" - # mulx543 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" * dec"1" == dec"0" - # mulx544 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" * dec"1" == dec"-0" - # mulx545 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" * dec"0" == dec"-0" - # mulx546 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" * dec"-0" == dec"0" - # mulx547 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"0" == dec"0" - # mulx548 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"-0" == dec"-0" - # mulx551 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" * dec"-1" == dec"-0.0" - # mulx552 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"-1" == dec"0.0" - # mulx553 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" * dec"1" == dec"0.0" - # mulx554 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"1" == dec"-0.0" - # mulx555 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" * dec"0" == dec"-0.0" - # mulx556 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" * dec"-0" == dec"0.0" - # mulx557 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" * dec"0" == dec"0.0" - # mulx558 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" * dec"-0" == dec"-0.0" - # mulx561 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" * dec"-1.0" == dec"-0.0" - # mulx562 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" * dec"-1.0" == dec"0.0" - # mulx563 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" * dec"1.0" == dec"0.0" - # mulx564 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" * dec"1.0" == dec"-0.0" - # mulx565 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" * dec"0.0" == dec"-0.0" - # mulx566 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" * dec"-0.0" == dec"0.0" - # mulx567 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"0.0" == dec"0.0" - # mulx568 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1" * dec"-0.0" == dec"-0.0" - # mulx571 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" * dec"-1.0" == dec"-0.00" - # mulx572 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"-1.0" == dec"0.00" - # mulx573 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" * dec"1.0" == dec"0.00" - # mulx574 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.0" * dec"1.0" == dec"-0.00" - # mulx575 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" * dec"0.0" == dec"-0.00" - # mulx576 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.0" * dec"-0.0" == dec"0.00" - # mulx577 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" * dec"0.0" == dec"0.00" - # mulx578 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0" * dec"-0.0" == dec"-0.00" - # mulx730 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"+1.23456789012345e-0" * dec"9e+999999999" - # mulx731 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9e+999999999" * dec"+1.23456789012345e-0" - # mulx732 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"+0.100" * dec"9e-999999999" == dec"9.00e-1000000000" - # mulx733 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e-999999999" * dec"+0.100" == dec"9.00e-1000000000" - # mulx735 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-1.23456789012345e-0" * dec"9e+999999999" - # mulx736 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9e+999999999" * dec"-1.23456789012345e-0" - # mulx737 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-0.100" * dec"9e-999999999" == dec"-9.00e-1000000000" - # mulx738 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e-999999999" * dec"-0.100" == dec"-9.00e-1000000000" - # mulx739 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-599999999" * dec"1e-400000001" == dec"1e-1000000000" - # mulx740 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-599999999" * dec"1e-400000000" == dec"1e-999999999" - # mulx741 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000000" == dec"1e-1000000000" - # mulx742 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e-999999998" * dec"0.01" == dec"9e-1000000000" - # mulx743 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e-999999998" * dec"0.1" == dec"9e-999999999" - # mulx744 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"0.01" * dec"9e-999999998" == dec"9e-1000000000" - # mulx745 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e599999999" * dec"1e400000001" - # mulx746 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e599999999" * dec"1e400000000" == dec"1e+999999999" - # mulx747 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e600000000" * dec"1e400000000" - # mulx748 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9e999999998" * dec"100" - # mulx749 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"9e999999998" * dec"10" == dec"9.0e+999999999" - # mulx750 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"100" * dec"9e999999998" - # mulx751 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+777777777" * dec"1e+411111111" - # mulx752 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+777777777" * dec"-1e+411111111" - # mulx753 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-1e+777777777" * dec"1e+411111111" - # mulx754 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-1e+777777777" * dec"-1e+411111111" - # mulx755 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-777777777" * dec"1e-411111111" == dec"0e-1000000007" - # mulx756 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-777777777" * dec"-1e-411111111" == dec"-0e-1000000007" - # mulx757 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e-777777777" * dec"1e-411111111" == dec"-0e-1000000007" - # mulx758 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e-777777777" * dec"-1e-411111111" == dec"0e-1000000007" - # mulx760 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000001" == dec"1e-1000000001" - # mulx761 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000002" == dec"1e-1000000002" - # mulx762 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000003" == dec"1e-1000000003" - # mulx763 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000004" == dec"1e-1000000004" - # mulx764 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000005" == dec"1e-1000000005" - # mulx765 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000006" == dec"1e-1000000006" - # mulx766 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000007" == dec"1e-1000000007" - # mulx767 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000008" == dec"0e-1000000007" - # mulx768 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000009" == dec"0e-1000000007" - # mulx769 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000010" == dec"0e-1000000007" - # mulx770 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000001" - # mulx771 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000002" - # mulx772 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000003" - # mulx773 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000004" - # mulx774 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000005" - # mulx775 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000006" - # mulx776 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000007" - # mulx777 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000008" - # mulx778 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000009" - # mulx779 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+600000000" * dec"1e+400000010" - # mulx780 - @with_context (Emax=999999999, Emin=-999999999, precision=99, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000007" == dec"1e-1000000007" - # mulx781 - @with_context (Emax=999999999, Emin=-999999999, precision=99, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000008" == dec"1e-1000000008" - # mulx782 - @with_context (Emax=999999999, Emin=-999999999, precision=99, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000097" == dec"1e-1000000097" - # mulx783 - @with_context (Emax=999999999, Emin=-999999999, precision=99, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000098" == dec"0e-1000000097" - # mulx784 - @with_context (Emax=999999999, Emin=-999999999, precision=999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000997" == dec"1e-1000000997" - # mulx785 - @with_context (Emax=999999999, Emin=-999999999, precision=999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000998" == dec"0e-1000000997" - # mulx786 - @with_context (Emax=999999999, Emin=-999999999, precision=9999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400009997" == dec"1e-1000009997" - # mulx787 - @with_context (Emax=999999999, Emin=-999999999, precision=9999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400009998" == dec"0e-1000009997" - # mulx788 - @with_context (Emax=999999999, Emin=-999999999, precision=99999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400099997" == dec"1e-1000099997" - # mulx789 - @with_context (Emax=999999999, Emin=-999999999, precision=99999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400099998" == dec"0e-1000099997" - # mulx790 - @with_context (Emax=999999999, Emin=-999999999, precision=999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400999997" == dec"1e-1000999997" - # mulx791 - @with_context (Emax=999999999, Emin=-999999999, precision=999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400999998" == dec"0e-1000999997" - # mulx792 - @with_context (Emax=999999999, Emin=-999999999, precision=9999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-409999997" == dec"1e-1009999997" - # mulx793 - @with_context (Emax=999999999, Emin=-999999999, precision=9999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-409999998" == dec"0e-1009999997" - # mulx794 - @with_context (Emax=999999999, Emin=-999999999, precision=99999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-499999997" == dec"1e-1099999997" - # mulx795 - @with_context (Emax=999999999, Emin=-999999999, precision=99999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-499999998" == dec"0e-1099999997" - # mulx796 - @with_context (Emax=999999999, Emin=-999999999, precision=999999999, rounding=RoundNearestTiesAway) @test dec"1e-999999999" * dec"1e-999999997" == dec"1e-1999999996" - # mulx797 - @with_context (Emax=999999999, Emin=-999999999, precision=999999999, rounding=RoundNearestTiesAway) @test dec"1e-999999999" * dec"1e-999999998" == dec"1e-1999999997" - # mulx798 - @with_context (Emax=999999999, Emin=-999999999, precision=999999999, rounding=RoundNearestTiesAway) @test dec"1e-999999999" * dec"1e-999999999" == dec"0e-1999999997" - # mulx799 - @with_context (Emax=999999999, Emin=-999999999, precision=999999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000007" == dec"1e-1000000007" - # mulx800 - @with_context (Emax=999999999, Emin=-999999999, precision=999999999, rounding=RoundNearestTiesAway) @test dec"1e-600000000" * dec"1e-400000008" == dec"1e-1000000008" - # mulx801 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.0000e-999" * dec"1" == dec"1.0000e-999" - # mulx802 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.000e-999" * dec"1e-1" == dec"1.000e-1000" - # mulx803 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.00e-999" * dec"1e-2" == dec"1.00e-1001" - # mulx804 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.0e-999" * dec"1e-3" == dec"1.0e-1002" - # mulx805 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.0e-999" * dec"1e-4" == dec"1e-1003" - # mulx806 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.3e-999" * dec"1e-4" == dec"1e-1003" - # mulx807 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.5e-999" * dec"1e-4" == dec"2e-1003" - # mulx808 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.7e-999" * dec"1e-4" == dec"2e-1003" - # mulx809 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2.3e-999" * dec"1e-4" == dec"2e-1003" - # mulx810 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2.5e-999" * dec"1e-4" == dec"2e-1003" - # mulx811 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2.7e-999" * dec"1e-4" == dec"3e-1003" - # mulx812 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.49e-999" * dec"1e-4" == dec"1e-1003" - # mulx813 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.50e-999" * dec"1e-4" == dec"2e-1003" - # mulx814 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.51e-999" * dec"1e-4" == dec"2e-1003" - # mulx815 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2.49e-999" * dec"1e-4" == dec"2e-1003" - # mulx816 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2.50e-999" * dec"1e-4" == dec"2e-1003" - # mulx817 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2.51e-999" * dec"1e-4" == dec"3e-1003" - # mulx818 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1e-999" * dec"1e-4" == dec"1e-1003" - # mulx819 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"3e-999" * dec"1e-5" == dec"0e-1003" - # mulx820 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"5e-999" * dec"1e-5" == dec"0e-1003" - # mulx821 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"7e-999" * dec"1e-5" == dec"1e-1003" - # mulx822 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"9e-999" * dec"1e-5" == dec"1e-1003" - # mulx823 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"9.9e-999" * dec"1e-5" == dec"1e-1003" - # mulx824 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1e-999" * dec"-1e-4" == dec"-1e-1003" - # mulx825 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"3e-999" * dec"-1e-5" == dec"-0e-1003" - # mulx826 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"-5e-999" * dec"1e-5" == dec"-0e-1003" - # mulx827 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"7e-999" * dec"-1e-5" == dec"-1e-1003" - # mulx828 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"-9e-999" * dec"1e-5" == dec"-1e-1003" - # mulx829 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"9.9e-999" * dec"-1e-5" == dec"-1e-1003" - # mulx830 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"3.0e-999" * dec"-1e-5" == dec"-0e-1003" - # mulx831 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1.0e-501" * dec"1e-501" == dec"1.0e-1002" - # mulx832 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2.0e-501" * dec"2e-501" == dec"4.0e-1002" - # mulx833 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"4.0e-501" * dec"4e-501" == dec"1.60e-1001" - # mulx834 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"10.0e-501" * dec"10e-501" == dec"1.000e-1000" - # mulx835 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"30.0e-501" * dec"30e-501" == dec"9.000e-1000" - # mulx836 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"40.0e-501" * dec"40e-501" == dec"1.6000e-999" - # mulx840 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1e-502" * dec"1e-502" == dec"0e-1003" - # mulx841 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1e-501" * dec"1e-501" == dec"1e-1002" - # mulx842 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"2e-501" * dec"2e-501" == dec"4e-1002" - # mulx843 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"4e-501" * dec"4e-501" == dec"1.6e-1001" - # mulx844 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"10e-501" * dec"10e-501" == dec"1.00e-1000" - # mulx845 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"30e-501" * dec"30e-501" == dec"9.00e-1000" - # mulx846 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"40e-501" * dec"40e-501" == dec"1.600e-999" - # mulx850 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1e-670" * dec"1e-335" == dec"0e-1003" - # mulx851 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"1e-668" * dec"1e-334" == dec"1e-1002" - # mulx852 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"4e-668" * dec"2e-334" == dec"8e-1002" - # mulx853 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"9e-668" * dec"3e-334" == dec"2.7e-1001" - # mulx854 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"16e-668" * dec"4e-334" == dec"6.4e-1001" - # mulx855 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"25e-668" * dec"5e-334" == dec"1.25e-1000" - # mulx856 - @with_context (Emax=999, Emin=-999, precision=5, rounding=RoundNearest) @test dec"10e-668" * dec"100e-334" == dec"1.000e-999" - # mulx860 - @with_context (Emax=999, Emin=-999, precision=19, rounding=RoundNearest) @test dec"6636851557994578716e-520" * dec"6636851557994578716e-520" == dec"4.40477986028551e-1003" - # mulx870 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearest) @test_throws OverflowError dec"1" * dec"9.999e+999999999" - # mulx871 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearest) @test_throws OverflowError dec"1" * dec"-9.999e+999999999" - # mulx872 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearest) @test_throws OverflowError dec"9.999e+999999999" * dec"1" - # mulx873 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearest) @test_throws OverflowError dec"-9.999e+999999999" * dec"1" - # mulx881 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2347e-40" * dec"1.2347e-40" == dec"1.524e-80" - # mulx882 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.234e-40" * dec"1.234e-40" == dec"1.523e-80" - # mulx883 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.23e-40" * dec"1.23e-40" == dec"1.513e-80" - # mulx884 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2e-40" * dec"1.2e-40" == dec"1.44e-80" - # mulx885 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2e-40" * dec"1.2e-41" == dec"1.44e-81" - # mulx886 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2e-40" * dec"1.2e-42" == dec"1.4e-82" - # mulx887 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2e-40" * dec"1.3e-42" == dec"1.6e-82" - # mulx888 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.3e-40" * dec"1.3e-42" == dec"1.7e-82" - # mulx889 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.3e-40" * dec"1.3e-43" == dec"2e-83" - # mulx890 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.3e-41" * dec"1.3e-43" == dec"0e-83" - # mulx891 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2345e-39" * dec"1.234e-40" == dec"1.5234e-79" - # mulx892 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.23456e-39" * dec"1.234e-40" == dec"1.5234e-79" - # mulx893 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2345e-40" * dec"1.234e-40" == dec"1.523e-80" - # mulx894 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.23456e-40" * dec"1.234e-40" == dec"1.523e-80" - # mulx895 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.2345e-41" * dec"1.234e-40" == dec"1.52e-81" - # mulx896 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearest) @test dec"1.23456e-41" * dec"1.234e-40" == dec"1.52e-81" - # mulx900 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0.3000000000e-191" * dec"0.3000000000e-191" == dec"9.00000000000000e-384" - # mulx901 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"0.3000000001e-191" * dec"0.3000000001e-191" == dec"9.00000000600000e-384" - # mulx902 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.0999999999999" == dec"9.99999999999000e-384" - # mulx903 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.09999999999999" == dec"9.99999999999900e-384" - # mulx904 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.099999999999999" == dec"9.99999999999990e-384" - # mulx905 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.0999999999999999" == dec"9.99999999999999e-384" - # mulx906 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"1" == dec"9.999999999999999e-383" - # mulx907 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"1" * dec"0.09999999999999999" == dec"0.09999999999999999" - # mulx908 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.09999999999999999" == dec"1.000000000000000e-383" - # mulx909 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.099999999999999999" == dec"1.000000000000000e-383" - # mulx910 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.0999999999999999999" == dec"1.000000000000000e-383" - # mulx911 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test dec"9.999999999999999e-383" * dec"0.09999999999999999999" == dec"1.000000000000000e-383" - # mulx1001 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" * dec"120e-2" == dec"1.5600" - # mulx1002 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" * dec"12e-1" == dec"1.560" - # mulx1003 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" * dec"1e0" == dec"1.30" - # mulx1004 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"1e2" * dec"1e4" == dec"1e+6" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" * dec"2" == dec"4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" * dec"3" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" * dec"1" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" * dec"2" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.20" * dec"2" == dec"2.40") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.20" * dec"0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.20" * dec"-2" == dec"-2.40") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.20" * dec"2" == dec"-2.40") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.20" * dec"0" == dec"-0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.20" * dec"-2" == dec"2.40") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.09" * dec"7.1" == dec"36.139") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.5" * dec"4" == dec"10.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.50" * dec"4" == dec"10.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.23456789" * dec"1.00000000" == dec"1.23456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999" * dec"9.999999999" == dec"100.000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.50" * dec"4" == dec"10.00") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.50" * dec"4" == dec"10.00") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999" * dec"9.999999999" == dec"100.000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999" * dec"-9.999999999" == dec"-100.000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9.999999999" * dec"9.999999999" == dec"-100.000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9.999999999" * dec"-9.999999999" == dec"100.000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999999" * dec"9765625" == dec"9.76562499999023e+18") +@with_context (Emax = 384, Emin = -383, precision = 30, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999999999999" * dec"9765625" == dec"9765624999990234375") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" * dec"0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" * dec"-0" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" * dec"0" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" * dec"-0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"-0.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"-0.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"-0.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"-0.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.00" * dec"1e-3" == dec"0.00500") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.00" * dec"0.000" == dec"0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.00" * dec"0e-3" == dec"0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-3" * dec"00.00" == dec"0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5.00" * dec"1e-3" == dec"-0.00500") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-00.00" * dec"0.000" == dec"-0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-00.00" * dec"0e-3" == dec"-0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0e-3" * dec"00.00" == dec"-0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.00" * dec"-1e-3" == dec"-0.00500") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.00" * dec"-0.000" == dec"-0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.00" * dec"-0e-3" == dec"-0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-3" * dec"-00.00" == dec"-0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5.00" * dec"-1e-3" == dec"0.00500") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-00.00" * dec"-0.000" == dec"0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-00.00" * dec"-0e-3" == dec"0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0e-3" * dec"-00.00" == dec"0.00000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.20" * dec"3" == dec"3.60") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7" * dec"3" == dec"21") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9" * dec"0.8" == dec"0.72") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9" * dec"-0" == dec"-0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"654321" * dec"654321" == dec"4.28135971e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123.45" * dec"1e7" == dec"1.2345e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123.45" * dec"1e8" == dec"1.2345e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123.45" * dec"1e+9" == dec"1.2345e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123.45" * dec"1e10" == dec"1.2345e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123.45" * dec"1e11" == dec"1.2345e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123.45" * dec"1e12" == dec"1.2345e+14") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123.45" * dec"1e13" == dec"1.2345e+15") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"123456789" == dec"12345678.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"1234567891" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"12345678912" == dec"1.23456789e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"12345678912345" == dec"1.23456789e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"123456789" == dec"12345678.9") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"12345678912" == dec"1.2345679e+9") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"12345678912345" == dec"1.2345679e+12") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"12345678912" == dec"1.234568e+9") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"12345678912345" == dec"1.234568e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" * dec"0.1" == dec"12345678.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567891" * dec"0.1" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678912" * dec"0.1" == dec"1.23456789e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678912345" * dec"0.1" == dec"1.23456789e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" * dec"0.1" == dec"12345678.9") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678912" * dec"0.1" == dec"1.2345679e+9") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678912345" * dec"0.1" == dec"1.2345679e+12") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678912" * dec"0.1" == dec"1.234568e+9") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678912345" * dec"0.1" == dec"1.234568e+12") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9" == dec"81") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90" == dec"810") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900" == dec"8100") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000" == dec"81000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000" == dec"810000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000" == dec"8100000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000" == dec"81000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000" == dec"810000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000" == dec"8100000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000" == dec"81000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000" == dec"810000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000" == dec"8100000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000" == dec"81000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000" == dec"810000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000000" == dec"8100000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000000" == dec"81000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000000" == dec"810000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000000000" == dec"8100000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000000000" == dec"81000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000000000" == dec"810000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000000000000" == dec"8100000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000000000000" == dec"81000000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000000000000" == dec"810000000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3" == dec"9") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30" == dec"90") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"300" == dec"900") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3000" == dec"9000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30000" == dec"90000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"300000" == dec"900000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3000000" == dec"9000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30000000" == dec"90000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"300000000" == dec"900000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3000000000" == dec"9000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30000000000" == dec"90000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"300000000000" == dec"900000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3000000000000" == dec"9000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30000000000000" == dec"90000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"300000000000000" == dec"900000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3000000000000000" == dec"9000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30000000000000000" == dec"90000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"300000000000000000" == dec"900000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3000000000000000000" == dec"9000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30000000000000000000" == dec"90000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"300000000000000000000" == dec"900000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"3000000000000000000000" == dec"9000000000000000000000") +@with_context (Emax = 9999, Emin = -9999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" * dec"30000000000000000000000" == dec"90000000000000000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"9e999999999" == dec"9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"9.9e999999999" == dec"9.9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"9.99e999999999" == dec"9.99e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e999999999" * dec"1" == dec"9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.9e999999999" * dec"1" == dec"9.9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.99e999999999" * dec"1" == dec"9.99e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"9.99999999e999999999" == dec"9.99999999e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.99999999e999999999" * dec"1" == dec"9.99999999e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"9e-999999998" == dec"9e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"99e-999999998" == dec"9.9e-999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"999e-999999998" == dec"9.99e-999999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"9e-999999998" == dec"9e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"99e-999999998" == dec"9.9e-999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"999e-999999998" == dec"9.99e-999999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"999e-999999997" == dec"9.99e-999999996") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"9999e-999999997" == dec"9.999e-999999995") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" * dec"99999e-999999997" == dec"9.9999e-999999994") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"9e-999999998" == dec"9e-999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"99e-999999998" == dec"9.9e-999999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"999e-999999998" == dec"9.99e-999999996") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e-999999998" * dec"1" == dec"9e-999999998") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"99e-999999998" * dec"1" == dec"9.9e-999999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"999e-999999998" * dec"1" == dec"9.99e-999999996") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-599999999" * dec"1e-400000000" == dec"1e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-399999999" == dec"1e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2e-599999999" * dec"1.2e-400000000" == dec"1.44e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2e-600000000" * dec"1.2e-399999999" == dec"1.44e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e599999999" * dec"1e400000000" == dec"1e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e600000000" * dec"1e399999999" == dec"1e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2e599999999" * dec"1.2e400000000" == dec"1.44e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2e600000000" * dec"1.2e399999999" == dec"1.44e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 33, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671916511992830") +@with_context (Emax = 999999999, Emin = -999999999, precision = 32, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967191651199283") +@with_context (Emax = 999999999, Emin = -999999999, precision = 31, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719165119928") +@with_context (Emax = 999999999, Emin = -999999999, precision = 30, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671916511993") +@with_context (Emax = 999999999, Emin = -999999999, precision = 29, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967191651199") +@with_context (Emax = 999999999, Emin = -999999999, precision = 28, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719165120") +@with_context (Emax = 999999999, Emin = -999999999, precision = 27, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671916512") +@with_context (Emax = 999999999, Emin = -999999999, precision = 26, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967191651") +@with_context (Emax = 999999999, Emin = -999999999, precision = 25, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719165") +@with_context (Emax = 999999999, Emin = -999999999, precision = 24, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369671917") +@with_context (Emax = 999999999, Emin = -999999999, precision = 23, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967192") +@with_context (Emax = 999999999, Emin = -999999999, precision = 22, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933696719") +@with_context (Emax = 999999999, Emin = -999999999, precision = 21, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193369672") +@with_context (Emax = 999999999, Emin = -999999999, precision = 20, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119336967") +@with_context (Emax = 999999999, Emin = -999999999, precision = 19, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011933697") +@with_context (Emax = 999999999, Emin = -999999999, precision = 18, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193370") +@with_context (Emax = 999999999, Emin = -999999999, precision = 17, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119337") +@with_context (Emax = 999999999, Emin = -999999999, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908011934") +@with_context (Emax = 999999999, Emin = -999999999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801193") +@with_context (Emax = 999999999, Emin = -999999999, precision = 14, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080119") +@with_context (Emax = 999999999, Emin = -999999999, precision = 13, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908012") +@with_context (Emax = 999999999, Emin = -999999999, precision = 12, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.290801") +@with_context (Emax = 999999999, Emin = -999999999, precision = 11, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29080") +@with_context (Emax = 999999999, Emin = -999999999, precision = 10, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.2908") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.291") +@with_context (Emax = 999999999, Emin = -999999999, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.29") +@with_context (Emax = 999999999, Emin = -999999999, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433.3") +@with_context (Emax = 999999999, Emin = -999999999, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"145433") +@with_context (Emax = 999999999, Emin = -999999999, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.4543e+5") +@with_context (Emax = 999999999, Emin = -999999999, precision = 4, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.454e+5") +@with_context (Emax = 999999999, Emin = -999999999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.45e+5") +@with_context (Emax = 999999999, Emin = -999999999, precision = 2, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1.5e+5") +@with_context (Emax = 999999999, Emin = -999999999, precision = 1, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"30269.587755640502150977251770554" * dec"4.8046009735990873395936309640543" == dec"1e+5") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9" == dec"81") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90" == dec"810") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900" == dec"8100") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000" == dec"81000") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000" == dec"810000") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000" == dec"8100000") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000" == dec"81000000") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000" == dec"810000000") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000" == dec"8.10000000e+9") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000" == dec"8.10000000e+10") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000" == dec"8.10000000e+11") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000" == dec"8.10000000e+12") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000" == dec"8.10000000e+13") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000" == dec"8.10000000e+14") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000000" == dec"8.10000000e+15") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000000" == dec"8.10000000e+16") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000000" == dec"8.10000000e+17") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000000000" == dec"8.10000000e+18") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000000000" == dec"8.10000000e+19") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000000000" == dec"8.10000000e+20") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"900000000000000000000" == dec"8.10000000e+21") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"9000000000000000000000" == dec"8.10000000e+22") +@with_context (Emax = 9999, Emin = -9999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" * dec"90000000000000000000000" == dec"8.10000000e+23") +@with_context (Emax = 9999, Emin = -9999, precision = 29, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.491824697641270317824852952837224" * dec"1.105170918075647624811707826490246514675628614562883537345747603" == dec"1.6487212707001281468486507878") +@with_context (Emax = 9999, Emin = -9999, precision = 55, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.8958341352965282506768545828765117803873717284891040428" * dec"0.8958341352965282506768545828765117803873717284891040428" == dec"0.8025187979624784829842553829934069955890983696752228299") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0e-60" * dec"1000e-60" == dec"0e-98") +@with_context (Emax = 92, Emin = -92, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"100e+60" * dec"0e+60" == dec"0e+92") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" * dec"-1" == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" * dec"-1" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" * dec"1" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" * dec"1" == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" * dec"0" == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" * dec"-0" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"0" == dec"0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"-0" == dec"-0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" * dec"-1" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"-1" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" * dec"1" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"1" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" * dec"0" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" * dec"-0" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" * dec"0" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" * dec"-0" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" * dec"-1.0" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" * dec"-1.0" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" * dec"1.0" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" * dec"1.0" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" * dec"0.0" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" * dec"-0.0" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"0.0" == dec"0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"-0.0" == dec"-0.0") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" * dec"-1.0" == dec"-0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"-1.0" == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" * dec"1.0" == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.0" * dec"1.0" == dec"-0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" * dec"0.0" == dec"-0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.0" * dec"-0.0" == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" * dec"0.0" == dec"0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0" * dec"-0.0" == dec"-0.00") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"+0.100" * dec"9e-999999999" == dec"9.00e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e-999999999" * dec"+0.100" == dec"9.00e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0.100" * dec"9e-999999999" == dec"-9.00e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e-999999999" * dec"-0.100" == dec"-9.00e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-599999999" * dec"1e-400000001" == dec"1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-599999999" * dec"1e-400000000" == dec"1e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000000" == dec"1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e-999999998" * dec"0.01" == dec"9e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e-999999998" * dec"0.1" == dec"9e-999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.01" * dec"9e-999999998" == dec"9e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e599999999" * dec"1e400000000" == dec"1e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9e999999998" * dec"10" == dec"9.0e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-777777777" * dec"1e-411111111" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-777777777" * dec"-1e-411111111" == dec"-0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-777777777" * dec"1e-411111111" == dec"-0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-777777777" * dec"-1e-411111111" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000001" == dec"1e-1000000001") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000002" == dec"1e-1000000002") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000003" == dec"1e-1000000003") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000004" == dec"1e-1000000004") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000005" == dec"1e-1000000005") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000006" == dec"1e-1000000006") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000007" == dec"1e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000008" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000009" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000010" == dec"0e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000007" == dec"1e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000008" == dec"1e-1000000008") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000097" == dec"1e-1000000097") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000098" == dec"0e-1000000097") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000997" == dec"1e-1000000997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000998" == dec"0e-1000000997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400009997" == dec"1e-1000009997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400009998" == dec"0e-1000009997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400099997" == dec"1e-1000099997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400099998" == dec"0e-1000099997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400999997" == dec"1e-1000999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400999998" == dec"0e-1000999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-409999997" == dec"1e-1009999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-409999998" == dec"0e-1009999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-499999997" == dec"1e-1099999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 99999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-499999998" == dec"0e-1099999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-999999999" * dec"1e-999999997" == dec"1e-1999999996") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-999999999" * dec"1e-999999998" == dec"1e-1999999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-999999999" * dec"1e-999999999" == dec"0e-1999999997") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000007" == dec"1e-1000000007") +@with_context (Emax = 999999999, Emin = -999999999, precision = 999999999, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-600000000" * dec"1e-400000008" == dec"1e-1000000008") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.0000e-999" * dec"1" == dec"1.0000e-999") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.000e-999" * dec"1e-1" == dec"1.000e-1000") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.00e-999" * dec"1e-2" == dec"1.00e-1001") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.0e-999" * dec"1e-3" == dec"1.0e-1002") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.0e-999" * dec"1e-4" == dec"1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.3e-999" * dec"1e-4" == dec"1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.5e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.7e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2.3e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2.5e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2.7e-999" * dec"1e-4" == dec"3e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.49e-999" * dec"1e-4" == dec"1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.50e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.51e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2.49e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2.50e-999" * dec"1e-4" == dec"2e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2.51e-999" * dec"1e-4" == dec"3e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1e-999" * dec"1e-4" == dec"1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"3e-999" * dec"1e-5" == dec"0e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"5e-999" * dec"1e-5" == dec"0e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"7e-999" * dec"1e-5" == dec"1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"9e-999" * dec"1e-5" == dec"1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"9.9e-999" * dec"1e-5" == dec"1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1e-999" * dec"-1e-4" == dec"-1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"3e-999" * dec"-1e-5" == dec"-0e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"-5e-999" * dec"1e-5" == dec"-0e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"7e-999" * dec"-1e-5" == dec"-1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"-9e-999" * dec"1e-5" == dec"-1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"9.9e-999" * dec"-1e-5" == dec"-1e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"3.0e-999" * dec"-1e-5" == dec"-0e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.0e-501" * dec"1e-501" == dec"1.0e-1002") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2.0e-501" * dec"2e-501" == dec"4.0e-1002") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"4.0e-501" * dec"4e-501" == dec"1.60e-1001") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"10.0e-501" * dec"10e-501" == dec"1.000e-1000") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"30.0e-501" * dec"30e-501" == dec"9.000e-1000") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"40.0e-501" * dec"40e-501" == dec"1.6000e-999") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1e-502" * dec"1e-502" == dec"0e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1e-501" * dec"1e-501" == dec"1e-1002") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"2e-501" * dec"2e-501" == dec"4e-1002") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"4e-501" * dec"4e-501" == dec"1.6e-1001") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"10e-501" * dec"10e-501" == dec"1.00e-1000") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"30e-501" * dec"30e-501" == dec"9.00e-1000") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"40e-501" * dec"40e-501" == dec"1.600e-999") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1e-670" * dec"1e-335" == dec"0e-1003") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1e-668" * dec"1e-334" == dec"1e-1002") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"4e-668" * dec"2e-334" == dec"8e-1002") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"9e-668" * dec"3e-334" == dec"2.7e-1001") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"16e-668" * dec"4e-334" == dec"6.4e-1001") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"25e-668" * dec"5e-334" == dec"1.25e-1000") +@with_context (Emax = 999, Emin = -999, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"10e-668" * dec"100e-334" == dec"1.000e-999") +@with_context (Emax = 999, Emin = -999, precision = 19, rounding = RoundingMode{:Nearest}()) @test(dec"6636851557994578716e-520" * dec"6636851557994578716e-520" == dec"4.40477986028551e-1003") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2347e-40" * dec"1.2347e-40" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.234e-40" * dec"1.234e-40" == dec"1.523e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.23e-40" * dec"1.23e-40" == dec"1.513e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2e-40" * dec"1.2e-40" == dec"1.44e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2e-40" * dec"1.2e-41" == dec"1.44e-81") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2e-40" * dec"1.2e-42" == dec"1.4e-82") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2e-40" * dec"1.3e-42" == dec"1.6e-82") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.3e-40" * dec"1.3e-42" == dec"1.7e-82") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.3e-40" * dec"1.3e-43" == dec"2e-83") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.3e-41" * dec"1.3e-43" == dec"0e-83") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2345e-39" * dec"1.234e-40" == dec"1.5234e-79") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.23456e-39" * dec"1.234e-40" == dec"1.5234e-79") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2345e-40" * dec"1.234e-40" == dec"1.523e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.23456e-40" * dec"1.234e-40" == dec"1.523e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.2345e-41" * dec"1.234e-40" == dec"1.52e-81") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:Nearest}()) @test(dec"1.23456e-41" * dec"1.234e-40" == dec"1.52e-81") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.3000000000e-191" * dec"0.3000000000e-191" == dec"9.00000000000000e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.3000000001e-191" * dec"0.3000000001e-191" == dec"9.00000000600000e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.0999999999999" == dec"9.99999999999000e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.09999999999999" == dec"9.99999999999900e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.099999999999999" == dec"9.99999999999990e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.0999999999999999" == dec"9.99999999999999e-384") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"1" == dec"9.999999999999999e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" * dec"0.09999999999999999" == dec"0.09999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.09999999999999999" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.099999999999999999" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.0999999999999999999" == dec"1.000000000000000e-383") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9.999999999999999e-383" * dec"0.09999999999999999999" == dec"1.000000000000000e-383") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" * dec"120e-2" == dec"1.5600") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" * dec"12e-1" == dec"1.560") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" * dec"1e0" == dec"1.30") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e2" * dec"1e4" == dec"1e+6") end diff --git a/test/dectests/test_normalize.jl b/test/dectests/test_normalize.jl new file mode 100644 index 0000000..8cbfd73 --- /dev/null +++ b/test/dectests/test_normalize.jl @@ -0,0 +1,160 @@ +using Decimals +using Test +using Decimals: @with_context + +@testset "Normalize" begin +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1") == dec"-1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.00") == dec"1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.00") == dec"-1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.00") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"00.0") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"00.00") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"00") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0e+1") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0e+5") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-2") == dec"-2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"2") == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-2.00") == dec"-2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"2.00") == dec"2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.00") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-00.0") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-00.00") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-00") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0e+5") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0e+1") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"+0.1") == dec"0.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.1") == dec"-0.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"+0.01") == dec"0.01") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.01") == dec"-0.01") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"+0.001") == dec"0.001") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.001") == dec"-0.001") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"+0.000001") == dec"0.000001") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.000001") == dec"-0.000001") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"+0.000000000001") == dec"1e-12") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.000000000001") == dec"-1e-12") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.1") == dec"1.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.10") == dec"1.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.100") == dec"1.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.110") == dec"1.11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.1") == dec"-1.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.10") == dec"-1.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.100") == dec"-1.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.110") == dec"-1.11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"9.9") == dec"9.9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"9.90") == dec"9.9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"9.900") == dec"9.9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"9.990") == dec"9.99") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-9.9") == dec"-9.9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-9.90") == dec"-9.9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-9.900") == dec"-9.9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-9.990") == dec"-9.99") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"10.0") == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"10.00") == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"100.0") == dec"1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"100.00") == dec"1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.1000e+3") == dec"1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.10000e+3") == dec"1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-10.0") == dec"-1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-10.00") == dec"-1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-100.0") == dec"-1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-100.00") == dec"-1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.1000e+3") == dec"-1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.10000e+3") == dec"-1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"10e+1") == dec"1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"100e+1") == dec"1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.0e+2") == dec"1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.0e+3") == dec"1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.1e+3") == dec"1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.00e+3") == dec"1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.10e+3") == dec"1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-10e+1") == dec"-1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-100e+1") == dec"-1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.0e+2") == dec"-1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.0e+3") == dec"-1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.1e+3") == dec"-1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.00e+3") == dec"-1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.10e+3") == dec"-1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"11") == dec"11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"10") == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"10.") == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.1e+1") == dec"11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.0e+1") == dec"1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.10e+2") == dec"1.1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.00e+2") == dec"1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.100e+3") == dec"1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.000e+3") == dec"1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.000000e+6") == dec"1e+6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-11") == dec"-11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-10") == dec"-1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-10.") == dec"-1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.1e+1") == dec"-11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.0e+1") == dec"-1e+1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.10e+2") == dec"-1.1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.00e+2") == dec"-1e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.100e+3") == dec"-1.1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.000e+3") == dec"-1e+3") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.00000e+5") == dec"-1e+5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.000000e+6") == dec"-1e+6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-10.00000e+6") == dec"-1e+7") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-100.0000e+6") == dec"-1e+8") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1000.000e+6") == dec"-1e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-10000.00e+6") == dec"-1e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-100000.0e+6") == dec"-1e+11") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1000000.e+6") == dec"-1e+12") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"2.1") == dec"2.1") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-2.0") == dec"-2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.200") == dec"1.2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-120") == dec"-1.2e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"120.00") == dec"1.2e+2") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.00") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"1.00e-999") == dec"1e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.1e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.10e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.100e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.01e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.999e-999") == dec"1e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.099e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.009e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.001e-999") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.0009e-999") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"0.0001e-999") == dec"0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-1.00e-999") == dec"-1e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.1e-999") == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.10e-999") == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.100e-999") == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.01e-999") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.999e-999") == dec"-1e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.099e-999") == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.009e-999") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.001e-999") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.0009e-999") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-0.0001e-999") == dec"-0") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e-10") == dec"0.000005626") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e-5") == dec"0.5626") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e-2") == dec"562.6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e-1") == dec"5626") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e-0") == dec"5.626e+4") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e+0") == dec"5.626e+4") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e+1") == dec"5.626e+5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e+2") == dec"5.626e+6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e+3") == dec"5.626e+7") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e+4") == dec"5.626e+8") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e+5") == dec"5.626e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"56260e+6") == dec"5.626e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e-10") == dec"-0.000005626") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e-5") == dec"-0.5626") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e-2") == dec"-562.6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e-1") == dec"-5626") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e-0") == dec"-5.626e+4") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e+0") == dec"-5.626e+4") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e+1") == dec"-5.626e+5") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e+2") == dec"-5.626e+6") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e+3") == dec"-5.626e+7") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e+4") == dec"-5.626e+8") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e+5") == dec"-5.626e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"-56260e+6") == dec"-5.626e+10") +@with_context (Emax = 999, Emin = -999, precision = 40, rounding = RoundingMode{:NearestTiesAway}()) @test(normalize(dec"9892345673.0123456780000000000") == dec"9892345673.012345678") +end diff --git a/test/dectests/test_plus.jl b/test/dectests/test_plus.jl index 517ca76..c8a4946 100644 --- a/test/dectests/test_plus.jl +++ b/test/dectests/test_plus.jl @@ -1,229 +1,115 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Plus" begin - # plux001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"1") == dec"1" - # plux002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-1") == dec"-1" - # plux003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"1.00") == dec"1.00" - # plux004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-1.00") == dec"-1.00" - # plux005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"0") == dec"0" - # plux006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"0.00") == dec"0.00" - # plux007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"00.0") == dec"0.0" - # plux008 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"00.00") == dec"0.00" - # plux009 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"00") == dec"0" - # plux010 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-2") == dec"-2" - # plux011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"2") == dec"2" - # plux012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-2.00") == dec"-2.00" - # plux013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"2.00") == dec"2.00" - # plux014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-0") == dec"0" - # plux015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-0.00") == dec"0.00" - # plux016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-00.0") == dec"0.0" - # plux017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-00.00") == dec"0.00" - # plux018 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-00") == dec"0" - # plux020 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-2000000") == dec"-2000000" - # plux021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"2000000") == dec"2000000" - # plux022 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test +(dec"-2000000") == dec"-2000000" - # plux023 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test +(dec"2000000") == dec"2000000" - # plux024 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test +(dec"-2000000") == dec"-2.00000e+6" - # plux025 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test +(dec"2000000") == dec"2.00000e+6" - # plux026 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-2000000") == dec"-2.00e+6" - # plux027 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test +(dec"2000000") == dec"2.00e+6" - # plux060 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e-10") == dec"0.0000056267" - # plux061 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e-5") == dec"0.56267" - # plux062 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e-2") == dec"562.67" - # plux063 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e-1") == dec"5626.7" - # plux065 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e-0") == dec"56267" - # plux066 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e+0") == dec"56267" - # plux067 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e+1") == dec"5.6267e+5" - # plux068 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e+2") == dec"5.6267e+6" - # plux069 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e+3") == dec"5.6267e+7" - # plux070 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e+4") == dec"5.6267e+8" - # plux071 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e+5") == dec"5.6267e+9" - # plux072 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"56267e+6") == dec"5.6267e+10" - # plux080 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e-10") == dec"-0.0000056267" - # plux081 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e-5") == dec"-0.56267" - # plux082 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e-2") == dec"-562.67" - # plux083 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e-1") == dec"-5626.7" - # plux085 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e-0") == dec"-56267" - # plux086 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e+0") == dec"-56267" - # plux087 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e+1") == dec"-5.6267e+5" - # plux088 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e+2") == dec"-5.6267e+6" - # plux089 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e+3") == dec"-5.6267e+7" - # plux090 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e+4") == dec"-5.6267e+8" - # plux091 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e+5") == dec"-5.6267e+9" - # plux092 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-56267e+6") == dec"-5.6267e+10" - # plux120 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-0e3") == dec"0e+3" - # plux121 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-0e2") == dec"0e+2" - # plux122 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-0e1") == dec"0e+1" - # plux123 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-0e0") == dec"0" - # plux124 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+0e0") == dec"0" - # plux125 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+0e1") == dec"0e+1" - # plux126 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+0e2") == dec"0e+2" - # plux127 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+0e3") == dec"0e+3" - # plux130 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-5e3") == dec"-5e+3" - # plux131 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-5e8") == dec"-5e+8" - # plux132 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-5e13") == dec"-5e+13" - # plux133 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"-5e18") == dec"-5e+18" - # plux134 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+5e3") == dec"5e+3" - # plux135 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+5e8") == dec"5e+8" - # plux136 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+5e13") == dec"5e+13" - # plux137 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test +(dec"+5e18") == dec"5e+18" - # plux160 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError +(dec"9.999e+999999999") - # plux161 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError +(dec"-9.999e+999999999") - # plux210 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"1.00e-999") == dec"1.00e-999" - # plux211 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.1e-999") == dec"1e-1000" - # plux212 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.10e-999") == dec"1.0e-1000" - # plux213 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.100e-999") == dec"1.0e-1000" - # plux214 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.01e-999") == dec"1e-1001" - # plux215 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.999e-999") == dec"1.00e-999" - # plux216 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.099e-999") == dec"1.0e-1000" - # plux217 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.009e-999") == dec"1e-1001" - # plux218 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.001e-999") == dec"0e-1001" - # plux219 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.0009e-999") == dec"0e-1001" - # plux220 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"0.0001e-999") == dec"0e-1001" - # plux230 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-1.00e-999") == dec"-1.00e-999" - # plux231 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.1e-999") == dec"-1e-1000" - # plux232 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.10e-999") == dec"-1.0e-1000" - # plux233 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.100e-999") == dec"-1.0e-1000" - # plux234 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.01e-999") == dec"-1e-1001" - # plux235 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.999e-999") == dec"-1.00e-999" - # plux236 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.099e-999") == dec"-1.0e-1000" - # plux237 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.009e-999") == dec"-1e-1001" - # plux238 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.001e-999") == dec"-0e-1001" - # plux239 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.0009e-999") == dec"-0e-1001" - # plux240 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test +(dec"-0.0001e-999") == dec"-0e-1001" - # plux251 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"7e-398") == dec"7e-398" - # plux252 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"0e-398") == dec"0e-398" - # plux253 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"7e-399") == dec"1e-398" - # plux254 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"4e-399") == dec"0e-398" - # plux255 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"7e-400") == dec"0e-398" - # plux256 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"7e-401") == dec"0e-398" - # plux257 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"0e-399") == dec"0e-398" - # plux258 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"0e-400") == dec"0e-398" - # plux259 - @with_context (Emax=384, Emin=-383, precision=16, rounding=RoundNearestTiesAway) @test +(dec"0e-401") == dec"0e-398" - # plux301 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test +(dec"12345678000") == dec"1.23456780e+10" - # plux302 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test +(dec"1234567800") == dec"1.23456780e+9" - # plux303 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test +(dec"1234567890") == dec"1.23456789e+9" - # plux304 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test +(dec"1234567891") == dec"1.23456789e+9" - # plux305 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test +(dec"12345678901") == dec"1.23456789e+10" - # plux306 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test +(dec"1234567896") == dec"1.23456790e+9" - # plux321 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test +(dec"12345678000") == dec"12345678000" - # plux322 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test +(dec"1234567800") == dec"1234567800" - # plux323 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test +(dec"1234567890") == dec"1234567890" - # plux324 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test +(dec"1234567891") == dec"1234567891" - # plux325 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test +(dec"12345678901") == dec"12345678901" - # plux326 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test +(dec"1234567896") == dec"1234567896" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1") == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-1") == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1.00") == dec"1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-1.00") == dec"-1.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"00.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"00.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"00") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-2") == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"2") == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-2.00") == dec"-2.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"2.00") == dec"2.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-00.0") == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-00.00") == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-00") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-2000000") == dec"-2000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-2000000") == dec"-2000000") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"2000000") == dec"2000000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-2000000") == dec"-2.00000e+6") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"2000000") == dec"2.00000e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-2000000") == dec"-2.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"2000000") == dec"2.00e+6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e-10") == dec"0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e-5") == dec"0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e-2") == dec"562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e-1") == dec"5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e-0") == dec"56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e+0") == dec"56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e+1") == dec"5.6267e+5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e+2") == dec"5.6267e+6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e+3") == dec"5.6267e+7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e+4") == dec"5.6267e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e+5") == dec"5.6267e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"56267e+6") == dec"5.6267e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e-10") == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e-5") == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e-2") == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e-1") == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e-0") == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e+0") == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e+1") == dec"-5.6267e+5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e+2") == dec"-5.6267e+6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e+3") == dec"-5.6267e+7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e+4") == dec"-5.6267e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e+5") == dec"-5.6267e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-56267e+6") == dec"-5.6267e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0e3") == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0e0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+0e0") == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+0e1") == dec"0e+1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+0e2") == dec"0e+2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+0e3") == dec"0e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-5e3") == dec"-5e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-5e8") == dec"-5e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-5e13") == dec"-5e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-5e18") == dec"-5e+18") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+5e3") == dec"5e+3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+5e8") == dec"5e+8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+5e13") == dec"5e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"+5e18") == dec"5e+18") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1.00e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.1e-999") == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.10e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.100e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.01e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.999e-999") == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.099e-999") == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.009e-999") == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.0009e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0.0001e-999") == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-1.00e-999") == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.1e-999") == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.10e-999") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.100e-999") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.01e-999") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.999e-999") == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.099e-999") == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.009e-999") == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.001e-999") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.0009e-999") == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"-0.0001e-999") == dec"-0e-1001") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"7e-398") == dec"7e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0e-398") == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"7e-399") == dec"1e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"4e-399") == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"7e-400") == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"7e-401") == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0e-399") == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0e-400") == dec"0e-398") +@with_context (Emax = 384, Emin = -383, precision = 16, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"0e-401") == dec"0e-398") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"12345678000") == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567800") == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567890") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567891") == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"12345678901") == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567896") == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"12345678000") == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567800") == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567890") == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567891") == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"12345678901") == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(+(dec"1234567896") == dec"1234567896") end diff --git a/test/dectests/test_subtract.jl b/test/dectests/test_subtract.jl index 4be5245..35dff4c 100644 --- a/test/dectests/test_subtract.jl +++ b/test/dectests/test_subtract.jl @@ -1,1197 +1,589 @@ using Decimals -using ScopedValues using Test using Decimals: @with_context @testset "Subtract" begin - # subx001 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"0" == dec"0" - # subx002 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" - dec"1" == dec"0" - # subx003 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" - dec"2" == dec"-1" - # subx004 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" - dec"1" == dec"1" - # subx005 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" - dec"2" == dec"0" - # subx006 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"2" == dec"1" - # subx007 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" - dec"3" == dec"-1" - # subx011 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-0" - dec"0" == dec"-0" - # subx012 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" - dec"1" == dec"-2" - # subx013 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" - dec"2" == dec"-3" - # subx014 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-2" - dec"1" == dec"-3" - # subx015 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-2" - dec"2" == dec"-4" - # subx016 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-3" - dec"2" == dec"-5" - # subx017 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-2" - dec"3" == dec"-5" - # subx021 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0" == dec"0" - # subx022 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" - dec"-1" == dec"2" - # subx023 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" - dec"-2" == dec"3" - # subx024 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" - dec"-1" == dec"3" - # subx025 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" - dec"-2" == dec"4" - # subx026 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"-2" == dec"5" - # subx027 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"2" - dec"-3" == dec"5" - # subx030 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"11" - dec"1" == dec"10" - # subx031 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10" - dec"1" == dec"9" - # subx032 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9" - dec"1" == dec"8" - # subx033 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" - dec"1" == dec"0" - # subx034 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"1" == dec"-1" - # subx035 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-1" - dec"1" == dec"-2" - # subx036 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-9" - dec"1" == dec"-10" - # subx037 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-10" - dec"1" == dec"-11" - # subx038 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-11" - dec"1" == dec"-12" - # subx040 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5.75" - dec"3.3" == dec"2.45" - # subx041 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"5" - dec"-3" == dec"8" - # subx042 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5" - dec"-3" == dec"-2" - # subx043 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-7" - dec"2.5" == dec"-9.5" - # subx044 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.7" - dec"0.3" == dec"0.4" - # subx045 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.3" - dec"0.3" == dec"1.0" - # subx046 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.25" - dec"1.25" == dec"0.00" - # subx050 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.23456789" - dec"1.00000000" == dec"0.23456789" - # subx051 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.23456789" - dec"1.00000089" == dec"0.23456700" - # subx052 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.5555555559" - dec"0.0000000001" == dec"0.555555556" - # subx053 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.5555555559" - dec"0.0000000005" == dec"0.555555555" - # subx054 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444" - dec"0.1111111111" == dec"0.333333333" - # subx055 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.0000000000" - dec"0.00000001" == dec"0.999999990" - # subx056 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444999" - dec"0" == dec"0.444444444" - # subx057 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444445000" - dec"0" == dec"0.444444445" - # subx060 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"70" - dec"10000e+9" == dec"-1.00000000e+13" - # subx061 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"700" - dec"10000e+9" == dec"-1.00000000e+13" - # subx062 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"7000" - dec"10000e+9" == dec"-9.99999999e+12" - # subx063 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"70000" - dec"10000e+9" == dec"-9.99999993e+12" - # subx064 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"700000" - dec"10000e+9" == dec"-9.99999930e+12" - # subx065 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70" == dec"1.00000000e+13" - # subx066 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"700" == dec"1.00000000e+13" - # subx067 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"7000" == dec"9.99999999e+12" - # subx068 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70000" == dec"9.99999993e+12" - # subx069 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"700000" == dec"9.99999930e+12" - # subx080 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70000" == dec"9.99999993e+12" - # subx081 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70000" == dec"1.00000e+13" - # subx090 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.0" - dec"0.0" == dec"0.0" - # subx091 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.0" - dec"0.00" == dec"0.00" - # subx092 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00" - dec"00.0" == dec"0.00" - # subx093 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00.0" - dec"0.00" == dec"0.00" - # subx094 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00" - dec"00.0" == dec"0.00" - # subx095 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec".3" == dec"2.7" - # subx096 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3." - dec".3" == dec"2.7" - # subx097 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3.0" - dec".3" == dec"2.7" - # subx098 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3.00" - dec".3" == dec"2.70" - # subx099 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"3" == dec"0" - # subx100 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"+3" == dec"0" - # subx101 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"-3" == dec"6" - # subx102 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"0.3" == dec"2.7" - # subx103 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3." - dec"0.3" == dec"2.7" - # subx104 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3.0" - dec"0.3" == dec"2.7" - # subx105 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3.00" - dec"0.3" == dec"2.70" - # subx106 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"3.0" == dec"0.0" - # subx107 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"+3.0" == dec"0.0" - # subx108 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"3" - dec"-3.0" == dec"6.0" - # subx120 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456784" - dec"10.23456789" == dec"-5e-8" - # subx121 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456785" - dec"10.23456789" == dec"-4e-8" - # subx122 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456786" - dec"10.23456789" == dec"-3e-8" - # subx123 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456787" - dec"10.23456789" == dec"-2e-8" - # subx124 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456788" - dec"10.23456789" == dec"-1e-8" - # subx125 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456789" - dec"10.23456789" == dec"0e-8" - # subx126 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456790" - dec"10.23456789" == dec"1e-8" - # subx127 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456791" - dec"10.23456789" == dec"2e-8" - # subx128 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456792" - dec"10.23456789" == dec"3e-8" - # subx129 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456793" - dec"10.23456789" == dec"4e-8" - # subx130 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456794" - dec"10.23456789" == dec"5e-8" - # subx131 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456781" - dec"10.23456786" == dec"-5e-8" - # subx132 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456782" - dec"10.23456786" == dec"-4e-8" - # subx133 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456783" - dec"10.23456786" == dec"-3e-8" - # subx134 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456784" - dec"10.23456786" == dec"-2e-8" - # subx135 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456785" - dec"10.23456786" == dec"-1e-8" - # subx136 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456786" - dec"10.23456786" == dec"0e-8" - # subx137 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456787" - dec"10.23456786" == dec"1e-8" - # subx138 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456788" - dec"10.23456786" == dec"2e-8" - # subx139 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456789" - dec"10.23456786" == dec"3e-8" - # subx140 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456790" - dec"10.23456786" == dec"4e-8" - # subx141 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10.23456791" - dec"10.23456786" == dec"5e-8" - # subx142 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" - dec"0.999999999" == dec"1e-9" - # subx143 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.999999999" - dec"1" == dec"-1e-9" - # subx144 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-10.23456780" - dec"-10.23456786" == dec"6e-8" - # subx145 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-10.23456790" - dec"-10.23456786" == dec"-4e-8" - # subx146 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-10.23456791" - dec"-10.23456786" == dec"-5e-8" - # subx150 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12345678900000" - dec"9999999999999" == dec"2.35e+12" - # subx151 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"9999999999999" - dec"12345678900000" == dec"-2.35e+12" - # subx152 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"12345678900000" - dec"9999999999999" == dec"2.34568e+12" - # subx153 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"9999999999999" - dec"12345678900000" == dec"-2.34568e+12" - # subx154 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"12345678900000" - dec"9999999999999" == dec"2.34567890e+12" - # subx155 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"9999999999999" - dec"12345678900000" == dec"-2.34567890e+12" - # subx156 - @with_context (Emax=384, Emin=-383, precision=12, rounding=RoundNearestTiesAway) @test dec"12345678900000" - dec"9999999999999" == dec"2.34567890000e+12" - # subx157 - @with_context (Emax=384, Emin=-383, precision=12, rounding=RoundNearestTiesAway) @test dec"9999999999999" - dec"12345678900000" == dec"-2.34567890000e+12" - # subx158 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"12345678900000" - dec"9999999999999" == dec"2345678900001" - # subx159 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"9999999999999" - dec"12345678900000" == dec"-2345678900001" - # subx160 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".1" == dec"-0.1" - # subx161 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00" - dec".97983" == dec"-0.97983" - # subx162 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".9" == dec"-0.9" - # subx163 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.102" == dec"-0.102" - # subx164 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".4" == dec"-0.4" - # subx165 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".307" == dec"-0.307" - # subx166 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".43822" == dec"-0.43822" - # subx167 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".911" == dec"-0.911" - # subx168 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec".0" - dec".02" == dec"-0.02" - # subx169 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00" - dec".392" == dec"-0.392" - # subx170 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".26" == dec"-0.26" - # subx171 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.51" == dec"-0.51" - # subx172 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".2234" == dec"-0.2234" - # subx173 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec".2" == dec"-0.2" - # subx174 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec".0" - dec".0008" == dec"-0.0008" - # subx180 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.1" == dec"0.1" - # subx181 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00" - dec"-.97983" == dec"0.97983" - # subx182 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.9" == dec"0.9" - # subx183 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-0.102" == dec"0.102" - # subx184 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.4" == dec"0.4" - # subx185 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.307" == dec"0.307" - # subx186 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.43822" == dec"0.43822" - # subx187 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.911" == dec"0.911" - # subx188 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.02" == dec"0.02" - # subx189 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.00" - dec"-.392" == dec"0.392" - # subx190 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.26" == dec"0.26" - # subx191 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-0.51" == dec"0.51" - # subx192 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.2234" == dec"0.2234" - # subx193 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.2" == dec"0.2" - # subx194 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"-.0008" == dec"0.0008" - # subx200 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.1" == dec"0.1" - # subx201 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00" - dec"-.97983" == dec"0.97983" - # subx202 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.9" == dec"0.9" - # subx203 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.102" == dec"0.102" - # subx204 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.4" == dec"0.4" - # subx205 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.307" == dec"0.307" - # subx206 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.43822" == dec"0.43822" - # subx207 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.911" == dec"0.911" - # subx208 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec".0" - dec"-.02" == dec"0.02" - # subx209 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"00" - dec"-.392" == dec"0.392" - # subx210 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.26" == dec"0.26" - # subx211 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.51" == dec"0.51" - # subx212 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.2234" == dec"0.2234" - # subx213 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-.2" == dec"0.2" - # subx214 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec".0" - dec"-.0008" == dec"0.0008" - # subx220 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-12" - dec"0" == dec"-5.6267e-8" - # subx221 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-11" - dec"0" == dec"-5.6267e-7" - # subx222 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-10" - dec"0" == dec"-0.0000056267" - # subx223 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-9" - dec"0" == dec"-0.000056267" - # subx224 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-8" - dec"0" == dec"-0.00056267" - # subx225 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-7" - dec"0" == dec"-0.0056267" - # subx226 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-6" - dec"0" == dec"-0.056267" - # subx227 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-5" - dec"0" == dec"-0.56267" - # subx228 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-2" - dec"0" == dec"-562.67" - # subx229 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-1" - dec"0" == dec"-5626.7" - # subx230 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-0" - dec"0" == dec"-56267" - # subx240 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-12" == dec"5.6267e-8" - # subx241 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-11" == dec"5.6267e-7" - # subx242 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-10" == dec"0.0000056267" - # subx243 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-9" == dec"0.000056267" - # subx244 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-8" == dec"0.00056267" - # subx245 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-7" == dec"0.0056267" - # subx246 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-6" == dec"0.056267" - # subx247 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-5" == dec"0.56267" - # subx248 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-2" == dec"562.67" - # subx249 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-1" == dec"5626.7" - # subx250 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-0" == dec"56267" - # subx301 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.23456789" - dec"1.00000000" == dec"0.23456789" - # subx302 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.23456789" - dec"1.00000011" == dec"0.23456778" - # subx311 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444" - dec"0.5555555555" == dec"-0.111111111" - # subx312 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444440" - dec"0.5555555555" == dec"-0.111111112" - # subx313 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444" - dec"0.5555555550" == dec"-0.111111111" - # subx314 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.44444444449" - dec"0" == dec"0.444444444" - # subx315 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.444444444499" - dec"0" == dec"0.444444444" - # subx316 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444444999" - dec"0" == dec"0.444444444" - # subx317 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444445000" - dec"0" == dec"0.444444445" - # subx318 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4444444445001" - dec"0" == dec"0.444444445" - # subx319 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.444444444501" - dec"0" == dec"0.444444445" - # subx320 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.44444444451" - dec"0" == dec"0.444444445" - # subx321 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"0.0000" == dec"0.9998" - # subx322 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"0.0001" == dec"0.9997" - # subx323 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"0.0002" == dec"0.9996" - # subx324 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"0.0003" == dec"0.9995" - # subx325 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"-0.0000" == dec"0.9998" - # subx326 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"-0.0001" == dec"0.9999" - # subx327 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"-0.0002" == dec"1.0000" - # subx328 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9998" - dec"-0.0003" == dec"1.0001" - # subx330 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"70" - dec"10000e+9" == dec"-1.00000000e+13" - # subx331 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"700" - dec"10000e+9" == dec"-1.00000000e+13" - # subx332 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"7000" - dec"10000e+9" == dec"-9.99999999e+12" - # subx333 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"70000" - dec"10000e+9" == dec"-9.99999993e+12" - # subx334 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"700000" - dec"10000e+9" == dec"-9.99999930e+12" - # subx335 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"7000000" - dec"10000e+9" == dec"-9.99999300e+12" - # subx340 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70" == dec"1.00000000e+13" - # subx341 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"700" == dec"1.00000000e+13" - # subx342 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"7000" == dec"9.99999999e+12" - # subx343 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70000" == dec"9.99999993e+12" - # subx344 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"700000" == dec"9.99999930e+12" - # subx345 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"7000000" == dec"9.99999300e+12" - # subx346 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"7" == dec"9999999999993" - # subx347 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70" == dec"9999999999930" - # subx348 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"700" == dec"9999999999300" - # subx349 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"7000" == dec"9999999993000" - # subx350 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70000" == dec"9999999930000" - # subx351 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"700000" == dec"9999999300000" - # subx352 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"7" - dec"10000e+9" == dec"-9999999999993" - # subx353 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"70" - dec"10000e+9" == dec"-9999999999930" - # subx354 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"700" - dec"10000e+9" == dec"-9999999999300" - # subx355 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"7000" - dec"10000e+9" == dec"-9999999993000" - # subx356 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"70000" - dec"10000e+9" == dec"-9999999930000" - # subx357 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"700000" - dec"10000e+9" == dec"-9999999300000" - # subx360 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"10000e+9" - dec"70000" == dec"1.00000e+13" - # subx361 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0.0001" == dec"0.9999" - # subx362 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0.00001" == dec"0.99999" - # subx363 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0.000001" == dec"0.999999" - # subx364 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0.0000001" == dec"1.00000" - # subx365 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0.00000001" == dec"1.00000" - # subx370 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0" == dec"1" - # subx371 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0." == dec"1" - # subx372 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec".0" == dec"1.0" - # subx373 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"1" - dec"0.0" == dec"1.0" - # subx374 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"0" - dec"1" == dec"-1" - # subx375 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"0." - dec"1" == dec"-1" - # subx376 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec".0" - dec"1" == dec"-1.0" - # subx377 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"0.0" - dec"1" == dec"-1.0" - # subx910 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-103519362" - dec"-51897955.3" == dec"-51621406.7" - # subx911 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"159579.444" - dec"89827.5229" == dec"69751.9211" - # subx920 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"333.123456" - dec"33.1234566" == dec"299.999999" - # subx921 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"333.123456" - dec"33.1234565" == dec"300.000000" - # subx922 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"133.123456" - dec"33.1234565" == dec"99.9999995" - # subx923 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"133.123456" - dec"33.1234564" == dec"99.9999996" - # subx924 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"133.123456" - dec"33.1234540" == dec"100.000002" - # subx925 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"133.123456" - dec"43.1234560" == dec"90.0000000" - # subx926 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"133.123456" - dec"43.1234561" == dec"89.9999999" - # subx927 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"133.123456" - dec"43.1234566" == dec"89.9999994" - # subx928 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"101.123456" - dec"91.1234566" == dec"9.9999994" - # subx929 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"101.123456" - dec"99.1234566" == dec"1.9999994" - # subx930 - @with_context (Emax=384, Emin=-383, precision=1, rounding=RoundNearestTiesAway) @test dec"11" - dec"2" == dec"9" - # subx932 - @with_context (Emax=384, Emin=-383, precision=2, rounding=RoundNearestTiesAway) @test dec"101" - dec"2" == dec"99" - # subx934 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"101" - dec"2.1" == dec"98.9" - # subx935 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.01" == dec"8.99" - # subx936 - @with_context (Emax=384, Emin=-383, precision=4, rounding=RoundNearestTiesAway) @test dec"101" - dec"2.01" == dec"98.99" - # subx937 - @with_context (Emax=384, Emin=-383, precision=4, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.01" == dec"8.99" - # subx938 - @with_context (Emax=384, Emin=-383, precision=4, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.006" == dec"8.994" - # subx939 - @with_context (Emax=384, Emin=-383, precision=5, rounding=RoundNearestTiesAway) @test dec"101" - dec"2.001" == dec"98.999" - # subx940 - @with_context (Emax=384, Emin=-383, precision=5, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.001" == dec"8.999" - # subx941 - @with_context (Emax=384, Emin=-383, precision=5, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.0006" == dec"8.9994" - # subx942 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"101" - dec"2.0001" == dec"98.9999" - # subx943 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.0001" == dec"8.9999" - # subx944 - @with_context (Emax=384, Emin=-383, precision=6, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.00006" == dec"8.99994" - # subx945 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"101" - dec"2.00001" == dec"98.99999" - # subx946 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.00001" == dec"8.99999" - # subx947 - @with_context (Emax=384, Emin=-383, precision=7, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.000006" == dec"8.999994" - # subx948 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"101" - dec"2.000001" == dec"98.999999" - # subx949 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.000001" == dec"8.999999" - # subx950 - @with_context (Emax=384, Emin=-383, precision=8, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.0000006" == dec"8.9999994" - # subx951 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"101" - dec"2.0000001" == dec"98.9999999" - # subx952 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.0000001" == dec"8.9999999" - # subx953 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"101" - dec"92.00000006" == dec"8.99999994" - # subx390 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-10" - dec"0" == dec"-0.0000056267" - # subx391 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-6" - dec"0" == dec"-0.056267" - # subx392 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-5" - dec"0" == dec"-0.56267" - # subx393 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-4" - dec"0" == dec"-5.6267" - # subx394 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-3" - dec"0" == dec"-56.267" - # subx395 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-2" - dec"0" == dec"-562.67" - # subx396 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-1" - dec"0" == dec"-5626.7" - # subx397 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-56267e-0" - dec"0" == dec"-56267" - # subx398 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-10" - dec"0" == dec"-5e-10" - # subx399 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-7" - dec"0" == dec"-5e-7" - # subx400 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-6" - dec"0" == dec"-0.000005" - # subx401 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-5" - dec"0" == dec"-0.00005" - # subx402 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-4" - dec"0" == dec"-0.0005" - # subx403 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e-1" - dec"0" == dec"-0.5" - # subx404 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e0" - dec"0" == dec"-5" - # subx405 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e1" - dec"0" == dec"-50" - # subx406 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e5" - dec"0" == dec"-500000" - # subx407 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e8" - dec"0" == dec"-500000000" - # subx408 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e9" - dec"0" == dec"-5.00000000e+9" - # subx409 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e10" - dec"0" == dec"-5.00000000e+10" - # subx410 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e11" - dec"0" == dec"-5.00000000e+11" - # subx411 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"-5e100" - dec"0" == dec"-5.00000000e+100" - # subx420 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-10" == dec"0.0000056267" - # subx421 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-6" == dec"0.056267" - # subx422 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-5" == dec"0.56267" - # subx423 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-4" == dec"5.6267" - # subx424 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-3" == dec"56.267" - # subx425 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-2" == dec"562.67" - # subx426 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-1" == dec"5626.7" - # subx427 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-56267e-0" == dec"56267" - # subx428 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e-10" == dec"5e-10" - # subx429 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e-7" == dec"5e-7" - # subx430 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e-6" == dec"0.000005" - # subx431 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e-5" == dec"0.00005" - # subx432 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e-4" == dec"0.0005" - # subx433 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e-1" == dec"0.5" - # subx434 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e0" == dec"5" - # subx435 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e1" == dec"50" - # subx436 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e5" == dec"500000" - # subx437 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e8" == dec"500000000" - # subx438 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e9" == dec"5.00000000e+9" - # subx439 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e10" == dec"5.00000000e+10" - # subx440 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e11" == dec"5.00000000e+11" - # subx441 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"-5e100" == dec"5.00000000e+100" - # subx461 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+12" - dec"1" == dec"999999999999" - # subx462 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1e+12" - dec"-1.11" == dec"1000000000001.11" - # subx463 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1.11" - dec"-1e+12" == dec"1000000000001.11" - # subx464 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"-1" - dec"-1e+12" == dec"999999999999" - # subx465 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"7e+12" - dec"1" == dec"6999999999999" - # subx466 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"7e+12" - dec"-1.11" == dec"7000000000001.11" - # subx467 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"1.11" - dec"-7e+12" == dec"7000000000001.11" - # subx468 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"-1" - dec"-7e+12" == dec"6999999999999" - # subx470 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555563" == dec"1.00000000000001" - # subx471 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555562" == dec"1.00000000000001" - # subx472 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555561" == dec"1.00000000000001" - # subx473 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555560" == dec"1.00000000000000" - # subx474 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555559" == dec"1.00000000000000" - # subx475 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555558" == dec"1.00000000000000" - # subx476 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555557" == dec"1.00000000000000" - # subx477 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555556" == dec"1.00000000000000" - # subx478 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555555" == dec"0.999999999999999" - # subx479 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555554" == dec"0.999999999999998" - # subx480 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555553" == dec"0.999999999999997" - # subx481 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555552" == dec"0.999999999999996" - # subx482 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555551" == dec"0.999999999999995" - # subx483 - @with_context (Emax=384, Emin=-383, precision=15, rounding=RoundNearestTiesAway) @test dec"0.444444444444444" - dec"-0.555555555555550" == dec"0.999999999999994" - # subx500 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0" == dec"123456789" - # subx501 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.000000001" == dec"123456789" - # subx502 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.000001" == dec"123456789" - # subx503 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.1" == dec"123456789" - # subx504 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.4" == dec"123456789" - # subx505 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.49" == dec"123456789" - # subx506 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.499999" == dec"123456789" - # subx507 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.499999999" == dec"123456789" - # subx508 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.5" == dec"123456789" - # subx509 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.500000001" == dec"123456788" - # subx510 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.500001" == dec"123456788" - # subx511 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.51" == dec"123456788" - # subx512 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.6" == dec"123456788" - # subx513 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.9" == dec"123456788" - # subx514 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.99999" == dec"123456788" - # subx515 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"0.999999999" == dec"123456788" - # subx516 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"1" == dec"123456788" - # subx517 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"1.000000001" == dec"123456788" - # subx518 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"1.00001" == dec"123456788" - # subx519 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"1.1" == dec"123456788" - # subx520 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0" == dec"123456789" - # subx521 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.000000001" == dec"123456789" - # subx522 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.000001" == dec"123456789" - # subx523 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.1" == dec"123456789" - # subx524 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.4" == dec"123456789" - # subx525 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.49" == dec"123456789" - # subx526 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.499999" == dec"123456789" - # subx527 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.499999999" == dec"123456789" - # subx528 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.5" == dec"123456788" - # subx529 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.500000001" == dec"123456788" - # subx530 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.500001" == dec"123456788" - # subx531 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.51" == dec"123456788" - # subx532 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.6" == dec"123456788" - # subx533 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.9" == dec"123456788" - # subx534 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.99999" == dec"123456788" - # subx535 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"0.999999999" == dec"123456788" - # subx536 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"1" == dec"123456788" - # subx537 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"1.00000001" == dec"123456788" - # subx538 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"1.00001" == dec"123456788" - # subx539 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"1.1" == dec"123456788" - # subx540 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"0.499999999" == dec"123456788" - # subx541 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"0.5" == dec"123456788" - # subx542 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"0.500000001" == dec"123456787" - # subx550 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0" == dec"123456789" - # subx551 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.000000001" == dec"123456788" - # subx552 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.000001" == dec"123456788" - # subx553 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.1" == dec"123456788" - # subx554 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.4" == dec"123456788" - # subx555 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.49" == dec"123456788" - # subx556 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.499999" == dec"123456788" - # subx557 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.499999999" == dec"123456788" - # subx558 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.5" == dec"123456788" - # subx559 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.500000001" == dec"123456788" - # subx560 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.500001" == dec"123456788" - # subx561 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.51" == dec"123456788" - # subx562 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.6" == dec"123456788" - # subx563 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.9" == dec"123456788" - # subx564 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.99999" == dec"123456788" - # subx565 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"0.999999999" == dec"123456788" - # subx566 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"1" == dec"123456788" - # subx567 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"1.00000001" == dec"123456787" - # subx568 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"1.00001" == dec"123456787" - # subx569 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"1.1" == dec"123456787" - # subx600 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"123456789" == dec"-123456789" - # subx601 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.000000001" - dec"123456789" == dec"-123456789" - # subx602 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.000001" - dec"123456789" == dec"-123456789" - # subx603 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.1" - dec"123456789" == dec"-123456789" - # subx604 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.4" - dec"123456789" == dec"-123456789" - # subx605 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.49" - dec"123456789" == dec"-123456789" - # subx606 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.499999" - dec"123456789" == dec"-123456789" - # subx607 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.499999999" - dec"123456789" == dec"-123456789" - # subx608 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.5" - dec"123456789" == dec"-123456789" - # subx609 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.500000001" - dec"123456789" == dec"-123456788" - # subx610 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.500001" - dec"123456789" == dec"-123456788" - # subx611 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.51" - dec"123456789" == dec"-123456788" - # subx612 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.6" - dec"123456789" == dec"-123456788" - # subx613 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.9" - dec"123456789" == dec"-123456788" - # subx614 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.99999" - dec"123456789" == dec"-123456788" - # subx615 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"0.999999999" - dec"123456789" == dec"-123456788" - # subx616 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1" - dec"123456789" == dec"-123456788" - # subx617 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.000000001" - dec"123456789" == dec"-123456788" - # subx618 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.00001" - dec"123456789" == dec"-123456788" - # subx619 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"1.1" - dec"123456789" == dec"-123456788" - # subx620 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0" - dec"123456789" == dec"-123456789" - # subx621 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.000000001" - dec"123456789" == dec"-123456789" - # subx622 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.000001" - dec"123456789" == dec"-123456789" - # subx623 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.1" - dec"123456789" == dec"-123456789" - # subx624 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.4" - dec"123456789" == dec"-123456789" - # subx625 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.49" - dec"123456789" == dec"-123456789" - # subx626 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.499999" - dec"123456789" == dec"-123456789" - # subx627 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.499999999" - dec"123456789" == dec"-123456789" - # subx628 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.5" - dec"123456789" == dec"-123456788" - # subx629 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.500000001" - dec"123456789" == dec"-123456788" - # subx630 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.500001" - dec"123456789" == dec"-123456788" - # subx631 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.51" - dec"123456789" == dec"-123456788" - # subx632 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.6" - dec"123456789" == dec"-123456788" - # subx633 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.9" - dec"123456789" == dec"-123456788" - # subx634 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.99999" - dec"123456789" == dec"-123456788" - # subx635 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.999999999" - dec"123456789" == dec"-123456788" - # subx636 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"1" - dec"123456789" == dec"-123456788" - # subx637 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"1.00000001" - dec"123456789" == dec"-123456788" - # subx638 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"1.00001" - dec"123456789" == dec"-123456788" - # subx639 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"1.1" - dec"123456789" == dec"-123456788" - # subx640 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.499999999" - dec"123456788" == dec"-123456788" - # subx641 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.5" - dec"123456788" == dec"-123456788" - # subx642 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"0.500000001" - dec"123456788" == dec"-123456787" - # subx650 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0" - dec"123456789" == dec"-123456789" - # subx651 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.000000001" - dec"123456789" == dec"-123456788" - # subx652 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.000001" - dec"123456789" == dec"-123456788" - # subx653 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.1" - dec"123456789" == dec"-123456788" - # subx654 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.4" - dec"123456789" == dec"-123456788" - # subx655 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.49" - dec"123456789" == dec"-123456788" - # subx656 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.499999" - dec"123456789" == dec"-123456788" - # subx657 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.499999999" - dec"123456789" == dec"-123456788" - # subx658 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.5" - dec"123456789" == dec"-123456788" - # subx659 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.500000001" - dec"123456789" == dec"-123456788" - # subx660 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.500001" - dec"123456789" == dec"-123456788" - # subx661 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.51" - dec"123456789" == dec"-123456788" - # subx662 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.6" - dec"123456789" == dec"-123456788" - # subx663 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.9" - dec"123456789" == dec"-123456788" - # subx664 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.99999" - dec"123456789" == dec"-123456788" - # subx665 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"0.999999999" - dec"123456789" == dec"-123456788" - # subx666 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"1" - dec"123456789" == dec"-123456788" - # subx667 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"1.00000001" - dec"123456789" == dec"-123456787" - # subx668 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"1.00001" - dec"123456789" == dec"-123456787" - # subx669 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"1.1" - dec"123456789" == dec"-123456787" - # subx670 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"123456788.1" == dec"0.9" - # subx671 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"123456788.9" == dec"0.1" - # subx672 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"123456789.1" == dec"-0.1" - # subx673 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"123456789.5" == dec"-0.5" - # subx674 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearestTiesAway) @test dec"123456789" - dec"123456789.9" == dec"-0.9" - # subx680 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"123456788.1" == dec"0.9" - # subx681 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"123456788.9" == dec"0.1" - # subx682 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"123456789.1" == dec"-0.1" - # subx683 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"123456789.5" == dec"-0.5" - # subx684 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456789" - dec"123456789.9" == dec"-0.9" - # subx685 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"123456787.1" == dec"0.9" - # subx686 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"123456787.9" == dec"0.1" - # subx687 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"123456788.1" == dec"-0.1" - # subx688 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"123456788.5" == dec"-0.5" - # subx689 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundNearest) @test dec"123456788" - dec"123456788.9" == dec"-0.9" - # subx690 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"123456788.1" == dec"0.9" - # subx691 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"123456788.9" == dec"0.1" - # subx692 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"123456789.1" == dec"-0.1" - # subx693 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"123456789.5" == dec"-0.5" - # subx694 - @with_context (Emax=384, Emin=-383, precision=9, rounding=RoundToZero) @test dec"123456789" - dec"123456789.9" == dec"-0.9" - # subx700 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12345678900000" - dec"-9999999999999" == dec"2.23e+13" - # subx701 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"9999999999999" - dec"-12345678900000" == dec"2.23e+13" - # subx702 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" - dec"-3456" == dec"1.55e+4" - # subx703 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" - dec"-3446" == dec"1.54e+4" - # subx704 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" - dec"-3454" == dec"1.55e+4" - # subx705 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"12e+3" - dec"-3444" == dec"1.54e+4" - # subx706 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3456" - dec"-12e+3" == dec"1.55e+4" - # subx707 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3446" - dec"-12e+3" == dec"1.54e+4" - # subx708 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3454" - dec"-12e+3" == dec"1.55e+4" - # subx709 - @with_context (Emax=384, Emin=-383, precision=3, rounding=RoundNearestTiesAway) @test dec"3444" - dec"-12e+3" == dec"1.54e+4" - # subx710 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundToZero) @test_throws OverflowError dec"1e+999999999" - dec"-9e+999999999" - # subx711 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundToZero) @test_throws OverflowError dec"9e+999999999" - dec"-1e+999999999" - # subx712 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1e+999999999" - dec"-9e+999999999" - # subx713 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9e+999999999" - dec"-1e+999999999" - # subx714 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1.1e-999999999" - dec"-1e-999999999" == dec"-1e-1000000000" - # subx715 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"1e-999999999" - dec"+1.1e-999999999" == dec"-1e-1000000000" - # subx716 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-1e+999999999" - dec"+9e+999999999" - # subx717 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9e+999999999" - dec"+1e+999999999" - # subx718 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"+1.1e-999999999" - dec"+1e-999999999" == dec"1e-1000000000" - # subx719 - @with_context (Emax=999999999, Emin=-999999999, precision=9, rounding=RoundNearestTiesAway) @test dec"-1e-999999999" - dec"-1.1e-999999999" == dec"1e-1000000000" - # subx720 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1" - dec"9.999e+999999999" - # subx721 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1" - dec"-9.999e+999999999" - # subx722 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9.999e+999999999" - dec"1" - # subx723 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9.999e+999999999" - dec"1" - # subx724 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1" - dec"9.999e+999999999" - # subx725 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"1" - dec"-9.999e+999999999" - # subx726 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"9.999e+999999999" - dec"1" - # subx727 - @with_context (Emax=999999999, Emin=-999999999, precision=3, rounding=RoundNearestTiesAway) @test_throws OverflowError dec"-9.999e+999999999" - dec"1" - # sub731 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"12345678000" - dec"0" == dec"1.23456780e+10" - # sub732 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"12345678000" == dec"-1.23456780e+10" - # sub733 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567800" - dec"0" == dec"1.23456780e+9" - # sub734 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567800" == dec"-1.23456780e+9" - # sub735 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567890" - dec"0" == dec"1.23456789e+9" - # sub736 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567890" == dec"-1.23456789e+9" - # sub737 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567891" - dec"0" == dec"1.23456789e+9" - # sub738 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567891" == dec"-1.23456789e+9" - # sub739 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"12345678901" - dec"0" == dec"1.23456789e+10" - # sub740 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"12345678901" == dec"-1.23456789e+10" - # sub741 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"1234567896" - dec"0" == dec"1.23456790e+9" - # sub742 - @with_context (Emax=999, Emin=-999, precision=9, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567896" == dec"-1.23456790e+9" - # sub751 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"12345678000" - dec"0" == dec"12345678000" - # sub752 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"0" - dec"12345678000" == dec"-12345678000" - # sub753 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567800" - dec"0" == dec"1234567800" - # sub754 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567800" == dec"-1234567800" - # sub755 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567890" - dec"0" == dec"1234567890" - # sub756 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567890" == dec"-1234567890" - # sub757 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567891" - dec"0" == dec"1234567891" - # sub758 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567891" == dec"-1234567891" - # sub759 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"12345678901" - dec"0" == dec"12345678901" - # sub760 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"0" - dec"12345678901" == dec"-12345678901" - # sub761 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"1234567896" - dec"0" == dec"1234567896" - # sub762 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"0" - dec"1234567896" == dec"-1234567896" - # subx901 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.e-3" - dec"1.002" == dec"-1.000" - # subx902 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.0e-3" - dec"1.002" == dec"-1.0000" - # subx903 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.00e-3" - dec"1.0020" == dec"-1.00000" - # subx904 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.000e-3" - dec"1.00200" == dec"-1.000000" - # subx905 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.0000e-3" - dec"1.002000" == dec"-1.0000000" - # subx906 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.00000e-3" - dec"1.0020000" == dec"-1.00000000" - # subx907 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.000000e-3" - dec"1.00200000" == dec"-1.000000000" - # subx908 - @with_context (Emax=999, Emin=-999, precision=15, rounding=RoundNearestTiesAway) @test dec"2.0000000e-3" - dec"1.002000000" == dec"-1.0000000000" - # subx1010 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"1.00e-999" == dec"-1.00e-999" - # subx1011 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.1e-999" == dec"-1e-1000" - # subx1012 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.10e-999" == dec"-1.0e-1000" - # subx1013 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.100e-999" == dec"-1.0e-1000" - # subx1014 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.01e-999" == dec"-1e-1001" - # subx1015 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.999e-999" == dec"-1.00e-999" - # subx1016 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.099e-999" == dec"-1.0e-1000" - # subx1017 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.009e-999" == dec"-1e-1001" - # subx1018 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.001e-999" == dec"-0e-1001" - # subx1019 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.0009e-999" == dec"-0e-1001" - # subx1020 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"0.0001e-999" == dec"-0e-1001" - # subx1030 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-1.00e-999" == dec"1.00e-999" - # subx1031 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.1e-999" == dec"1e-1000" - # subx1032 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.10e-999" == dec"1.0e-1000" - # subx1033 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.100e-999" == dec"1.0e-1000" - # subx1034 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.01e-999" == dec"1e-1001" - # subx1035 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.999e-999" == dec"1.00e-999" - # subx1036 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.099e-999" == dec"1.0e-1000" - # subx1037 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.009e-999" == dec"1e-1001" - # subx1038 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.001e-999" == dec"0e-1001" - # subx1039 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.0009e-999" == dec"0e-1001" - # subx1040 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0" - dec"-0.0001e-999" == dec"0e-1001" - # subx1050 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"1.00e-999" - dec"0.1e-999" == dec"9.0e-1000" - # subx1051 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.1e-999" - dec"0.1e-999" == dec"0e-1000" - # subx1052 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.10e-999" - dec"0.1e-999" == dec"0e-1001" - # subx1053 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.100e-999" - dec"0.1e-999" == dec"0e-1001" - # subx1054 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.01e-999" - dec"0.1e-999" == dec"-9e-1001" - # subx1055 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.999e-999" - dec"0.1e-999" == dec"9.0e-1000" - # subx1056 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.099e-999" - dec"0.1e-999" == dec"-0e-1001" - # subx1057 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.009e-999" - dec"0.1e-999" == dec"-9e-1001" - # subx1058 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.001e-999" - dec"0.1e-999" == dec"-1.0e-1000" - # subx1059 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0009e-999" - dec"0.1e-999" == dec"-1.0e-1000" - # subx1060 - @with_context (Emax=999, Emin=-999, precision=3, rounding=RoundNearestTiesAway) @test dec"0.0001e-999" - dec"0.1e-999" == dec"-1.0e-1000" - # subx1101 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"0" - dec"1.52444e-80" == dec"-1.524e-80" - # subx1102 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"0" - dec"1.52445e-80" == dec"-1.524e-80" - # subx1103 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"0" - dec"1.52446e-80" == dec"-1.524e-80" - # subx1104 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52444e-80" - dec"0" == dec"1.524e-80" - # subx1105 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52445e-80" - dec"0" == dec"1.524e-80" - # subx1106 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.52446e-80" - dec"0" == dec"1.524e-80" - # subx1111 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"1.2345671e-80" == dec"0e-83" - # subx1112 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"1.2345618e-80" == dec"0e-83" - # subx1113 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"1.2345178e-80" == dec"0e-83" - # subx1114 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"1.2341678e-80" == dec"0e-83" - # subx1115 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"1.2315678e-80" == dec"3e-83" - # subx1116 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"1.2145678e-80" == dec"2.0e-82" - # subx1117 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"1.1345678e-80" == dec"1.00e-81" - # subx1118 - @with_context (Emax=79, Emin=-79, precision=5, rounding=RoundNearestTiesAway) @test dec"1.2345678e-80" - dec"0.2345678e-80" == dec"1.000e-80" - # subx1125 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" - dec"120e-2" == dec"0.10" - # subx1126 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" - dec"12e-1" == dec"0.10" - # subx1127 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"130e-2" - dec"1e0" == dec"0.30" - # subx1128 - @with_context (Emax=6144, Emin=-6143, precision=34, rounding=RoundNearestTiesAway) @test dec"1e2" - dec"1e4" == dec"-9.9e+3" +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"2" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" - dec"1" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" - dec"2" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"2" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" - dec"3" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-0" - dec"0" == dec"-0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" - dec"1" == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" - dec"2" == dec"-3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-2" - dec"1" == dec"-3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-2" - dec"2" == dec"-4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-3" - dec"2" == dec"-5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-2" - dec"3" == dec"-5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"-1" == dec"2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"-2" == dec"3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" - dec"-1" == dec"3") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" - dec"-2" == dec"4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"-2" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2" - dec"-3" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"11" - dec"1" == dec"10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10" - dec"1" == dec"9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9" - dec"1" == dec"8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"1" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" - dec"1" == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-9" - dec"1" == dec"-10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-10" - dec"1" == dec"-11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-11" - dec"1" == dec"-12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5.75" - dec"3.3" == dec"2.45") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"5" - dec"-3" == dec"8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5" - dec"-3" == dec"-2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-7" - dec"2.5" == dec"-9.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.7" - dec"0.3" == dec"0.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.3" - dec"0.3" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.25" - dec"1.25" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.23456789" - dec"1.00000000" == dec"0.23456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.23456789" - dec"1.00000089" == dec"0.23456700") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.5555555559" - dec"0.0000000001" == dec"0.555555556") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.5555555559" - dec"0.0000000005" == dec"0.555555555") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444" - dec"0.1111111111" == dec"0.333333333") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.0000000000" - dec"0.00000001" == dec"0.999999990") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444999" - dec"0" == dec"0.444444444") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444445000" - dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70" - dec"10000e+9" == dec"-1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700" - dec"10000e+9" == dec"-1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7000" - dec"10000e+9" == dec"-9.99999999e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70000" - dec"10000e+9" == dec"-9.99999993e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700000" - dec"10000e+9" == dec"-9.99999930e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"700" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"7000" == dec"9.99999999e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70000" == dec"9.99999993e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"700000" == dec"9.99999930e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70000" == dec"9.99999993e+12") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70000" == dec"1.00000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.0" - dec"0.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.0" - dec"0.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" - dec"00.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00.0" - dec"0.00" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" - dec"00.0" == dec"0.00") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec".3" == dec"2.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3." - dec".3" == dec"2.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3.0" - dec".3" == dec"2.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3.00" - dec".3" == dec"2.70") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"+3" == dec"0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"-3" == dec"6") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"0.3" == dec"2.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3." - dec"0.3" == dec"2.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3.0" - dec"0.3" == dec"2.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3.00" - dec"0.3" == dec"2.70") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"3.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"+3.0" == dec"0.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3" - dec"-3.0" == dec"6.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456784" - dec"10.23456789" == dec"-5e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456785" - dec"10.23456789" == dec"-4e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456786" - dec"10.23456789" == dec"-3e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456787" - dec"10.23456789" == dec"-2e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456788" - dec"10.23456789" == dec"-1e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456789" - dec"10.23456789" == dec"0e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456790" - dec"10.23456789" == dec"1e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456791" - dec"10.23456789" == dec"2e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456792" - dec"10.23456789" == dec"3e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456793" - dec"10.23456789" == dec"4e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456794" - dec"10.23456789" == dec"5e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456781" - dec"10.23456786" == dec"-5e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456782" - dec"10.23456786" == dec"-4e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456783" - dec"10.23456786" == dec"-3e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456784" - dec"10.23456786" == dec"-2e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456785" - dec"10.23456786" == dec"-1e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456786" - dec"10.23456786" == dec"0e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456787" - dec"10.23456786" == dec"1e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456788" - dec"10.23456786" == dec"2e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456789" - dec"10.23456786" == dec"3e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456790" - dec"10.23456786" == dec"4e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10.23456791" - dec"10.23456786" == dec"5e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0.999999999" == dec"1e-9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.999999999" - dec"1" == dec"-1e-9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-10.23456780" - dec"-10.23456786" == dec"6e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-10.23456790" - dec"-10.23456786" == dec"-4e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-10.23456791" - dec"-10.23456786" == dec"-5e-8") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678900000" - dec"9999999999999" == dec"2.35e+12") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999" - dec"12345678900000" == dec"-2.35e+12") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678900000" - dec"9999999999999" == dec"2.34568e+12") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999" - dec"12345678900000" == dec"-2.34568e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678900000" - dec"9999999999999" == dec"2.34567890e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999" - dec"12345678900000" == dec"-2.34567890e+12") +@with_context (Emax = 384, Emin = -383, precision = 12, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678900000" - dec"9999999999999" == dec"2.34567890000e+12") +@with_context (Emax = 384, Emin = -383, precision = 12, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999" - dec"12345678900000" == dec"-2.34567890000e+12") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678900000" - dec"9999999999999" == dec"2345678900001") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999" - dec"12345678900000" == dec"-2345678900001") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".1" == dec"-0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00" - dec".97983" == dec"-0.97983") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".9" == dec"-0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.102" == dec"-0.102") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".4" == dec"-0.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".307" == dec"-0.307") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".43822" == dec"-0.43822") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".911" == dec"-0.911") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec".0" - dec".02" == dec"-0.02") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00" - dec".392" == dec"-0.392") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".26" == dec"-0.26") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.51" == dec"-0.51") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".2234" == dec"-0.2234") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec".2" == dec"-0.2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec".0" - dec".0008" == dec"-0.0008") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.1" == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" - dec"-.97983" == dec"0.97983") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.9" == dec"0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-0.102" == dec"0.102") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.4" == dec"0.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.307" == dec"0.307") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.43822" == dec"0.43822") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.911" == dec"0.911") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.02" == dec"0.02") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.00" - dec"-.392" == dec"0.392") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.26" == dec"0.26") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-0.51" == dec"0.51") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.2234" == dec"0.2234") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.2" == dec"0.2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"-.0008" == dec"0.0008") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.1" == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00" - dec"-.97983" == dec"0.97983") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.9" == dec"0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.102" == dec"0.102") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.4" == dec"0.4") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.307" == dec"0.307") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.43822" == dec"0.43822") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.911" == dec"0.911") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec".0" - dec"-.02" == dec"0.02") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"00" - dec"-.392" == dec"0.392") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.26" == dec"0.26") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.51" == dec"0.51") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.2234" == dec"0.2234") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-.2" == dec"0.2") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec".0" - dec"-.0008" == dec"0.0008") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-12" - dec"0" == dec"-5.6267e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-11" - dec"0" == dec"-5.6267e-7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-10" - dec"0" == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-9" - dec"0" == dec"-0.000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-8" - dec"0" == dec"-0.00056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-7" - dec"0" == dec"-0.0056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-6" - dec"0" == dec"-0.056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-5" - dec"0" == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-2" - dec"0" == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-1" - dec"0" == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-0" - dec"0" == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-12" == dec"5.6267e-8") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-11" == dec"5.6267e-7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-10" == dec"0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-9" == dec"0.000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-8" == dec"0.00056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-7" == dec"0.0056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-6" == dec"0.056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-5" == dec"0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-2" == dec"562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-1" == dec"5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-0" == dec"56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.23456789" - dec"1.00000000" == dec"0.23456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.23456789" - dec"1.00000011" == dec"0.23456778") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444" - dec"0.5555555555" == dec"-0.111111111") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444440" - dec"0.5555555555" == dec"-0.111111112") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444" - dec"0.5555555550" == dec"-0.111111111") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.44444444449" - dec"0" == dec"0.444444444") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444499" - dec"0" == dec"0.444444444") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444444999" - dec"0" == dec"0.444444444") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444445000" - dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4444444445001" - dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444501" - dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.44444444451" - dec"0" == dec"0.444444445") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"0.0000" == dec"0.9998") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"0.0001" == dec"0.9997") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"0.0002" == dec"0.9996") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"0.0003" == dec"0.9995") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"-0.0000" == dec"0.9998") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"-0.0001" == dec"0.9999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"-0.0002" == dec"1.0000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9998" - dec"-0.0003" == dec"1.0001") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70" - dec"10000e+9" == dec"-1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700" - dec"10000e+9" == dec"-1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7000" - dec"10000e+9" == dec"-9.99999999e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70000" - dec"10000e+9" == dec"-9.99999993e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700000" - dec"10000e+9" == dec"-9.99999930e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7000000" - dec"10000e+9" == dec"-9.99999300e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"700" == dec"1.00000000e+13") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"7000" == dec"9.99999999e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70000" == dec"9.99999993e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"700000" == dec"9.99999930e+12") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"7000000" == dec"9.99999300e+12") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"7" == dec"9999999999993") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70" == dec"9999999999930") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"700" == dec"9999999999300") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"7000" == dec"9999999993000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70000" == dec"9999999930000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"700000" == dec"9999999300000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7" - dec"10000e+9" == dec"-9999999999993") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70" - dec"10000e+9" == dec"-9999999999930") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700" - dec"10000e+9" == dec"-9999999999300") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7000" - dec"10000e+9" == dec"-9999999993000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"70000" - dec"10000e+9" == dec"-9999999930000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"700000" - dec"10000e+9" == dec"-9999999300000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"10000e+9" - dec"70000" == dec"1.00000e+13") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0.0001" == dec"0.9999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0.00001" == dec"0.99999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0.000001" == dec"0.999999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0.0000001" == dec"1.00000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0.00000001" == dec"1.00000") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0" == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0." == dec"1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec".0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"0.0" == dec"1.0") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0." - dec"1" == dec"-1") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec".0" - dec"1" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0" - dec"1" == dec"-1.0") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-103519362" - dec"-51897955.3" == dec"-51621406.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"159579.444" - dec"89827.5229" == dec"69751.9211") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"333.123456" - dec"33.1234566" == dec"299.999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"333.123456" - dec"33.1234565" == dec"300.000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"133.123456" - dec"33.1234565" == dec"99.9999995") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"133.123456" - dec"33.1234564" == dec"99.9999996") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"133.123456" - dec"33.1234540" == dec"100.000002") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"133.123456" - dec"43.1234560" == dec"90.0000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"133.123456" - dec"43.1234561" == dec"89.9999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"133.123456" - dec"43.1234566" == dec"89.9999994") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101.123456" - dec"91.1234566" == dec"9.9999994") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101.123456" - dec"99.1234566" == dec"1.9999994") +@with_context (Emax = 384, Emin = -383, precision = 1, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"11" - dec"2" == dec"9") +@with_context (Emax = 384, Emin = -383, precision = 2, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2" == dec"99") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2.1" == dec"98.9") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.01" == dec"8.99") +@with_context (Emax = 384, Emin = -383, precision = 4, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2.01" == dec"98.99") +@with_context (Emax = 384, Emin = -383, precision = 4, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.01" == dec"8.99") +@with_context (Emax = 384, Emin = -383, precision = 4, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.006" == dec"8.994") +@with_context (Emax = 384, Emin = -383, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2.001" == dec"98.999") +@with_context (Emax = 384, Emin = -383, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.001" == dec"8.999") +@with_context (Emax = 384, Emin = -383, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.0006" == dec"8.9994") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2.0001" == dec"98.9999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.0001" == dec"8.9999") +@with_context (Emax = 384, Emin = -383, precision = 6, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.00006" == dec"8.99994") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2.00001" == dec"98.99999") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.00001" == dec"8.99999") +@with_context (Emax = 384, Emin = -383, precision = 7, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.000006" == dec"8.999994") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2.000001" == dec"98.999999") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.000001" == dec"8.999999") +@with_context (Emax = 384, Emin = -383, precision = 8, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.0000006" == dec"8.9999994") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"2.0000001" == dec"98.9999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.0000001" == dec"8.9999999") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"101" - dec"92.00000006" == dec"8.99999994") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-10" - dec"0" == dec"-0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-6" - dec"0" == dec"-0.056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-5" - dec"0" == dec"-0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-4" - dec"0" == dec"-5.6267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-3" - dec"0" == dec"-56.267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-2" - dec"0" == dec"-562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-1" - dec"0" == dec"-5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-56267e-0" - dec"0" == dec"-56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-10" - dec"0" == dec"-5e-10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-7" - dec"0" == dec"-5e-7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-6" - dec"0" == dec"-0.000005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-5" - dec"0" == dec"-0.00005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-4" - dec"0" == dec"-0.0005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e-1" - dec"0" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e0" - dec"0" == dec"-5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e1" - dec"0" == dec"-50") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e5" - dec"0" == dec"-500000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e8" - dec"0" == dec"-500000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e9" - dec"0" == dec"-5.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e10" - dec"0" == dec"-5.00000000e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e11" - dec"0" == dec"-5.00000000e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-5e100" - dec"0" == dec"-5.00000000e+100") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-10" == dec"0.0000056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-6" == dec"0.056267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-5" == dec"0.56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-4" == dec"5.6267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-3" == dec"56.267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-2" == dec"562.67") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-1" == dec"5626.7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-56267e-0" == dec"56267") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e-10" == dec"5e-10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e-7" == dec"5e-7") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e-6" == dec"0.000005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e-5" == dec"0.00005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e-4" == dec"0.0005") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e-1" == dec"0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e0" == dec"5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e1" == dec"50") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e5" == dec"500000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e8" == dec"500000000") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e9" == dec"5.00000000e+9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e10" == dec"5.00000000e+10") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e11" == dec"5.00000000e+11") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-5e100" == dec"5.00000000e+100") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+12" - dec"1" == dec"999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e+12" - dec"-1.11" == dec"1000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.11" - dec"-1e+12" == dec"1000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" - dec"-1e+12" == dec"999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7e+12" - dec"1" == dec"6999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"7e+12" - dec"-1.11" == dec"7000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.11" - dec"-7e+12" == dec"7000000000001.11") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1" - dec"-7e+12" == dec"6999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555563" == dec"1.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555562" == dec"1.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555561" == dec"1.00000000000001") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555560" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555559" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555558" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555557" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555556" == dec"1.00000000000000") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555555" == dec"0.999999999999999") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555554" == dec"0.999999999999998") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555553" == dec"0.999999999999997") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555552" == dec"0.999999999999996") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555551" == dec"0.999999999999995") +@with_context (Emax = 384, Emin = -383, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.444444444444444" - dec"-0.555555555555550" == dec"0.999999999999994") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.000000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.1" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.4" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.49" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.499999999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.5" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.500000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.500001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.51" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.6" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.9" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.99999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"0.999999999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"1" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"1.000000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"1.00001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"1.1" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.000000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.000001" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.1" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.4" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.49" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.499999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.499999999" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.5" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.500000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.500001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.51" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.6" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.9" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.99999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"0.999999999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"1" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"1.00000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"1.00001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"1.1" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"0.499999999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"0.5" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"0.500000001" == dec"123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0" == dec"123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.000000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.1" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.4" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.49" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.499999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.499999999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.5" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.500000001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.500001" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.51" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.6" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.9" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.99999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"0.999999999" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"1" == dec"123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"1.00000001" == dec"123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"1.00001" == dec"123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"1.1" == dec"123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.000000001" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.000001" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.4" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.49" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.499999" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.499999999" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.5" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.500000001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.500001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.51" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.6" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.9" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.99999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.999999999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.000000001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.1" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.000000001" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.000001" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.1" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.4" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.49" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.499999" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.499999999" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.5" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.500000001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.500001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.51" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.6" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.9" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.99999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.999999999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1.00000001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1.00001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"1.1" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.499999999" - dec"123456788" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.5" - dec"123456788" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"0.500000001" - dec"123456788" == dec"-123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0" - dec"123456789" == dec"-123456789") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.000000001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.000001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.1" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.4" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.49" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.499999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.499999999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.5" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.500000001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.500001" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.51" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.6" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.9" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.99999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"0.999999999" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"1" - dec"123456789" == dec"-123456788") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"1.00000001" - dec"123456789" == dec"-123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"1.00001" - dec"123456789" == dec"-123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"1.1" - dec"123456789" == dec"-123456787") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"123456788.1" == dec"0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"123456788.9" == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"123456789.1" == dec"-0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"123456789.5" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"123456789" - dec"123456789.9" == dec"-0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"123456788.1" == dec"0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"123456788.9" == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"123456789.1" == dec"-0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"123456789.5" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456789" - dec"123456789.9" == dec"-0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"123456787.1" == dec"0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"123456787.9" == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"123456788.1" == dec"-0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"123456788.5" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:Nearest}()) @test(dec"123456788" - dec"123456788.9" == dec"-0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"123456788.1" == dec"0.9") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"123456788.9" == dec"0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"123456789.1" == dec"-0.1") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"123456789.5" == dec"-0.5") +@with_context (Emax = 384, Emin = -383, precision = 9, rounding = RoundingMode{:ToZero}()) @test(dec"123456789" - dec"123456789.9" == dec"-0.9") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678900000" - dec"-9999999999999" == dec"2.23e+13") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"9999999999999" - dec"-12345678900000" == dec"2.23e+13") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" - dec"-3456" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" - dec"-3446" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" - dec"-3454" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12e+3" - dec"-3444" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3456" - dec"-12e+3" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3446" - dec"-12e+3" == dec"1.54e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3454" - dec"-12e+3" == dec"1.55e+4") +@with_context (Emax = 384, Emin = -383, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"3444" - dec"-12e+3" == dec"1.54e+4") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:ToZero}()) @test_throws(OverflowError, dec"1e+999999999" - dec"-9e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:ToZero}()) @test_throws(OverflowError, dec"9e+999999999" - dec"-1e+999999999") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1.1e-999999999" - dec"-1e-999999999" == dec"-1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e-999999999" - dec"+1.1e-999999999" == dec"-1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"+1.1e-999999999" - dec"+1e-999999999" == dec"1e-1000000000") +@with_context (Emax = 999999999, Emin = -999999999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"-1e-999999999" - dec"-1.1e-999999999" == dec"1e-1000000000") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678000" - dec"0" == dec"1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"12345678000" == dec"-1.23456780e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567800" - dec"0" == dec"1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567800" == dec"-1.23456780e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567890" - dec"0" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567890" == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567891" - dec"0" == dec"1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567891" == dec"-1.23456789e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678901" - dec"0" == dec"1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"12345678901" == dec"-1.23456789e+10") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567896" - dec"0" == dec"1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 9, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567896" == dec"-1.23456790e+9") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678000" - dec"0" == dec"12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"12345678000" == dec"-12345678000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567800" - dec"0" == dec"1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567800" == dec"-1234567800") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567890" - dec"0" == dec"1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567890" == dec"-1234567890") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567891" - dec"0" == dec"1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567891" == dec"-1234567891") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"12345678901" - dec"0" == dec"12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"12345678901" == dec"-12345678901") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1234567896" - dec"0" == dec"1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1234567896" == dec"-1234567896") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.e-3" - dec"1.002" == dec"-1.000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.0e-3" - dec"1.002" == dec"-1.0000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.00e-3" - dec"1.0020" == dec"-1.00000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.000e-3" - dec"1.00200" == dec"-1.000000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.0000e-3" - dec"1.002000" == dec"-1.0000000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.00000e-3" - dec"1.0020000" == dec"-1.00000000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.000000e-3" - dec"1.00200000" == dec"-1.000000000") +@with_context (Emax = 999, Emin = -999, precision = 15, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"2.0000000e-3" - dec"1.002000000" == dec"-1.0000000000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1.00e-999" == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.1e-999" == dec"-1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.10e-999" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.100e-999" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.01e-999" == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.999e-999" == dec"-1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.099e-999" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.009e-999" == dec"-1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.001e-999" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.0009e-999" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"0.0001e-999" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-1.00e-999" == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.1e-999" == dec"1e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.10e-999" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.100e-999" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.01e-999" == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.999e-999" == dec"1.00e-999") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.099e-999" == dec"1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.009e-999" == dec"1e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.001e-999" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.0009e-999" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"-0.0001e-999" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.00e-999" - dec"0.1e-999" == dec"9.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.1e-999" - dec"0.1e-999" == dec"0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.10e-999" - dec"0.1e-999" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.100e-999" - dec"0.1e-999" == dec"0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.01e-999" - dec"0.1e-999" == dec"-9e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.999e-999" - dec"0.1e-999" == dec"9.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.099e-999" - dec"0.1e-999" == dec"-0e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.009e-999" - dec"0.1e-999" == dec"-9e-1001") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.001e-999" - dec"0.1e-999" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0009e-999" - dec"0.1e-999" == dec"-1.0e-1000") +@with_context (Emax = 999, Emin = -999, precision = 3, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0.0001e-999" - dec"0.1e-999" == dec"-1.0e-1000") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1.52444e-80" == dec"-1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1.52445e-80" == dec"-1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"0" - dec"1.52446e-80" == dec"-1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52444e-80" - dec"0" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52445e-80" - dec"0" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.52446e-80" - dec"0" == dec"1.524e-80") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"1.2345671e-80" == dec"0e-83") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"1.2345618e-80" == dec"0e-83") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"1.2345178e-80" == dec"0e-83") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"1.2341678e-80" == dec"0e-83") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"1.2315678e-80" == dec"3e-83") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"1.2145678e-80" == dec"2.0e-82") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"1.1345678e-80" == dec"1.00e-81") +@with_context (Emax = 79, Emin = -79, precision = 5, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1.2345678e-80" - dec"0.2345678e-80" == dec"1.000e-80") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" - dec"120e-2" == dec"0.10") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" - dec"12e-1" == dec"0.10") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"130e-2" - dec"1e0" == dec"0.30") +@with_context (Emax = 6144, Emin = -6143, precision = 34, rounding = RoundingMode{:NearestTiesAway}()) @test(dec"1e2" - dec"1e4" == dec"-9.9e+3") end diff --git a/test/runtests.jl b/test/runtests.jl index 1be97b4..083fa01 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -32,6 +32,7 @@ include("test_show.jl") include("dectests/test_min.jl") include("dectests/test_minus.jl") include("dectests/test_multiply.jl") + include("dectests/test_normalize.jl") include("dectests/test_plus.jl") include("dectests/test_subtract.jl") end