Re: Fixed-Point and Scientific Notation

2008-04-28 Thread John P. Baker
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

Re: Fixed-Point and Scientific Notation

2008-04-28 Thread Tony Harminc
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

Re: Fixed-Point and Scientific Notation

2008-04-28 Thread Don Higgins
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

o Re: Fixed-Point and Scientific Notation

2008-04-28 Thread Don Higgins
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

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread Binyamin Dissen
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

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread John P. Baker
-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,

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread Binyamin Dissen
>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

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread John P. Baker
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

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread Binyamin Dissen
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

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread John P. Baker
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:

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread Anne & Lynn Wheeler
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

Re: Fixed-Point and Scientific Notation

2008-04-27 Thread Don Higgins
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

Fixed-Point and Scientific Notation

2008-04-26 Thread John P. Baker
-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