frame Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Tony Harminc
Sent: Monday, April 28, 2008 12:23 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Fixed-Point and Scientific Notation
This is a big can o' worms.
Programming languages vary so much in their syntax and semantics that
I doubt you
2008/4/27 John P. Baker <[EMAIL PROTECTED]>:
> In many cases, the user may simply specify 1.75E+6, the context will
> determine both the format and the length, and everything will be fine.
>
> However, there are other computational situations where the use of a
> particular format and/or length
John, all
>The issue is that we have three formats (binary, decimal, and hexadecimal)
>and three lengths (4, 8, and 16).
>So we need to determine what characters should be used for the various
>formats and lengths.
Now that I better understand the question, there is a way to do just that
defin
JOhn, all
>The issue is that we have three formats (binary, decimal, and hexadecimal)
>and three lengths (4, 8, and 16).
>So we need to determine what characters should be used for the various
>formats and lengths.
Now that I better understand the question, there is a way to do just that
defin
d be
exact) and then when used in a floating point expression be properly converted
to the correct form.
But, all in all, it ain't my dog.
:>-Original Message-
:>From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
:>Of Binyamin Dissen
:>Sent: Sunday, A
-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Binyamin Dissen
Sent: Sunday, April 27, 2008 2:20 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Fixed-Point and Scientific Notation
If I recall correctly, FORTRAN/PLI needed explicit exponentiation,
>From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
:>Of Binyamin Dissen
:>Sent: Sunday, April 27, 2008 1:06 PM
:>To: IBM-MAIN@BAMA.UA.EDU
:>Subject: Re: Fixed-Point and Scientific Notation
:>
:>Typically E is used for short, D is used for long and L is
day, April 27, 2008 1:06 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Fixed-Point and Scientific Notation
Typically E is used for short, D is used for long and L is now being used
for
double long.
Should be.
1.5E+0 - short.
1.5D+0 - long.
1.5L+0 - double long.
What are you trying to do? Determine an interch
interchange format?
:>-Original Message-
:>From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
:>Of Don Higgins
:>Sent: Sunday, April 27, 2008 8:41 AM
:>To: IBM-MAIN@BAMA.UA.EDU
:>Subject: Re: Fixed-Point and Scientific Notation
:>
:>John, all
PROTECTED] On Behalf
Of Don Higgins
Sent: Sunday, April 27, 2008 8:41 AM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Fixed-Point and Scientific Notation
John, all
Here are some references and summary info I've collected:
Standard Scientific Notation:
General description and references:
The following message is a courtesy copy of an article
that has been posted to bit.listserv.ibm-main as well.
[EMAIL PROTECTED] (Don Higgins) writes:
> DFP Decimal IEEE 754r FP
> Significant digits 7 16 34
> Maximum exponent96
John, all
>Has IBM established a standard in any of the various high-level languages
>for the representation of the various floating-point formats and
>precisions?
>I am specifically looking at both fixed-point and scientific notation.
> John P. Baker
Here are some references a
-byte)
I am specifically looking at both fixed-point and scientific notation.
John P. Baker
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
13 matches
Mail list logo