If I may ask... IIRC, you mentioned that PL1 supported "arbitrary" precision.
Can PL1 support individual bit operations, and AND, OR,
and XOR, like Java BigInteger, and also support log, complex numbers,
etc, on such numbers?
And can it support object oriented coding?
Hi Fred,
Welcome to OS2PROG!
Can PL/I support individual bit operations, and AND, OR, and
XOR, like Java BigInteger, and also support log, complex
numbers, etc, on such numbers?
Yes. PL/I permits the declaration of individual bit variables
and strings of bits up to 32767 bits long. These do not need to
be on byte boundaries, but can be forced so by the ALIGNED
attribute.
Can PL/I support individual bit operations, and AND, OR, and
XOR, like Java BigInteger, and also support log, complex
numbers, etc, on such numbers?
Yes. PL/I permits the declaration of individual bit variables
and strings of bits up to 32767 bits long. These do not need to
be on byte boundaries, but can be forced so by the ALIGNED
attribute.
Does polymorphism of mathematical operations extend to apply to
those long strings?
And, can one manipulate single bit by address in such long string?
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,020 |
Nodes: | 17 (0 / 17) |
Uptime: | 12:02:07 |
Calls: | 503,343 |
Calls today: | 2 |
Files: | 107,250 |
D/L today: |
24,342 files (1,737M bytes) |
Messages: | 441,658 |