Article View: comp.sys.ibm.pc.programmer
Article #1542Turbo C v2.0
From: Paul Petersen
Date: Mon, 12 Mar 1990 18:31
Date: Mon, 12 Mar 1990 18:31
18 lines
1372 bytes
1372 bytes
I've been doing some C programming on the IBM PC lately have have run into
a snag. Unsigned longs do not seem to be supported. I've changed into the
HUGE mode to get 32 bit int's, but any variables of type unsigned long which
have the high bit set (i.e. would be negative if just longs) do not do the
right thing when used with ">>", "/", or "%". I've reported this problem
to Borland, but have not gotten a patch/work-around yet.
Has anyone here run into this problem, and found a workaround other that
coding subroutines to do it the right way?
-Paul Petersen
University of Illinois, Urbana-Champaign
Center for Supercomputing Research and Development
UUCP: {uunet,convex}!uiucuxc!uicsrd!petersen
INTERNET: petersen@uicsrd.csrd.uiuc.edu
Technical Details
Message-ID:
<1990Mar12.183115.18170@ux1.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uicsrd.csrd.uiuc.edu!petersenReferences:
<9003091838.AA21834@decwrl.dec.com> <25F9EA26.21884@maccs.dcss.mcmaster.ca> <1990Mar12.005855.1194@holos0.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!uicsrd.csrd.uiuc.edu!petersen From: petersen@uicsrd.csrd.uiuc.edu (Paul Petersen) Newsgroups: comp.sys.ibm.pc.programmer Subject: Turbo C v2.0 Message-ID: <1990Mar12.183115.18170@ux1.cso.uiuc.edu> Date: 12 Mar 90 18:31:15 GMT References: <9003091838.AA21834@decwrl.dec.com> <25F9EA26.21884@maccs.dcss.mcmaster.ca> <1990Mar12.005855.1194@holos0.uucp> Sender: news@ux1.cso.uiuc.edu (News) Reply-To: petersen@uicsrd.csrd.uiuc.edu (Paul Petersen) Organization: Center for Supercomputing R&D (Cedar), U. of Ill. Lines: 18