home *** CD-ROM | disk | FTP | other *** search
- From: mike@hpfcso.FC.HP.COM (Mike McNelly)
- Date: Thu, 3 Sep 1992 23:45:21 GMT
- Subject: Re: Data storage info needed
- Message-ID: <7371288@hpfcso.FC.HP.COM>
- Organization: Hewlett-Packard, Fort Collins, CO, USA
- Path: sparky!uunet!usc!sdd.hp.com!hp-cv!hp-pcd!hpfcso!mike
- Newsgroups: comp.sys.hp
- References: <1992Sep3.211700.5149@iscnvx.lmsc.lockheed.com>
- Lines: 26
-
- > We are assembling a brief guide for our users
- > who have been using various mainframes or
- > workstations, and wish to switch to a different
- > machine. We are including some comprison tables
- > on data representation on five workstations and
- > two mainframes, primarily for FORTRAN programmers
- > (yes, they still exist!). I have been digging through the
- > manuals, and I have not been able to find the
- > following on the HP Apollo (Series 700):
- >
- > 1. how many decimal digits of precision with REAL*4 and REAL*8?
- Real*4: ~ 7 digits; Real*8: ~16 digits; Real*16: 34 digits.
-
- > 2. is a character constant stored left to right or right to left?
- If I understand your question, they are stored left to right (no
- byte swapping). Actually they are stored in memory as a sequence of
- ASCII codes, 1 per byte.
-
- Both of these questions are answered in the "FORTRAN/9000 Reference",
- part number B1688-90000. Another good reference you should check is the
- "HP-UX Portability Guide", part number B1864-90006.
-
- Mike McNelly
- mike@fc.hp.com
-
- Not an official spokesman for anybody but myself.
-