[haiku-bugs] Re: [Haiku] #9962: pow returns nan instead of inf for large results

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 02 Jun 2014 18:07:55 -0000

#9962: pow returns nan instead of inf for large results
---------------------------------+----------------------------
   Reporter:  markh              |      Owner:  jessicah
       Type:  bug                |     Status:  assigned
   Priority:  normal             |  Milestone:  R1
  Component:  System/libroot.so  |    Version:  R1/Development
 Resolution:                     |   Keywords:
 Blocked By:                     |   Blocking:
Has a Patch:  1                  |   Platform:  All
---------------------------------+----------------------------

Comment (by pulkomandy):

 The reason we use an old glibc is not gcc2, but binary compatibility. The
 version that was used in BeOS unfortunately leaked some symbols that are
 not part of the official API, so we must stay compatible with those. So,
 updating the glibc must be done only with great care. We used to have a
 port of the abi-compliance-checker, which is the tool used by the glibc
 project to test for such changes. It should be possible to run it (even
 from another OS, I think the tool works at source level) to check such
 changes.

 There is also a risk of the changes to the math part requiring updates to
 other parts of the lib, and so on.

 IIRC, however, the x86_64 version of glibc actually uses assembler files
 from a newer glibc version, as our old one didn't have any x86_64 support.
 Looking at the commit logs for that may provide some hints on what's
 possible, but the x86_64 version didn't have to retain the binary
 compatibility.

--
Ticket URL: <https://dev.haiku-os.org/ticket/9962#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: