Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!ihlpf!nevin1 From: nevin1@ihlpf.ATT.COM (00704A-Liber) Newsgroups: comp.lang.c Subject: Re: Power (Re: all those :-) Message-ID: <3461@ihlpf.ATT.COM> Date: 21 Jan 88 02:37:08 GMT References: <302@Aragorn.dde.uucp> <7139@brl-smoke.ARPA> Reply-To: nevin1@ihlpf.UUCP (00704A-Liber,N.) Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 15 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?? :-)) Yes, but if you know that you are going to be squaring you can replace it with (expr * expr) (possibly needing temp variables depending on the side effects concerning expr), or write a macro to do it for you. -- _ __ NEVIN J. LIBER ..!ihnp4!ihlpf!nevin1 (312) 510-6194 ' ) ) "The secret compartment of my ring I fill / / _ , __o ____ with an Underdog super-energy pill." / (_