delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/14/06:00:28

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: zandro_arceo AT support DOT trendmicro DOT com (IeperNaum)
Newsgroups: comp.os.msdos.djgpp
Subject: Newbie Division Operator Question
Date: 14 Mar 2002 02:57:07 -0800
Organization: http://groups.google.com/
Lines: 12
Message-ID: <d26d20a2.0203140257.6365ae0e@posting.google.com>
NNTP-Posting-Host: 202.138.160.7
X-Trace: posting.google.com 1016103427 776 127.0.0.1 (14 Mar 2002 10:57:07 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 14 Mar 2002 10:57:07 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

#define __int64 long long

unsigned __int64 x = 268486768;

unsigned __int64 y = x/10000000;

i expect y = 26 
but y = 4065811060.

can anybody please explain to me why?

thanks.

- Raw text -


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