Path: utzoo!utgpu!water!watmath!clyde!att-cb!att-ih!alberta!ncc!uunet!actnyc!djs From: djs@actnyc.UUCP (Dave Seward) Newsgroups: comp.lang.ada Subject: Re: Some VAX RTL 64 bit operations take only 32 bit operands. Message-ID: <719@actnyc.UUCP> Date: 7 Mar 88 21:15:47 GMT References: <8803030021.AA12106@venera.isi.edu> Reply-To: djs@actnyc.UUCP (Dave Seward) Organization: InterACT Corporation Lines: 14 In article <8803030021.AA12106@venera.isi.edu> stluka@software.ORG (Fred Stluka) writes: >However, the LIB$EMUL and LIB$EDIV routines ... operate on 64 bit operands >returning 64 bit results. To produce true 64 bit operators, you have >to use break up the operation into smaller parts ... >The biggest problem you encounter is in avoiding spurious integer overflows >caused by intermediate results exceeding 32 bits. Many of the intermediate >results you generate will be 32 bit quantities ... I agree that the multiply and divide have to be broken up into constituent operations, but I would expect to use 64 bit intermediate results that EMUL and EDIV provide. Am I missing something? Dave Seward uucp!actnyc!djs