Ignore:
Timestamp:
2014-03-17T19:50:17Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9a5abb78
Parents:
7ddc2c7 (diff), dc5a1f26 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge (minor) libposix changes

  • math.h in libposix is more standalone (i.e. no inclusion of libc headers)
  • added FILENAME_MAX
  • actually allow usage of functions with fpos_t
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/math.h

    r7ddc2c7 r9df6b0f  
    3131 */
    3232/** @file Mathematical operations.
     33 *
     34 * The purpose of this file is only to provide prototypes of mathematical
     35 * functions defined by C standard and by POSIX.
     36 *
     37 * It is up to the application to correctly link with either libmath
     38 * (provided by HelenOS) or by some other math library (such as fdlibm).
    3339 */
    3440
     
    3642#define POSIX_MATH_H_
    3743
    38 #include "libmath/math.h"
     44#ifdef __GNUC__
     45        #define HUGE_VAL (__builtin_huge_val())
     46#endif
     47
     48extern double ldexp(double, int);
     49extern double frexp(double, int *);
     50
     51extern double fabs(double);
     52extern double floor(double);
     53extern double ceil(double);
     54extern double modf(double, double *);
     55extern double fmod(double, double);
     56extern double pow(double, double);
     57extern double exp(double);
     58extern double frexp(double, int *);
     59extern double expm1(double);
     60extern double sqrt(double);
     61extern double log(double);
     62extern double log10(double);
     63extern double sin(double);
     64extern double sinh(double);
     65extern double asin(double);
     66extern double asinh(double);
     67extern double cos(double);
     68extern double cosh(double);
     69extern double acos(double);
     70extern double acosh(double);
     71extern double tan(double);
     72extern double tanh(double);
     73extern double atan(double);
     74extern double atanh(double);
     75extern double atan2(double, double);
     76extern double copysign(double, double);
    3977
    4078#endif /* POSIX_MATH_H_ */
Note: See TracChangeset for help on using the changeset viewer.