This is the mail archive of the glibc-bugs@sourceware.org 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]

[Bug math/706] pow() produces inaccurate results for base ~ 1.0, and large exponent on 32-bit x86


http://sourceware.org/bugzilla/show_bug.cgi?id=706

Calixte <calixte.denizet@scilab-enterprises.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |calixte.denizet@scilab-ente
                   |                            |rprises.com

--- Comment #11 from Calixte <calixte.denizet@scilab-enterprises.com> 2012-02-28 12:34:51 UTC ---
Clearly the pow alogrithm should be reimplemented with a better one.
What I proposed is just an easy workaround which can be easily and quickly
implemented (and it would improve the actual results).
About the char in the C code: it is just used for its sign (+/- 1) not for its
value.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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