TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: CAMERON CLARK
from: JERRY COFFIN
date: 1997-07-19 07:31:00
subject: Signs of numbers

On (17 Jul 97) Cameron Clark wrote to Jerry Coffin...
 JC> requires a "pure binary" representation for ints.  I haven't tried
 JC> to check this in the C++ standard, but I believe its requirements
 JC> are probably closer to those of C90 than C9X.
 CC>     I dweld around the www and the closest thing I found was the ansi
 CC>     c++ draft page. If I read it correctly, C++ uses all the same
 CC>     standards from C and only changes a few cosmetics: meaning the
 CC>     syntax of the language and not the internals. I still have not
 CC>     found reference for the storage of integers.
Hmm...C++ changes considerably more than syntax, but if you're looking
for a standard on how things are stored, you're right, you're not going
to find it in either the C or C++ standard.  C and C++ are both fairly
machine oriented, meaning they allow the machine to store things in the
most convenient form for the machine.
There has been a proposal for a standardized format for binary files,
and I believe it was formally placed before the C9X committee, but I
believe the proposal was placed before the committee after they'd said
they weren't going to accept more proposals for extensions, so it died
a'borning, so to speak.
    Later,
    Jerry.
... The Universe is a figment of its own imagination.
--- PPoint 1.90
---------------
* Origin: Point Pointedly Pointless (1:128/166.5)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.