Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
8b41b28f
Commit
8b41b28f
authored
May 04, 1999
by
sof
Browse files
[project @ 1999-05-04 08:58:18 by sof]
integer2Int# isn't sign preserving any longer, but modulo maxBound
parent
539d72f6
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/includes/PrimOps.h
View file @
8b41b28f
/* -----------------------------------------------------------------------------
* $Id: PrimOps.h,v 1.2
6
1999/0
4/27 12:32
:1
5
s
imonm
Exp $
* $Id: PrimOps.h,v 1.2
7
1999/0
5/04 08:58
:1
8
s
of
Exp $
*
* (c) The GHC Team, 1998-1999
*
...
...
@@ -312,7 +312,7 @@ typedef union {
arg._mp_alloc = ((StgArrWords *)da)->words; \
arg._mp_d = (unsigned long int *) (BYTE_ARR_CTS(da)); \
\
(r) = RET_PRIM_STGCALL1(I_,mpz_get_
s
i,&arg); \
(r) = RET_PRIM_STGCALL1(I_,mpz_get_
u
i,&arg); \
}
#define integer2Wordzh(r, sa,da) \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment