[Info-vax] 64 bit DCL ?

VAXman- at SendSpamHere.ORG VAXman- at SendSpamHere.ORG
Fri Jan 16 14:38:13 EST 2015


In article <54b9501b$0$6637$b1db1813$2411a48f at news.astraweb.com>, JF Mezei <jfmezei.spamnot at vaxination.ca> writes:
>On 15-01-16 11:40, Keith Cayemberg wrote:
>> One potential implementation design would be to introduce a new quadword radix symbol %q. %d would remain as an explicit 32-bit radix symbol. DCL continues to assume all operators and variables are 32-bit. But once an expression includes an explicit %q
>
>
>what if:
>
>myvar = %xFFFFFF    then "myvar" is created as a 32bit integer variable
>
>myvar = %xFFFFFFFFFF  then myvar doesn't fit as 32, so created as 64 bit
>type.
>
>
>Could this work ?
>
>In other words, have 2 types of integer variables, and whatever type is
>assigned to a variable depends on the values being assigned to them ?

What do you do when you have a symbol with 32 bit value and a symbol with a
64 bit in a computation?  Obviously, the result, in most cases, would be a 64
bit value.  How then does this NOT break traditional DCL 32 bit integer math?
-- 
VAXman- A Bored Certified VMS Kernel Mode Hacker    VAXman(at)TMESIS(dot)ORG

I speak to machines with the voice of humanity.



More information about the Info-vax mailing list