From 674ed3b773ad9249983cb47f986dcf1537420e68 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Fri, 24 Feb 2017 18:49:49 +0100 Subject: Add a test with denormals for #293 --- testsuite/gna/issue295/repro.vhdl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'testsuite/gna/issue295') diff --git a/testsuite/gna/issue295/repro.vhdl b/testsuite/gna/issue295/repro.vhdl index d1b8b6cc4..ebcb8677b 100644 --- a/testsuite/gna/issue295/repro.vhdl +++ b/testsuite/gna/issue295/repro.vhdl @@ -9,6 +9,8 @@ begin assert 2.0**(-1024) > 0.0 report "This fails" severity note; assert 2.0**(-1024) = 0.0 report "This passes" severity failure; + assert (2.0**(-1023))/2 > 0.0 report "This fails" severity error; + wait; end process test_runner; end; -- cgit v1.2.3