Re: log(x) how?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Douglas Macdonald <mm2ps@xxxxxxxxxxx> writes:

> Can anyone tell me how log(x) is calculated, what
> computational metod it uses?
> 
> And, where can I find the math.c source code, so that 
> I can investigate it myself?

The log() function does not come from gcc (except that gcc will
simplify a few cases).  It comes from your math library, -lm.  That is
where you have to look.  Since you didn't say what system you are
running on, we can't give you any suggestions as to where to find the
source.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux