Article View: comp.lang.oberon
Article #1213Re: Why no Complex Arithmetic ?
From: Mike Griebling
Date: Wed, 27 Mar 1996 11:42
Date: Wed, 27 Mar 1996 11:42
23 lines
1867 bytes
1867 bytes
> Why leave out complex numbers and complex > transcendental functions? Maybe Oberon is slightly simpler without this > but any programs that use complex arithmetic are automatically more complicated > and less efficient without language support. > I see no good argument for leaving complex arithmetic out of Oberon > if you've already gone to the trouble to include floating point numbers. > Why alienate so many people who desparately need good tools like this? > If you don't think its a problem then its because you've never tried > to do it. The readability goes to hell. > > richard At least one commercial Oberon-2 compiler already has support for complex numbers. (I don't recall the name.) The freeware optimizing compiler OOC will eventually have support for complex numbers as well -- just not in the first releases. The rationale for including complex numbers was that the overhead of doing them any other way was just not justified. We discussed the pros and cons at some length before finally deciding to include them. Basically any module(s) which use complex numbers are going to be inherently unportable anyway (no matter what flavour of complex numbers you use) so complex support can be considered an extension of Oberon-2. The addition won't break existing Oberon-2 programs and you don't have to use them if you want portable code.
Technical Details
Message-ID:
<9603271114.AA03267@trt.allied.com>Path:
arc1-ca.pugleaf.net!inf.ethz.ch!oberon-news@inf.ethz.chShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!inf.ethz.ch!oberon-news@inf.ethz.ch From: grieblm@trt.allied.com (Mike Griebling) Newsgroups: comp.lang.oberon Subject: Re: Why no Complex Arithmetic ? Date: 27 Mar 1996 12:42:24 +0100 Organization: Dept. Informatik, Swiss Federal Institute of Technology Sender: server@inf.ethz.ch Distribution: world Message-ID: <9603271114.AA03267@trt.allied.com> Reply-To: oberon-news@inf.ethz.ch NNTP-Posting-Host: neptune.inf.ethz.ch Originator: oberon-news@inf.ethz.ch