[haiku-bugs] Re: [Haiku] #6230: math.h uses an evil definition for HUGE_VALF

  • From: "TechnoMancer" <trac@xxxxxxxxxxxx>
  • Date: Thu, 04 Nov 2010 03:34:29 -0000

#6230: math.h uses an evil definition for HUGE_VALF
---------------------------+---------------------------------------------
  Reporter:  TechnoMancer  |        Owner:  nobody
      Type:  bug           |       Status:  new
  Priority:  normal        |    Milestone:  R1
 Component:  System/POSIX  |      Version:  R1/Development
Resolution:                |     Keywords:  HUGE_VALF __builtin_huge_valf
Blocked By:                |  Has a Patch:  1
  Platform:  All           |     Blocking:
---------------------------+---------------------------------------------

Comment (by TechnoMancer):

 I have provided a patch for this, this will cause gcc4 to also use the
 builtins instead of that horrible old method, I also added the one for
 HUGE_VALL for gcc4 and clang.  If people dislike the repeated #if....
 #else....#endif blocks I can change it to be one #if and the defs then an
 #else and the old section.  Please review the patch.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6230#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: