Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!phil From: phil@ux1.cso.uiuc.edu (Phil Howard KA9WGN) Newsgroups: comp.lang.c Subject: Re: 64 bit architectures and C/C++ Message-ID: <1991May7.233856.27444@ux1.cso.uiuc.edu> Date: 7 May 91 23:38:56 GMT References: <16023@smoke.brl.mil> <1991May2.033545.15051@athena.mit.edu> <16036@smoke.brl.mil> <1991May6.232116.11401@sq.sq.com> Organization: University of Illinois at Urbana Lines: 16 msb@sq.sq.com (Mark Brader) writes: >Now, what would we like to happen if a program that assumed 64-bit >integers existed was ported to a machine where they didn't? We would How about coding it so that if a symbol such as "LONGLONG64" is not defined conditional compilation will fall back to code that invokes a bignum package for 64 bit ints. Then simply -DLONGLONG64 will get the good code. I just picked LONGLONG64 not knowing if there is a better thing to use. -- /***************************************************************************\ / Phil Howard -- KA9WGN -- phil@ux1.cso.uiuc.edu | Guns don't aim guns at \ \ Lietuva laisva -- Brivu Latviju -- Eesti vabaks | people; CRIMINALS do!! / \***************************************************************************/