Path: utzoo!mnetor!uunet!husc6!linus!necntc!ames!ucbcad!ucbvax!UCSCB.UCSC.EDU!lupin3 From: lupin3@UCSCB.UCSC.EDU (-=/ Larry Hastings /=-) Newsgroups: comp.lang.c Subject: Re: Power operator? Message-ID: <8801080745.AA14736@ucscb.UCSC.EDU> Date: 8 Jan 88 07:45:34 GMT References: <47000029@uxe.cso.uiuc.edu> <10063@mimsy.UUCP> <646@l.cc.purdue.edu> <6982@brl-smoke.ARPA> Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: lupin3%ucscb.UCSC.EDU@ucscc.UCSC.EDU Organization: Uncle Charlies Summer Camp (UC Santa Cruz) Lines: 30 +-In article <6982@brl-smoke.ARPA>, gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) wrote:- +---------- | | If someone wants to propose a good syntax for a built-in exponentiation | operator, | .... | The x ** y syntax conflicts with existing C, which already ascribes | a different meaning to this, although I do think that anyone who has | been writing ** without a space in between deserves problems anyway. | | x ^ y is also already taken. | +---------- And me, in my half-delirious state.. suggest x *^ y ..... Think about it; "multiply to the power of" or something. Sure, it looks kind of dorky, but a) it's not used and b) there really ought to be SOMETHING. Or how about x tothepowerof y ..... :-) -- .. . . . . . . . . . . . .. . . . . . . . . . . . | _ _ _ _ |_| _ _ |_ -__ _ _ ARPA: lupin3@ucscb.ucsc.EDU L_ (_\( ( (_/ | |(_\_\ (_ || )(_)_\ UUCP: ...!ucbvax!ucscc!ucscb!lupin3 larry / hastings _/ BITNET: lupin3@ucscb@ucscc.BITNET ^v^v^vBoy, I'm glad I don't live in an alternate universe!^v^v^v Disclaimer: All original text above was pointless & random, & it makes me proud. . . . . . . . . . . . .. . . . . . . . . . . . ..