Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | Chris Gray <cg@GraySage.com> |
|---|---|
| Newsgroups | comp.arch |
| Subject | Re: ffs16 |
| References | <jn1tku$pga$1@reader1.panix.com> <2785037.564.1335211265328.JavaMail.geo-discussion-forums@vbfx1> <c6ch69-qrf2.ln1@ntp6.tmsw.no> |
| Message-ID | <87zka0syyg.fsf@GraySage.com> (permalink) |
| Date | 2012-04-24 13:37 -0600 |
Terje Mathisen <"terje.mathisen at tmsw.no"> writes: > I live on the same page as you, I hate the fact that C has a nice > short word for signed integers and a much longer one for unsigned. I've pinned that page and spin on it all the time. :-) > Even with the newer sized types, I still need to add an extra 'u' in > front of the signed type name. :-( > Personally, I try to newer use signed ints unless it is really required. In Zed, the types are 'sint' and 'uint'. I didn't think there was any way it would be safe to use "int" for the unsigned variant. Also, trying to use "nat0" (Natural numbers plus 0) probably wouldn't work well either - too many people would glance at code and discard it immediately. I can't think of any use of 'sint' in the compiler other than to implement 'sint' stuff. And, while I'm here... My two languages for the IBM 360/370, called QD (Quick and Dirty) and QC, did not use any of the decimal arithmetic stuff. They both had language constructs to generate MVCL instructions, however. No-one outside of the U of Alberta would have heard of those languages, and trust me, you don't want to know. -- Chris Gray
Back to comp.arch | Previous | Next — Previous in thread | Find similar | Unroll thread
ffs16 jgk@panix.com (Joe keane) - 2012-04-22 21:36 +0000
Re: ffs16 Keith Thompson <kst-u@mib.org> - 2012-04-22 15:23 -0700
Re: ffs16 Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-22 20:37 -0400
Re: ffs16 Philip Lantz <prl@canterey.us> - 2012-04-24 06:36 -0700
Re: ffs16 Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-24 20:32 -0400
Re: ffs16 Philip Lantz <prl@canterey.us> - 2012-04-25 00:30 -0700
Re: ffs16 Terje Mathisen <"terje.mathisen at tmsw.no"> - 2012-04-23 16:22 +0200
Re: ffs16 Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-23 21:46 -0400
Re: ffs16 Terje Mathisen <"terje.mathisen at tmsw.no"> - 2012-04-24 14:16 +0200
Re: ffs16 Eric Sosman <esosman@ieee-dot-org.invalid> - 2012-04-24 20:40 -0400
Re: ffs16 jgk@panix.com (Joe keane) - 2012-04-24 19:06 +0000
Re: ffs16 Terje Mathisen <"terje.mathisen at tmsw.no"> - 2012-04-25 00:38 +0200
Re: ffs16 jgk@panix.com (Joe keane) - 2012-04-25 20:08 +0000
Re: ffs16 "James Van Buskirk" <not_valid@comcast.net> - 2012-04-25 15:06 -0600
Re: ffs16 "James Van Buskirk" <not_valid@comcast.net> - 2012-04-25 16:30 -0600
Re: ffs16 jgk@panix.com (Joe keane) - 2012-04-25 21:25 +0000
Re: ffs16 Terje Mathisen <"terje.mathisen at tmsw.no"> - 2012-04-26 01:38 +0200
Re: ffs16 jgk@panix.com (Joe keane) - 2012-04-26 19:34 +0000
Re: ffs16 jgk@panix.com (Joe keane) - 2012-04-26 20:41 +0000
Re: ffs16 Terje Mathisen <"terje.mathisen at tmsw.no"> - 2012-04-27 02:47 +0200
Re: ffs16 MitchAlsup <MitchAlsup@aol.com> - 2012-04-23 13:01 -0700
Re: ffs16 Terje Mathisen <"terje.mathisen at tmsw.no"> - 2012-04-24 03:28 +0200
Re: ffs16 nmm1@cam.ac.uk - 2012-04-24 09:15 +0100
Re: ffs16 Chris Gray <cg@GraySage.com> - 2012-04-24 13:37 -0600
csiph-web