Path: utzoo!mnetor!uunet!husc6!ut-sally!nather From: nather@ut-sally.UUCP (Ed Nather) Newsgroups: comp.lang.c Subject: Re: Power operator? Message-ID: <10026@ut-sally.UUCP> Date: 8 Jan 88 16:42:45 GMT References: <11169@brl-adm.ARPA> Organization: U. Texas CS Dept., Austin, Texas Lines: 25 In article <11169@brl-adm.ARPA>, V4039%TEMPLEVM.BITNET@CUNYVM.CUNY.EDU (Stan Horwitz) writes: > > Chris Torek says the function pow(x,y) in C's math library is C's power > operator. Sorry Chris, the pow(x,y) is not an operator, it is a FUNCTION. > Syntactically, there is a difference, though the result is the same. As a matter of interest, would there be any ambiguity in using a ^^ b instead of pow(a,b) ? I can see how the Fortran notation a**b is ambiguous if "b" could be a pointer ... -- Ed Nather Astronomy Dept, U of Texas @ Austin {allegra,ihnp4}!{noao,ut-sally}!utastro!nather nather@astro.AS.UTEXAS.EDU