summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2019-08-21 13:59:53 (GMT)
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-08-22 13:25:47 (GMT)
commita33bad2db8baccdf1d8f7c40bac7039c949c8190 (patch)
treed76bbd613853738a8ccb4b2fd74c272004d7abe8
parentd505524857e4a4901c8972afd17eb4ea346d1234 (diff)
downloadghc-a33bad2db8baccdf1d8f7c40bac7039c949c8190.zip
ghc-a33bad2db8baccdf1d8f7c40bac7039c949c8190.tar.gz
ghc-a33bad2db8baccdf1d8f7c40bac7039c949c8190.tar.bz2
Doc: add Haddocks for quotRemWord2 primop
-rw-r--r--compiler/prelude/primops.txt.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index 1e87a00..47a78e2 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -590,10 +590,10 @@ primop WordQuotRemOp "quotRemWord#" GenPrimOp
Word# -> Word# -> (# Word#, Word# #)
with can_fail = True
--- Takes high word of dividend, then low word of dividend, then divisor.
--- Requires that high word is not divisible by divisor.
primop WordQuotRem2Op "quotRemWord2#" GenPrimOp
Word# -> Word# -> Word# -> (# Word#, Word# #)
+ { Takes high word of dividend, then low word of dividend, then divisor.
+ Requires that high word < divisor.}
with can_fail = True
primop AndOp "and#" Dyadic Word# -> Word# -> Word#