summaryrefslogtreecommitdiff
path: root/testsuite/tests/numeric
diff options
context:
space:
mode:
authorBrian Wignall <brianwignall@gmail.com>2019-12-19 09:11:42 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-04 15:55:06 -0500
commit3c9dc06ba2034e867c9169e60e854539875654fd (patch)
treef06e599ca380ee9ad599918b2ae4c78cd4afce2b /testsuite/tests/numeric
parentb2e0323f318959c879629ef277f6433b44473c4b (diff)
downloadhaskell-3c9dc06ba2034e867c9169e60e854539875654fd.tar.gz
Fix typos, via a Levenshtein-style corrector
Diffstat (limited to 'testsuite/tests/numeric')
-rw-r--r--testsuite/tests/numeric/should_run/T12136.hs2
-rw-r--r--testsuite/tests/numeric/should_run/arith018.hs2
-rw-r--r--testsuite/tests/numeric/should_run/numrun014.hs4
-rw-r--r--testsuite/tests/numeric/should_run/numrun014.stdout4
4 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/tests/numeric/should_run/T12136.hs b/testsuite/tests/numeric/should_run/T12136.hs
index 1f967a84bd..999ffa02bf 100644
--- a/testsuite/tests/numeric/should_run/T12136.hs
+++ b/testsuite/tests/numeric/should_run/T12136.hs
@@ -15,5 +15,5 @@ negativeBigInteger :: Integer
negativeBigInteger = 1 - (1 `shiftL` (64 * 2))
main = do
- -- rigt shift by GMP_LIMB_BITS
+ -- right shift by GMP_LIMB_BITS
print $ negativeBigInteger `shiftR` 64
diff --git a/testsuite/tests/numeric/should_run/arith018.hs b/testsuite/tests/numeric/should_run/arith018.hs
index b73fd5a685..83c822ef3a 100644
--- a/testsuite/tests/numeric/should_run/arith018.hs
+++ b/testsuite/tests/numeric/should_run/arith018.hs
@@ -1,5 +1,5 @@
-- exposes a bug in the native code generator in GHC 6.4.1. Division by
--- a power of 2 was being mis-optimsed to a direct shift.
+-- a power of 2 was being mis-optimised to a direct shift.
main = do
print (map f4 [(-20) .. (-1)])
diff --git a/testsuite/tests/numeric/should_run/numrun014.hs b/testsuite/tests/numeric/should_run/numrun014.hs
index 207e7663c0..34a316e789 100644
--- a/testsuite/tests/numeric/should_run/numrun014.hs
+++ b/testsuite/tests/numeric/should_run/numrun014.hs
@@ -69,7 +69,7 @@ main = do putStrLn "=== Subtraction ==="
print (neginf + nan)
print (neginf + inf)
print (neginf + neginf)
- putStrLn "=== Mutiplication ==="
+ putStrLn "=== Multiplication ==="
print (zero * zero)
print (zero * one)
print (zero * nan)
@@ -156,7 +156,7 @@ main = do putStrLn "=== Subtraction ==="
print (fneginf + fnan)
print (fneginf + finf)
print (fneginf + fneginf)
- putStrLn "=== Mutiplication ==="
+ putStrLn "=== Multiplication ==="
print (fzero * fzero)
print (fzero * fone)
print (fzero * fnan)
diff --git a/testsuite/tests/numeric/should_run/numrun014.stdout b/testsuite/tests/numeric/should_run/numrun014.stdout
index 3bcfad620d..82df93f5b0 100644
--- a/testsuite/tests/numeric/should_run/numrun014.stdout
+++ b/testsuite/tests/numeric/should_run/numrun014.stdout
@@ -32,7 +32,7 @@ NaN
NaN
NaN
-Infinity
-=== Mutiplication ===
+=== Multiplication ===
0.0
0.0
NaN
@@ -118,7 +118,7 @@ NaN
NaN
NaN
-Infinity
-=== Mutiplication ===
+=== Multiplication ===
0.0
0.0
NaN