Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #39300
| From | Bernd Paysan <bernd.paysan@gmx.de> |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: RfD: 2s-Complement Wrap-Around Integers |
| Date | 2015-05-25 21:45 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <mjvu2t$a02$1@dont-email.me> (permalink) |
| References | <2015May25.185819@mips.complang.tuwien.ac.at> <mjvl68$6om$1@dont-email.me> |
Alex McDonald wrote: > on 25/05/2015 09:58:19, anton ertl wrote: >> Problem >> >> Many programs depend on 2s-complement representation of negative >> integers (e.g., assuming that TRUE is -1), and on wraparound behaviour >> on integer overflow, and should declare an environmental dependency on >> these features. These programs should become unconditionally standard >> programs. >> > > TRUE NEGATE I suggest: TRUE ABS short form of Forth syntax for "absolutely true", and also incidently +1 ;-). -- Bernd Paysan "If you want it done right, you have to do it yourself" net2o ID: kQusJzA;7*?t=uy@X}1GWr!+0qqp_Cn176t4(dQ* http://bernd-paysan.de/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
RfD: 2s-Complement Wrap-Around Integers anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-05-25 16:58 +0000
Re: RfD: 2s-Complement Wrap-Around Integers "Alex McDonald" <blog@rivadpm.com> - 2015-05-25 10:13 -0700
Re: RfD: 2s-Complement Wrap-Around Integers Bernd Paysan <bernd.paysan@gmx.de> - 2015-05-25 21:45 +0200
2nd RfD: 2s-Complement Wrap-Around Integers anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2015-06-03 09:05 +0000
csiph-web