standard math lib question
Chuck Swiger
cswiger at mac.com
Tue Mar 15 21:02:38 PST 2005
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
More information about the freebsd-questions
mailing list