SYSADM4%TREARN.BITNET@uga.cc.uga.edu ( Suleyman Nazif Kutlu) (09/18/90)
HI PASCAL users... I want to use 64 bit binary variable in PASCAL/VS. But how can I declare this kind of variable ? I can not use REAL type variables, because PASCAL automatically converts it to the exponential form when I want to write it. Any help would be greatly appreciated.. -Suleyman Kutlu System Programmer
SYSADM4%TREARN.BITNET@uga.cc.uga.edu ( Suleyman Nazif Kutlu) (09/20/90)
I want to manipulate integer numbers stored in 64 bits (double word), not binary numbers or real numbers (exactly NOT real numbers).. -Suleyman Kutlu System Programmer
KINSELLA%IRTCCARL@uga.cc.uga.edu (09/20/90)
On Tue, 18 Sep 1990 19:14:36 BST Suleyman Nazif Kutlu said: >I want to use 64 bit binary variable in PASCAL/VS. But how can I declare >this kind of variable ? I can not use REAL type variables, because PASCAL >automatically converts it to the exponential form when I want to write it. I do not fully understand your problem. Are you trying to manipulate real numbers, stored in 8 bytes (64 bits), or are you trying to manipulate binary numbers of 64 bits, so that results will appear as 11001110101....? Austin Kinsella, Regional Technical College, Kilkenny Road, Carlow, Ireland.
KINSELLA%IRTCCARL@uga.cc.uga.edu (09/21/90)
We use VS Pascal Release 2. The type INTEGER is 4 bytes - 32 bits. I suspect that to use bigger integers you will have to manipulate them as strings, and have user-written functions to do the sums. There used to be a set of Fortran routine to manipulate integers of any length via strings in the DECUS libtrary, but I don't know if it is still available, or available in PASCAL. Austin Kinsella, Regional Technical College, Kilkenny Road, Carlow, Ireland.