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?