"PL/I doesn't have integers." Sorry Shmuel, youre incorrect.
FIXED BINARY (15,0) is a 2 byte integer and FIXED BINARY (31,0) is a 4 byte integer. "The ratiio 4/3 is FIXED BIN," No, its FIXED DECIMAL (1,0)... Joe On Sun, Sep 6, 2020 at 2:33 PM Seymour J Metz <sme...@gmu.edu> wrote: > PL/I doesn't have integers. The ratiio 4/3 is FIXED BIN, with some number > of bits after the binary point. > > > -- > Shmuel (Seymour J.) Metz > http://mason.gmu.edu/~smetz3 > > > ________________________________________ > From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf > of Paul Gilmartin <0000000433f07816-dmarc-requ...@listserv.ua.edu> > Sent: Saturday, September 5, 2020 11:33 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Constant Identifiers > > On Sat, 5 Sep 2020 08:13:42 +1000, Robin Vowels wrote: > > > >As for writing formulas, I prefer to follow a well-known formula, thus: > > > >volume = 4/3 * 3.14159 * radius**3 > > > Beware! Than might left-associate as: > volume = ( 4/3 ) * 3.14159 * radius**3 > ... and the quotient of integers, 4/3, is 1. > > >However, if I'm interested in efficiency, I'd prefer > > > >volume = 4 * 3.14159E0 / 3 * radius**3 > > > ... (and correct.) > > -- gil > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN