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


Groups > comp.lang.c > #400271

Re: Representing signed values in corresponding unsigned types

From ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups comp.lang.c
Subject Re: Representing signed values in corresponding unsigned types
Date 2026-06-28 12:07 +0000
Organization Stefan Ram
Message-ID <range-20260628130625@ram.dialup.fu-berlin.de> (permalink)
References <111qs0g$3hdko$1@dont-email.me>

Show all headers | View raw


NS <ns@2b.here> wrote or quoted:
>Although "The range of nonnegative values of a signed integer type is a 
>subrange of its corresponding unsigned integer type" [6.2.5.9] the use of
>'subrange' implies that M < N?

  I take a "subrange" to be a range that is a subset, 
  which would imply M <= N.

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


Thread

Representing signed values in corresponding unsigned types NS <ns@2b.here> - 2026-06-28 10:11 +0000
  Re: Representing signed values in corresponding unsigned types ram@zedat.fu-berlin.de (Stefan Ram) - 2026-06-28 12:07 +0000
  Re: Representing signed values in corresponding unsigned types Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-06-28 06:52 -0700
    Re: Representing signed values in corresponding unsigned types Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-06-28 18:27 -0700
      Re: Representing signed values in corresponding unsigned types cross@spitfire.i.gajendra.net (Dan Cross) - 2026-06-29 12:13 +0000
      Re: Representing signed values in corresponding unsigned types Tim Rentsch <tr.17687@z991.linuxsc.com> - 2026-08-15 02:19 -0700
        Re: Representing signed values in corresponding unsigned types Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-08-15 05:48 -0700
  Re: Representing signed values in corresponding unsigned types James Kuyper <jameskuyper@alumni.caltech.edu> - 2026-06-28 22:23 -0400
    Re: Representing signed values in corresponding unsigned types Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2026-06-28 20:24 -0700

csiph-web