This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: e_pow and reentrancy
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Simon Gee <simong at agile dot tv>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Fri, 23 Aug 2002 17:22:37 -0700
- Subject: Re: e_pow and reentrancy
- References: <3D5317C1.8040409@oz.agile.tv>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Simon Gee wrote:
After a bit of tracking and experimentation with pthread_mutexes around
the call to pow(), it seems the cause of the problem lies in
sysdeps/ieee754/dbl-64/e_pow.c and, more specifically, two52 - a global
variable that is set within log1() and log2().
Yes, and your patch looks fine. None of the often used platforms uses
this code so nobody noticed. Thanks,
- --
- ---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE9ZtHS2ijCOnn/RHQRArtXAKCTOIyVV6MKO2WQBkgoLpyhRMVTdwCcC5tN
2w0cGto6cZlDnE7l+vDruSg=
=Xl/X
-----END PGP SIGNATURE-----