diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-05-09 16:01:22 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-05-09 16:01:44 -0400 |
commit | 41d99f09e14b703b8bd864d32889a80c4110c559 (patch) | |
tree | bcc290cfbe6f1391d94db42ac64a6271b914b582 | |
parent | 67072c31d8b6ce4f0de79fa52bc3e5cdd5a495c6 (diff) | |
download | haskell-wip/T20424.tar.gz |
testsuite: Add test for #20424wip/T20424
-rw-r--r-- | testsuite/tests/numeric/should_run/T20424.hs | 5 | ||||
-rw-r--r-- | testsuite/tests/numeric/should_run/T20424.stdout | 4 | ||||
-rw-r--r-- | testsuite/tests/numeric/should_run/all.T | 1 |
3 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/numeric/should_run/T20424.hs b/testsuite/tests/numeric/should_run/T20424.hs new file mode 100644 index 0000000000..bc8e2c51ba --- /dev/null +++ b/testsuite/tests/numeric/should_run/T20424.hs @@ -0,0 +1,5 @@ +main :: IO () +main = do + print $ (asinh 0 :: Double) + print $ (atanh (-0) :: Double) + print $ (asinh 1e300 :: Double) diff --git a/testsuite/tests/numeric/should_run/T20424.stdout b/testsuite/tests/numeric/should_run/T20424.stdout new file mode 100644 index 0000000000..60a062b2c6 --- /dev/null +++ b/testsuite/tests/numeric/should_run/T20424.stdout @@ -0,0 +1,4 @@ +0.0 +-0.0 +691.4686750787736 + diff --git a/testsuite/tests/numeric/should_run/all.T b/testsuite/tests/numeric/should_run/all.T index 68888545f8..2ef0b0ec14 100644 --- a/testsuite/tests/numeric/should_run/all.T +++ b/testsuite/tests/numeric/should_run/all.T @@ -78,3 +78,4 @@ test('T19931', normal, compile_and_run, ['-O2']) test('IntegerToFloat', normal, compile_and_run, ['']) test('T20291', normal, compile_and_run, ['']) +test('T20424', normal, compile_and_run, ['']) |