From: <cej@gli.cas.cz>
To: <9fans@cse.psu.edu>
Subject: [9fans] 8c (pcc)
Date: Fri, 21 Jan 2005 08:18:36 +0100 [thread overview]
Message-ID: <ACCF003CBA3D09458207DB0CB86AD17D0663D3@XMAIL.asuch.cas.cz> (raw)
//1:
result = MIN(tuplerow1[col][plane1], tuplerow2[col][plane2]);
//2:
x=tuplerow1[col][plane1];
y=tuplerow2[col][plane2];
result = MIN(x, y);
if((int)tuplerow1[col][plane1] > (int)tuplerow2[col][plane2] )
result = (int)tuplerow1[col][plane1] - (int)tuplerow2[col][plane2];
else
result = (int)tuplerow2[col][plane2] - (int)tuplerow1[col][plane1];
//1:
result = (int)tuplerow1[col][plane1] > (int)tuplerow2[col][plane2] ? (int)tuplerow1[col][plane1] - (int)tuplerow2[col][plane2] : (int)tuplerow2[col][plane2] - (int)tuplerow1[col][plane1];
//2:
if((int)tuplerow1[col][plane1] > (int)tuplerow2[col][plane2] )
result = (int)tuplerow1[col][plane1] - (int)tuplerow2[col][plane2];
else
result = (int)tuplerow2[col][plane2] - (int)tuplerow1[col][plane1];
1's die with error message : <eof> out of fixed registers, while 2's are OK.
Could someone explain, why?
Thanks, regards,
++pac.
next reply other threads:[~2005-01-21 7:18 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-21 7:18 cej [this message]
2005-01-21 7:27 ` Russ Cox
2005-01-21 22:42 ` Bruce Ellis
2005-01-23 20:35 ` Bruce Ellis
2005-02-07 7:13 [9fans] 8c(pcc) tapique
2005-02-08 4:55 ` Russ Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ACCF003CBA3D09458207DB0CB86AD17D0663D3@XMAIL.asuch.cas.cz \
--to=cej@gli.cas.cz \
--cc=9fans@cse.psu.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).