Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build on 64-bit Linux #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix build on 64-bit Linux #42

wants to merge 1 commit into from

Conversation

hhtat
Copy link

@hhtat hhtat commented Jun 13, 2020

Some minor changes need to get lcc compiling under 64-bit Linux. I verified both test and triple targets on Ubuntu 18.04 (gcc 7.5.0). The paranoia test diff ran into two minor discrepancies (below).

diff --git a/x86/linux/tst/paranoia.1bk b/x86/linux/tst/paranoia.1bk
index 6639dd3..6589632 100755
--- a/x86/linux/tst/paranoia.1bk
+++ b/x86/linux/tst/paranoia.1bk
@@ -121,8 +121,7 @@ Testing if sqrt(X * X) == X for 20 Integers X.
 Test for sqrt monotonicity.
 sqrt has passed a test for Monotonicity.
 Testing whether sqrt is rounded or chopped.
-Square root is neither chopped nor correctly rounded.
-Observed errors run from -5.0000000e-01 to 5.0000000e-01 ulps.
+Square root appears to be correctly rounded.
 
 Diagnosis resumes after milestone Number 90          Page: 7
 
@@ -172,7 +171,7 @@ Diagnosis resumes after milestone Number 190          Page: 9
 What message and/or values does Division by Zero produce?
     Trying to compute 1 / 0 produces ...  inf .
 
-    Trying to compute 0 / 0 produces ...  nan .
+    Trying to compute 0 / 0 produces ...  -nan .
 
 Diagnosis resumes after milestone Number 220          Page: 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant