Constraints lifted/imposed as technology progresses?

Discussion in 'C++' started by Frederick Gotham, Jul 6, 2006.

  1. The early Standards of C placed no restriction on what negative number
    system could be used by a machine. Eventually, a constraint was imposed
    that one of three posibilities were permitted: Sign-magnitude, One's
    complement, Two's complement.

    C decreed that an unsigned char shall not contain any padding bits. C++
    expanded on this to decree that no member of the char family can contain
    padding.

    Are these changes as a result of technological advances? Were obsolete
    allowances such as a padded char phased out to allow for easier
    implementation of modern code? And similarly, were more constraints imposed
    for the same reason?

    Why other constraints to you think could be lifted/imposed as C++
    progresses? Will all implementations have to use Two's complement in the
    future?


    --

    Frederick Gotham
     
    Frederick Gotham, Jul 6, 2006
    #1
    1. Advertising

  2. * Frederick Gotham:
    > Will all implementations have to use Two's complement in the
    > future?


    No, but that would have been very nice.

    --
    A: Because it messes up the order in which people normally read text.
    Q: Why is it such a bad thing?
    A: Top-posting.
    Q: What is the most annoying thing on usenet and in e-mail?
     
    Alf P. Steinbach, Jul 6, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jason Berringer

    constraints, etc

    Jason Berringer, Jul 4, 2003, in forum: VHDL
    Replies:
    0
    Views:
    1,080
    Jason Berringer
    Jul 4, 2003
  2. Jack Stone
    Replies:
    1
    Views:
    1,248
    Symon
    Jul 25, 2003
  3. ra
    Replies:
    2
    Views:
    898
    Ralf Hildebrandt
    Oct 9, 2004
  4. Juan Carlos Allica
    Replies:
    2
    Views:
    677
    Noway2
    Jan 25, 2006
  5. Fazela
    Replies:
    0
    Views:
    430
    Fazela
    Mar 16, 2006
Loading...

Share This Page