471,092 Members | 1,297 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,092 software developers and data experts.

Constraints lifted/imposed as technology progresses?

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

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

Frederick Gotham
Jul 6 '06 #1
1 1026
* Frederick Gotham:
Will all implementations have to use Two's complement in the
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?
Jul 6 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

15 posts views Thread by Agoston Bejo | last post: by
reply views Thread by BobTheDatabaseBoy | last post: by
11 posts views Thread by andrew queisser | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.