e_pow and reentrancy
Ulrich Drepper
drepper@redhat.com
Fri Aug 23 17:23:00 GMT 2002
-----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-----
More information about the Libc-alpha
mailing list