2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
I am using Ubuntu 16.04.2 x86_64. The install went very smoothly.
My questions are:
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
On Thursday, November 23, 2017 at 6:14:56 AM UTC+10:30, doug7...@gmail.com wrote:
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
ASSERT(FALSE) is equivalent to HALT.
SYSTEM.SIZE is equivalent to SIZE.
Chris Burrows
CFB Software
http://www.astrobe.com
I am using Ubuntu 16.04.2 x86_64. The install went very smoothly.
My questions are:
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
I am using Ubuntu 16.04.2 x86_64. The install went very smoothly.
My questions are:
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
I am using Ubuntu 16.04.2 x86_64. The install went very smoothly.
My questions are:
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
On Wednesday, November 22, 2017 at 12:44:56 PM UTC-7, doug7...@gmail.com wrote:
I am using Ubuntu 16.04.2 x86_64. The install went very smoothly.
My questions are:
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
In response to the reply:
It appears that on onbc 0.19.1 that you cannot import SYSTEM.
On Wednesday, November 22, 2017 at 12:44:56 PM UTC-7, doug7...@gmail.com wrote:
I am using Ubuntu 16.04.2 x86_64. The install went very smoothly.
My questions are:
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
In response to the reply:
It appears that on onbc 0.19.1 that you cannot import SYSTEM.
It appears that obnc 0.9.1 does not allow IMPORT SYSTEM
I am using Ubuntu 16.04.2 x86_64. The install went very smoothly.
My questions are:
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
2. General question about Oberon 7:
Is there a workaround for the functionality of HALT, EXIT and
SIZE in Oberon 2 ?
If they are not 64 and 80 bits, is there any way to get data of thatJust out of curiosity, what kind of application do you work on which
size?
On 2017-11-22 20:44, doug719125@gmail.com wrote:
If they are not 64 and 80 bits, is there any way to get data of thatJust out of curiosity, what kind of application do you work on which requires numeric types of these sizes?
size?
Regards,
Karl
On Thursday, November 23, 2017 at 5:18:01 AM UTC-7, miasap wrote:would need 64 bit integers for addresses.
On 2017-11-22 20:44, doug719125@gmail.com wrote:
If they are not 64 and 80 bits, is there any way to get data of thatJust out of curiosity, what kind of application do you work on which
size?
requires numeric types of these sizes?
Regards,
Karl
Thanks for your reply Karl. In computational number theory you want all the integer bits that you can get, and to implement multi precision arithmetic, 64 bit integers make life much easier. If there was a SYSTEM module for x86_64 processors you
On 2017-11-23 14:34, doug wrote:
If there was a SYSTEM module for x86_64 processors you would need 64 bit integers for addresses.
Yes, that's an interesting observation. I wonder how Niklaus Wirth would solve this if he decided to target a 64-bit system.
The size of INTEGER is intentionally implementation-dependent. It could be implemented as 64-bit if the target platform needed it.
On 2017-11-23 21:49, cfbsoftware wrote:
The size of INTEGER is intentionally implementation-dependent. It could be implemented as 64-bit if the target platform needed it.
Indeed, but then applications will waste a lot of memory when 64-bit
integers are not needed.
Your integers will only take up twice as much memory but you could have more than 65000 times as much memory to work with!
Thanks for your reply Karl. In computational number theory you want all
the integer bits that you can get, and to implement multi precision arithmetic, 64 bit integers make life much easier. If there was a
SYSTEM module for x86_64 processors you would need 64 bit integers
for addresses.
1. What is the bit size for INTEGER and REAL on my machine? If they are
not 64 and 80 bits, is there any way to get data of that size?
The math module in the
basic library only supports double precision, however, so you have to
provide your own for extended precision calculations.
It appears that obnc 0.9.1 does not allow IMPORT SYSTEM
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 286 |
Nodes: | 16 (2 / 14) |
Uptime: | 86:40:07 |
Calls: | 6,496 |
Calls today: | 7 |
Files: | 12,099 |
Messages: | 5,277,131 |