Note also that these are not IEEE Reals but HP_Reals. (Different number of
exponent bits). To get IEEE Reals you have to use Datatypes E, E2, and E4.
In QUIZ/QUICK/QTP you have to define R items as NONIEEE FLOAT.
"James Clark,Florida" <[log in to unmask]> wrote in message
news:a4qmtk0vau@enews2.newsguy.com...
> Mr. Chandru,
> The R stands for real. The number following specify the number of
words
> used to store the numeric value. I am not sure you can use just R by
itself
> as the definition of reals on HP are either 2 or 4 words. As for the
values
> they both hold the same max value. Approximately 1 E308, but the
difference
> is in the accuracy of the number. The R2 only has 6 to 7 digit accuracy
and
> the R4 has 15 to 16 digit accuracy. As to the source of this information,
> any of the old HP MPE books which discuss storage will describe the
internal
> storage of these values.
> HP switched to the more used standard of storing reals when it
switched the
> architecture of it CPU's to PA-RISC which use natively the IEEE standard,
> but they still emulate the old values also.
>
> James
>
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]]On
> Behalf Of Jay Chandru
> Sent: Monday, February 18, 2002 3:15 AM
> To: [log in to unmask]
> Subject: [HP3000-L] Data Type - R, R2 and R4
>
>
> Hi All,
> Turbo Image Datatye Question.
> Below are various data types of data items in an Image dataset.
>
> Ex:
> FO DATASETNAME
> Qty1 R2
> Numb R
> Amnt R4
> Prod X(4)
>
> What does R stand for and what is the maximum value that i can represent
> using R2,R and R4.
>
> Questions:
> 1) Max. value of Qty1
> 2) Max. value of Numb
> 3) Max. value of Amnt
>
>
> Also Pls. point me to the doc where i can get the difference between R,
> R2 and R4.
>
> Thanks in advance,
> -Jay
>
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|