Article View: comp.sys.powerpc
Article #14Re: 64-bit
From: Nathaniel P Woods
Date: Mon, 13 Nov 1995 20:43
Date: Mon, 13 Nov 1995 20:43
14 lines
1303 bytes
1303 bytes
>It's my opinion that int's should be optionally postfixed with their >size... >ie. stdlib.h should define int8, int16, int32, int64. >"int" alone should be whatever size the processor deals with best, and >"short" and "long" can be whatever the compiler vendor deems best. It isn't that hard to implement these types, in fact, most companies that do cross platform work do something like that. You can even implement types that are not supported on a given platform (i.e. int64 on all platforms save OSF/1) using classes and operator overloading in C++. All you have to do is make your own header and have separate versions of this header for different platforms. Nate
Technical Details
Message-ID:
<skdurLW00iV8I6zLNB@andrew.cmu.edu>Path:
arc1-ca.pugleaf.net!andrew.cmu.edu!nw2d+References:
<MEISSNER.95Nov9091407@tiktok.cygnus.com> <47tbel$tta@rs18.hrz.th-darmstadt.de> <483pe6$aft@spool.cs.wisc.edu> <483s5o$cf7@server05.icaen.uiowa.edu> <wkdrSOS00YUsM7OxBb@andrew.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!andrew.cmu.edu!nw2d+ From: Nathaniel P Woods <nw2d+@andrew.cmu.edu> Newsgroups: comp.sys.powerpc,comp.lang.c Subject: Re: 64-bit Date: Mon, 13 Nov 1995 15:43:03 -0500 Organization: Sophomore, Electrical and Computer Engineering, Carnegie Mellon, Pittsburgh, PA Message-ID: <skdurLW00iV8I6zLNB@andrew.cmu.edu> References: <MEISSNER.95Nov9091407@tiktok.cygnus.com> <47tbel$tta@rs18.hrz.th-darmstadt.de> <483pe6$aft@spool.cs.wisc.edu> <483s5o$cf7@server05.icaen.uiowa.edu> <wkdrSOS00YUsM7OxBb@andrew.cmu.edu> NNTP-Posting-Host: po5.andrew.cmu.edu In-Reply-To: <wkdrSOS00YUsM7OxBb@andrew.cmu.edu>