🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.oberon
Article #1263

Re: Why no Complex Arithmetic ?

#1263
From: Simon Egli
Date: Wed, 03 Apr 1996 11:38
11 lines
1052 bytes
I don't know if this is a good idea, but you should be able to add a complex
type to OP2 within one week, if you have the sources of OP2.
Another solution could be to write a pre-compiler wich translates a
Complex-Oberon dialect into proper Oberon. Also this should not take more than
one week to implement, and you could reuse some of the parts of your Compiler
(for example the Scanner).

If you're considering one of these options seriously, I suggest having a look
at the Oakwood paper about adding complex numbers, and at an Oberon
implementation at ETH for the Cray, wich included Complex numbers & vectors.
There should be a paper somewhere at the ETH-server about this.
Technical Details
Message-ID: <1996Apr3.123843.46243@yogi.urz.unibas.ch>
Path: arc1-ca.pugleaf.net!ubaclu.unibas.ch!eglis
References: <danforth.828397346@Turing.Stanford.EDU> <4js4dk$f7v@ra.nrl.navy.mil>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!ubaclu.unibas.ch!eglis
From: eglis@ubaclu.unibas.ch (Simon Egli)
Newsgroups: comp.lang.oberon
Subject: Re: Why no Complex Arithmetic ?
Message-ID: <1996Apr3.123843.46243@yogi.urz.unibas.ch>
Date: 3 Apr 96 12:38:43 MET
References: <danforth.828397346@Turing.Stanford.EDU> <4js4dk$f7v@ra.nrl.navy.mil>
Organization: University of Basel, Switzerland