View Single Post
  #33   Report Post  
Old December 9th 05, 10:01 PM posted to rec.radio.amateur.antenna
Owen Duffy
 
Posts: n/a
Default Back to fundamentals

On Fri, 09 Dec 2005 13:49:31 -0800, Tim Wescott
wrote:


It's been a while since you've done mathematical stuff in C, hasn't it?

C does _not_ use a '**' operator. If you want to raise y to the x power
you use "pow(y, x)".


It has, I tend to do most my ad-hoc stuff in Perl these days, and it
uses the ** operator. Perl is c-like, but as you say Tim, it did not
inherit the ** op from C.

Languages that lack an exponentiation operator are a right pain in the
butt, but there are lots of them.

Owen
--