🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #2299

Re: Why no ** operator in Modula2?

#2299
From: Warwick Allison
Date: Tue, 04 Jun 1991 23:37
23 lines
1195 bytes
>note: Wirth: a compiler has to be as small as possible (see also Oberon).

>for my opinion this is a good solution for compiler writers and it is easy to
>port such a compiler (in comparision to e.g. a ADA-compiler). decentralism
>(hm?)

Agreed.  Except we cannot define our own "**", we have to use one of...

y:=IntegerToRealPower(A,x)
y:=RealToIntegerPower(A,x)
B:=IntegerToIntegerPower(A,x)
y:=RealToRealPower(A,x)

:-)
Warwick.

Actually, I take that back (-:, I think I would prefer to use those functions.
Bye, I've got a module to write...
--
  _-_|\       warwick@cs.uq.oz.au
 /     *  <-- Computer Science Department,
 \_.-._/      University of Queensland,
      v       Brisbane, AUSTRALIA.
Technical Details
Message-ID: <1771@uqcspe.cs.uq.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!uqcspe!cs.uq.oz.au!warwick
References: <1413.284BAAE1@puddle.fidonet.org>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!brolga!uqcspe!cs.uq.oz.au!warwick
From: warwick@cs.uq.oz.au (Warwick Allison)
Newsgroups: comp.lang.modula2
Subject: Re: Why no ** operator in Modula2?
Message-ID: <1771@uqcspe.cs.uq.oz.au>
Date: 4 Jun 91 23:37:26 GMT
References: <1413.284BAAE1@puddle.fidonet.org>
Sender: news@cs.uq.oz.au
Reply-To: warwick@cs.uq.oz.au
Lines: 23