[net.lang] bit ordering - war story

tbray@mprvaxa.UUCP (Tim Bray) (09/19/84)

A coupla years back, there was this little engineering company that had
a decade's worth of financial records stored on tapes created by an IBM
1130 (a computer for real men), in binary floating point format.  They
had this shiny new VAX, and no data interchange facility.

Solution - a VAX assembler routine which takes an 1130 double precision
floating point number - six (6) bytes - and spits out the equivalent
VAX double precision datum.

Bit orders.  Hah. You think you know about bit orders.   Latent bits.
Middle-ender word ordering.  One's complement mantissas for negative
numbers - any idea what that does to negative powers of 2?

Of course, the auditors wet their collective pants when all the bottom
lines in the million-dollar plus items started being off by a few
pennies on the new computer.  Tim Bray {ihnp4!alberta,
decvax!microsoft} !ubc-vision!mprvaxa!tbray

warren@tikal.UUCP (warren) (09/21/84)

Do auditors wear collective pants ?
Why ?   Are these slacks made in the Soviet Union, or are they one large
belt area with eight or ten leg holes ?  Doesn't going to the bathroom
become a pressing experience ?   What are auditors anyway ?  Are they folks
who hear well ?   What do female auditors wear ?  

					teltone!warren

davies@uiucdcsb.UUCP (09/22/84)

Gee, that must have been some profitable company to require double-precision
floating point numbers to track of their accounts!