Ignore:
Timestamp:
2013-04-19T18:38:18Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6d717a4
Parents:
a1e2df13 (diff), 289cb7dd (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 mainline chages.

File:
1 edited

Legend:

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

    ra1e2df13 r25eec4e  
    3636#define POSIX_MATH_H_
    3737
     38#ifdef __GNUC__
     39        #define HUGE_VAL (__builtin_huge_val())
     40#endif
     41
    3842/* Normalization Functions */
    3943extern double posix_ldexp(double x, int exp);
    4044extern double posix_frexp(double num, int *exp);
    4145
     46double posix_fabs(double x);
     47double posix_floor(double x);
     48double posix_modf(double x, double *iptr);
     49double posix_fmod(double x, double y);
     50double posix_pow(double x, double y);
     51double posix_exp(double x);
     52double posix_sqrt(double x);
     53double posix_log(double x);
     54double posix_sin(double x);
     55double posix_cos(double x);
     56double posix_atan2(double y, double x);
     57
    4258#ifndef LIBPOSIX_INTERNAL
    4359        #define ldexp posix_ldexp
    4460        #define frexp posix_frexp
     61
     62        #define fabs posix_fabs
     63        #define floor posix_floor
     64        #define modf posix_modf
     65        #define fmod posix_fmod
     66        #define pow posix_pow
     67        #define exp posix_exp
     68        #define sqrt posix_sqrt
     69        #define log posix_log
     70        #define sin posix_sin
     71        #define cos posix_cos
     72        #define atan2 posix_atan2
    4573#endif
    4674
Note: See TracChangeset for help on using the changeset viewer.