standard math lib question

markzero mark at darklogik.org
Tue Mar 15 21:04:47 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
> [ ... ]

I was talking about the source, which you correctly pointed to.

Thank you!
Mark

-- 
PGP: http://www.darklogik.org/pub/pgp/pgp.txt
B776 43DC 8A5D EAF9 2126 9A67 A7DA 390F DEFF 9DD1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 825 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050316/2a683857/attachment.bin


More information about the freebsd-questions mailing list