Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
GHC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexander Kaznacheev
GHC
Commits
e20dfbcd
Commit
e20dfbcd
authored
12 years ago
by
Ian Lynagh
Browse files
Options
Downloads
Patches
Plain Diff
Expose __word_encode{Float,Double}; fixes integer-simple build
parent
a4cc7b11
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
includes/rts/PrimFloat.h
+2
-0
2 additions, 0 deletions
includes/rts/PrimFloat.h
rts/StgPrimFloat.h
+1
-3
1 addition, 3 deletions
rts/StgPrimFloat.h
with
3 additions
and
3 deletions
includes/rts/PrimFloat.h
+
2
−
0
View file @
e20dfbcd
...
...
@@ -14,5 +14,7 @@
StgDouble
__int_encodeDouble
(
I_
j
,
I_
e
);
StgFloat
__int_encodeFloat
(
I_
j
,
I_
e
);
StgDouble
__word_encodeDouble
(
W_
j
,
I_
e
);
StgFloat
__word_encodeFloat
(
W_
j
,
I_
e
);
#endif
/* RTS_PRIMFLOAT_H */
This diff is collapsed.
Click to expand it.
rts/StgPrimFloat.h
+
1
−
3
View file @
e20dfbcd
...
...
@@ -14,10 +14,8 @@
/* grimy low-level support functions defined in StgPrimFloat.c */
void
__decodeDouble_2Int
(
I_
*
man_sign
,
W_
*
man_high
,
W_
*
man_low
,
I_
*
exp
,
StgDouble
dbl
);
void
__decodeFloat_Int
(
I_
*
man
,
I_
*
exp
,
StgFloat
flt
);
StgDouble
__word_encodeDouble
(
W_
j
,
I_
e
);
StgFloat
__word_encodeFloat
(
W_
j
,
I_
e
);
// __int
_encodeDouble and __int
_encodeFloat are public, declared in
// __
{
int
,word}
_encode
{
Float
,Double}
are public, declared in
// includes/rts/PrimFloat.h.
#include
"EndPrivate.h"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment