home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!paladin.american.edu!auvm!SWIRL.MONSANTO.COM!GIBES
- Message-ID: <9208121244.AA17893@tin.monsanto.com>
- Newsgroups: bit.listserv.sas-l
- Date: Wed, 12 Aug 1992 07:44:54 -0500
- Reply-To: Kernon Gibes <gibes@SWIRL.MONSANTO.COM>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: Kernon Gibes <gibes@SWIRL.MONSANTO.COM>
- Subject: VMS Precision & LENGTH stmt SOLVED
- Comments: To: sas-l@tin.monsanto.com
- Comments: cc: GIBES@tin.monsanto.com
- Lines: 17
-
- CONTENT: Thank You!
- SUMMARY: Numerics stored as floating point / truncation may only be
- evident when exponent + mantissa can't handle it
- REL/PLTF: 6.07 TS 301/ VMS
- E-ADDR: gibes@swirl.monsanto.com
- NAME: Kernon Gibes
- DATE: 12 August 1992
-
- Thanks to J. Philip Miller and "KLASSEN@UVVM.uvic.ca" for their
- responses on my question regarding stored precision. As I understand
- their explanations, the problem with my test program was that I was
- only looking at powers of 2 and since SAS stores numerics as floating
- point, between the exponent and mantissa the allocated bytes were able
- to handle the numbers. If I had tried other numbers (like certain odd
- numbers, etc.), I would have seen the truncation.
-
- Thanks again!
-