delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/03/05/07:16:05

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 64 bit functions in DJGPP
Date: 5 Mar 2005 12:06:30 GMT
Lines: 18
Message-ID: <38tlm6F5q8ntcU4@news.dfncis.de>
References: <1109886403 DOT 553027 DOT 63290 AT g14g2000cwa DOT googlegroups DOT com>
X-Trace: news.dfncis.de aVhquGDkIAt16FA6X3X2wgjewSGt+0681zi6kYXK9Or/wA28M17WQJnFF0
X-Orig-Path: not-for-mail
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

arizvi <ahmadwaris AT hotmail DOT com> wrote:

> I need to add, compare and divide two 64-bit numbers (long long).

Then just do exactly that.

> It is my understanding that the + and < operators used for integers
> do not work for long long's.

That understanding is wrong --- you're underestimating the amount of
difference between C and assembly programming.

By the above logic, + and < should fail on floating point operands,
too.

-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019