Path: utzoo!mnetor!uunet!nuchat!splut!jay From: jay@splut.UUCP (Jay Maynard) Newsgroups: comp.lang.c Subject: Re: Power operator? Message-ID: <327@splut.UUCP> Date: 12 Jan 88 01:54:05 GMT References: <6982@brl-smoke.ARPA> <326@splut.UUCP> Organization: Confederate Microsystems, League City, TX Lines: 21 Summary: Oops. I thought this would be original... In article <326@splut.UUCP>, I wrote, as a suggested power operator: > x *^ y Unfortunately, due to newsfeed constipation, I wrote this before I saw someone-or-another's posting suggesting this very thing. Something about great minds... Then I got to thinking about the objections about putting a full-fledged exponentiator into the language as an operator. It struck me that it could be defined as analogous to % - only useful if the second operand is integer. That, in turn, raised another question: What does % do if you feed it something like x % 6.39? Maybe this idea ios getting better? Maybe worse? Like I said in the last message, I'm not a C guru - just a semi-converted Turbo Pascal hacker... -- Jay Maynard, K5ZC (@WB5BBW)...>splut!< | GEnie: JAYMAYNARD CI$: 71036,1603 uucp: {uunet!nuchat,academ!uhnix1,{ihnp4,bellcore,killer}!tness1}!splut!jay Never ascribe to malice that which can adequately be explained by stupidity. The opinions herein are shared by none of my cats, much less anyone else.