Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #91427

Re: bit value of a negative number

From Ike Naar <ike@iceland.freeshell.org>
Newsgroups comp.lang.c
Subject Re: bit value of a negative number
Date 2016-07-31 20:46 +0000
Organization A noiseless patient Spider
Message-ID <slrn3vfsnpsotb.m4v.ike@iceland.freeshell.org> (permalink)
References <159d5df7-d640-40b1-9866-2bb16d7769ee@googlegroups.com> <87a8gzxv8b.fsf@bsb.me.uk> <punning-20160730120244@ram.dialup.fu-berlin.de> <8737mrxlbg.fsf@bsb.me.uk> <eea0f63d-7206-406d-a73f-b3f15be88dda@googlegroups.com>

Show all headers | View raw


On 2016-07-31, supercat@casperkitty.com <supercat@casperkitty.com> wrote:
> On Saturday, July 30, 2016 at 9:16:59 AM UTC-5, Ben Bacarisse wrote:
>> They take unspecified values.  Some people have, I think, mistakenly
>> taken this to mean the action is always undefined.  I don't think it is,
>> though it might be in some cases when the result is a trap
>> representation.
>
> The Standard lacks the terminology to describe anything beyond
> Implementation-Defined behavior and Undefined Behavior.  The term
> "Unspecified Value" allows for Undefined Behavior only in cases
> where the type in question has defined trap representations.
> "Indeterminate Value", however, is a bit trickier.  There is some
> usefulness to allowing a compiler to replace something like:
>
>     int foo;
>     void foo(void)

Those declarations contradict.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

bit value of a negative number sinbad <sinbad.sinbad@gmail.com> - 2016-07-30 02:38 -0700
  Re: bit value of a negative number Malcolm McLean <malcolm.mclean5@btinternet.com> - 2016-07-30 02:50 -0700
  Re: bit value of a negative number Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-30 11:42 +0100
    Re: bit value of a negative number James Kuyper <jameskuyper@verizon.net> - 2016-07-30 09:38 -0400
      Re: bit value of a negative number "James R. Kuyper" <jameskuyper@verizon.net> - 2016-07-30 11:39 -0400
      Re: bit value of a negative number Keith Thompson <kst-u@mib.org> - 2016-07-30 13:59 -0700
    Re: bit value of a negative number Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-30 15:16 +0100
      Re: bit value of a negative number Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-31 06:31 -0700
        Re: bit value of a negative number Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-07-31 17:28 +0100
      Re: bit value of a negative number supercat@casperkitty.com - 2016-07-31 13:19 -0700
        Re: bit value of a negative number Ike Naar <ike@iceland.freeshell.org> - 2016-07-31 20:46 +0000
    Re: bit value of a negative number Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-30 14:21 -0700
      Re: bit value of a negative number supercat@casperkitty.com - 2016-07-31 13:37 -0700
        Re: bit value of a negative number Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-31 16:59 -0700
    Re: bit value of a negative number supercat@casperkitty.com - 2016-07-31 12:56 -0700
  Re: bit value of a negative number Barry Schwarz <schwarzb@dqel.com> - 2016-07-30 10:15 -0700
  Re: bit value of a negative number Tim Rentsch <txr@alumni.caltech.edu> - 2016-07-30 10:25 -0700

csiph-web