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