Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!genesis!hotlg!anumb!eao From: eao@anumb.UUCP (e.a.olson) Newsgroups: comp.lang.c Subject: Re: Power (Re: all those :-) Message-ID: <154@anumb.UUCP> Date: 23 Jan 88 14:09:48 GMT References: <302@Aragorn.dde.uucp> <7139@brl-smoke.ARPA> <3461@ihlpf.ATT.COM> Reply-To: eao@anumb.UUCP (e.a.olson) Distribution: na Organization: Rock 'n Roll Rest Home Lines: 16 In article <3461@ihlpf.ATT.COM> nevin1@ihlpf.UUCP (00704A-Liber,N.) writes: >In article <7139@brl-smoke.ARPA> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: > >> >>If you do much geometric programming at all, you quickly realize >>that the squaring operator (expr ** 2) is quite heavily used. > >(pointer to pointer to 2 is heavily used?? :-)) Yeah, you see, when they design these geometric machines they take this into consideration and treat the location 2 as 'special' - when you use a pointer that points to anything pointing to it (or anywhere near it, within reason [ except 0, q.v. ]), the last location you referenced is automatically squared. Any arithmetic overflow is propagated out thru the carry bit into location 0. ;^()