[haiku-bugs] [Haiku] #7007: Implement missing <math.h> functions

  • From: "scottmc" <trac@xxxxxxxxxxxx>
  • Date: Mon, 20 Dec 2010 02:44:54 -0000

#7007: Implement missing <math.h> functions
----------------------------+-----------------------------
   Reporter:  scottmc       |       Owner:  nobody
       Type:  bug           |      Status:  new
   Priority:  normal        |   Milestone:  R1
  Component:  System/POSIX  |     Version:  R1/Development
   Keywords:                |  Blocked By:
Has a Patch:  0             |    Platform:  All
   Blocking:                |
----------------------------+-----------------------------
 These are present in the math.h header, but not yet implemented:
 math.h:
         lgammal
         gamma_r
         gammaf_r

 The following issues also need to be adressed in math.h:

 1. Missing definition of float_t and double_t as described at
 opengroup.org.
 2.  Missing declaration of FLT_EVAL_METHOD.
 3.  Function "int isgreater(real-floating x, real-floating y);" is never
 defined or declared in the header.
 4.  Function "int isgreaterequal(real-floating x, real-floating y);"  is
 never defined or declared in the header.
 5.  Functions "int isless(real-floating x, real-floating y);,
     int islessequal(real-floating x, real-floating y);,
     int islessgreater(real-floating x, real-floating y);" are never
 defined or declared in  the header.
 6.  Function "int isunordered(real-floating x, real-floating y);" is never
 defined or declared in the header.
 7.  There is no definition of "MAXFLOAT" constant in the header.
 8.  The following optional macros "FP_FAST_FMA, FP_FAST_FMAF,
 FP_FAST_FMAL" are not defined in the header.
 9.  The following macros "FP_ILOGB0, FP_ILOGBNAN, MATH_ERRNO,
 MATH_ERREXCEPT, math_errhandling" are never defined in the header.

 The functions need to provide the requirements as defined at:
 http://www.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html

 This is being worked on by a GCI student.
 This is for the math.h in headers/posix/math.h

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7007>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: