public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/258] New: powl problems
@ 2004-07-08 12:55 ronaldbrt at yahoo dot com
  2004-07-23  9:30 ` [Bug math/258] " pere at hungry dot com
  2004-07-23 13:38 ` jakub at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: ronaldbrt at yahoo dot com @ 2004-07-08 12:55 UTC (permalink / raw)
  To: glibc-bugs

x.c:
#include <math.h>
#include <stdio.h>

int main(void){
 printf("inf = %Lg\n", powl(3.43646e+4928l, 3.43646e+4928l));
 printf("0 = %Lg\n", powl(10.0l, -1.1807237520575617777e+4932l));
 
 return 0;
}

gcc x.c -lm -o x && ./x
inf = nan
0 = nan

-- 
           Summary: powl problems
           Product: glibc
           Version: 2.3.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: ronaldbrt at yahoo dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=258

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/258] powl problems
  2004-07-08 12:55 [Bug math/258] New: powl problems ronaldbrt at yahoo dot com
@ 2004-07-23  9:30 ` pere at hungry dot com
  2004-07-23 13:38 ` jakub at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pere at hungry dot com @ 2004-07-23  9:30 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pere at hungry dot com  2004-07-23 09:30 -------
I tried compiling this source on Solaris 8, but it fail to link because the
powl symbol is missing.  Not sure why.  There is no manual page, so I had a
look in the POSIX standard available on the web.  The powl() function is
documented there at
<URL: http://www.opengroup.org/onlinepubs/009695399/functions/pow.html >.

The code did compile and link on Tru64 Unix V5.1A, and gave this result:

% uname -a
OSF1 snape.uio.no V5.1 1885 alpha
% cc-wrapper x.c  -lm; ./a.out
inf = 1.18973e+4932
0 = 0
%


-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=258

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug math/258] powl problems
  2004-07-08 12:55 [Bug math/258] New: powl problems ronaldbrt at yahoo dot com
  2004-07-23  9:30 ` [Bug math/258] " pere at hungry dot com
@ 2004-07-23 13:38 ` jakub at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jakub at redhat dot com @ 2004-07-23 13:38 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From jakub at redhat dot com  2004-07-23 13:38 -------
Fixed in CVS on Jun, 19th.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sources.redhat.com/bugzilla/show_bug.cgi?id=258

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-07-23 13:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-08 12:55 [Bug math/258] New: powl problems ronaldbrt at yahoo dot com
2004-07-23  9:30 ` [Bug math/258] " pere at hungry dot com
2004-07-23 13:38 ` jakub at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).