This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: e_pow and reentrancy


-----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-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]