Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Mar 2005 00:02:06 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        markzero <mark@darklogik.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: standard math lib question
Message-ID:  <4237BDCE.5070303@mac.com>
In-Reply-To: <20050316035901.GA32248@logik.ath.cx>
References:  <20050316035901.GA32248@logik.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
markzero wrote:
> Where on earth is double log(double) actually defined? I'm talking
> about the one in /usr/include/math.h.

See /usr/src/lib/msun/src/w_log.c.  Or are you asking which library defines 
that symbol?  It'd be in libm.a:

6-sec# nm -g /usr/lib/libm.a | grep log
i387_s_logb.o:
00000000 D __arch_logb
          U __generic_logb
00000074 T __i387_logb
0000006c T logb
w_logf.o:
          U __ieee754_logf
00000000 T logf
w_log10f.o:
          U __ieee754_log10f
00000000 T log10f
w_log10.o:
          U __ieee754_log10
00000000 T log10
w_log.o:
          U __ieee754_log
00000000 T log
          U ilogbf
          U ilogb
[ ... ]

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4237BDCE.5070303>