From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,4873305131bf4d94 X-Google-Attributes: gid103376,public X-Google-Thread: 10c950,90121986704b5776 X-Google-Attributes: gid10c950,public X-Google-Thread: fdb77,4873305131bf4d94 X-Google-Attributes: gidfdb77,public X-Google-Thread: 109fba,4873305131bf4d94 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,4873305131bf4d94 X-Google-Attributes: gid1014db,public X-Google-Thread: 10261c,90121986704b5776 X-Google-Attributes: gid10261c,public From: seebs@plethora.net (Peter Seebach) Subject: Re: Yet another stupid language war (was: ... the only languages you need!!) Date: 1997/10/31 Message-ID: <63d7fe$e4o$2@darla.visi.com>#1/1 X-Deja-AN: 287034703 References: <34557f2b.1934172@news.mindspring.com> <345947D2.D20EF8E9@horvath.com> <63d34m$ap7$1@darla.visi.com> <01bce627$82afbec0$400d6dce@my-pc.neosoft.com> X-Complaints-To: news@visi.com X-Trace: darla.visi.com 878321966 14488 205.166.146.1 (31 Oct 1997 18:19:26 GMT) Organization: Plethora Internet Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.java.advocacy,comp.lang.pascal.ansi-iso,comp.lang.pascal.misc Date: 1997-10-31T00:00:00+00:00 List-Id: In article <01bce627$82afbec0$400d6dce@my-pc.neosoft.com>, Pat Rogers wrote: >Size yes, range no. It is a shame that one cannot specify the range of an >integer type, or the accuracy of a floating point type in C, for the sake >of portability. It is nice to have the compiler tell you that your >application requirements cannot be met, rather than not knowing unless a >(possibly obscure) bug is detected. This is true; C9X provides ways to do this for some common cases. (Regrettably, IMHO, none of the "give me N bit integers, no matter how slow they are" proposals made it. I'd sort of like these...) So, in C9X, if you want a 32 bit int, you can use 'int32_t'. If there isn't one, the compiler will let you know. -s -- seebs@plethora.net -- Speaking for myself. No spam please. Copyright 1997. All rights reserved. This was not written by my cat. C/Unix wizard - send mail for help! -- - More Net, Less Spam!