diff --git a/src/V3Number.cpp b/src/V3Number.cpp index 85b61e913..3e139da99 100644 --- a/src/V3Number.cpp +++ b/src/V3Number.cpp @@ -27,7 +27,7 @@ #include #include -#define MAX_SPRINTF_DOUBLE_SIZE 100 // Maximum characters with a sprintf %e/%f/%g (probably < 30) +#define MAX_SPRINTF_DOUBLE_SIZE 1100 // Maximum characters with a sprintf %e/%f/%g (really 1079) // Number operations build output in-place so can't call e.g. foo.opX(foo) #define NUM_ASSERT_OP_ARGS1(arg1) \ diff --git a/test_regress/t/t_lint_comb_use.pl b/test_regress/t/t_lint_comb_use.pl index 588f453b4..9c58f64a3 100755 --- a/test_regress/t/t_lint_comb_use.pl +++ b/test_regress/t/t_lint_comb_use.pl @@ -12,7 +12,6 @@ scenarios(vlt => 1); lint( verilator_flags2 => ["--lint-only --bbox-sys"], - fails => 0, ); ok(1); diff --git a/test_regress/t/t_lint_unused.pl b/test_regress/t/t_lint_unused.pl index b433dd82b..ab8a6023e 100755 --- a/test_regress/t/t_lint_unused.pl +++ b/test_regress/t/t_lint_unused.pl @@ -12,7 +12,6 @@ scenarios(vlt => 1); lint( verilator_flags2 => ["--lint-only --bbox-sys --bbox-unsup -Wall -Wno-DECLFILENAME"], - fails => 0, ); ok(1); diff --git a/test_regress/t/t_lint_unused_iface.pl b/test_regress/t/t_lint_unused_iface.pl index 3645f9162..3679f5264 100755 --- a/test_regress/t/t_lint_unused_iface.pl +++ b/test_regress/t/t_lint_unused_iface.pl @@ -12,7 +12,6 @@ scenarios(vlt => 1); lint( verilator_flags2 => ["--lint-only -Wall -Wno-DECLFILENAME"], - fails => 0, ); ok(1); diff --git a/test_regress/t/t_math_real.v b/test_regress/t/t_math_real.v index 17bc0221c..167bd9fbf 100644 --- a/test_regress/t/t_math_real.v +++ b/test_regress/t/t_math_real.v @@ -85,6 +85,9 @@ module t (/*AUTOARG*/ // bug r = 32'bxz000_111; // 7 accoding to IEEE if (r != 7) $stop; + // bug + b = 64'h7fe8000000000000; + $display("%6.3f", $bitstoreal(b)); end // Test loop diff --git a/test_regress/t/t_trace_flag_off.pl b/test_regress/t/t_trace_flag_off.pl index 681e3d644..32a214e08 100755 --- a/test_regress/t/t_trace_flag_off.pl +++ b/test_regress/t/t_trace_flag_off.pl @@ -16,7 +16,6 @@ compile( execute( expect_filename => $Self->{golden_filename}, - fails => 0, ); ok(1);