Order Tray | Contact Us | Home | SIG Lists

[aprssig] PHG calculation formula?

Dave Baxter dave at emv.co.uk
Fri Oct 27 08:21:45 UTC 2006


Typical impenetrable C gibberish again.  As usual, without the details
of the library used, one has no idea whatsoever what the function does.
What's wrong with the ^ character in any case I wonder, and why it's not
used to designate raise to a power, like just about every other
programming language.

I wouldn't have had to ask the question if someone had posted the actual
math functions of course, or said what environment and library was used.

Cheers Steve.

Alan.  Thanks for the snippet of Bob's site, still cant get to it from
here, if you mess on any of the DNS manipulation websites, I can find
many potential addresses for that, but like the one often posted, I
can't get into it.  It may be a local problem here of course, but
sitting behind a proxy, not a lot I can do about it.


Dave G0WBX.

>On 10/26/06 5:17 AM, Dave Baxter wrote:
> > OK, so what exactly do you do with...
> > power = pow(base_power, 2.00)
> > Comma 2.00?  Is there a function designator missing 
> somewhere, as that 
> > looks like you're calling a function "pow" with two indipendant 
> > values, "base_power" and the value of 2.
> You are:
> POW(3)                   BSD Library Functions Manual
> POW(3)
>      pow -- power function
>      #include <math.h>
>      double
>      pow(double x, double y);
>      long double
>      powl(long double x, long double y);
>      float
>      powf(float x, float y);
>      The pow() functions compute x raised to the power y.

This mail has been scanned by Palmer Cook Computer Services Limited.  www.palmercook.co.uk

More information about the aprssig mailing list