Changeset c773adc in mainline
- Timestamp:
- 2014-03-15T19:33:45Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e3c960e
- Parents:
- b0b4592e
- Location:
- uspace/lib/posix
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/Makefile
rb0b4592e rc773adc 36 36 37 37 INCLUDE_LIBC = ./include/libc 38 INCLUDE_LIBMATH = ./include/libmath39 38 40 39 LIBC_FILE = $(LIBC_PREFIX)/libc.a … … 47 46 COLLISIONS_LIST = collisions.list 48 47 49 PRE_DEPEND = $(INCLUDE_LIBC) $(INCLUDE_LIBMATH)48 PRE_DEPEND = $(INCLUDE_LIBC) 50 49 EXTRA_CLEAN = \ 51 $(INCLUDE_LIBC) $(INCLUDE_LIBMATH)\50 $(INCLUDE_LIBC) \ 52 51 $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) \ 53 52 $(COLLISIONS_LIST) … … 85 84 ln -s -f -n ../$^ $@ 86 85 87 $(INCLUDE_LIBMATH): ../math/include88 ln -s -f -n ../$^ $@89 90 86 $(FIXED_C_LIBRARY): $(REDEFS_HIDE_LIBC) $(REDEFS_SHOW_LIBPOSIX) 91 87 $(OBJCOPY) --redefine-syms=$(REDEFS_HIDE_LIBC) $(LIBC_FILE) $@ -
uspace/lib/posix/include/posix/math.h
rb0b4592e rc773adc 31 31 */ 32 32 /** @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). 33 39 */ 34 40 … … 36 42 #define POSIX_MATH_H_ 37 43 38 #include "libmath/math.h" 44 #ifdef __GNUC__ 45 #define HUGE_VAL (__builtin_huge_val()) 46 #endif 47 48 extern double ldexp(double, int); 49 extern double frexp(double, int *); 50 51 extern double fabs(double); 52 extern double floor(double); 53 extern double ceil(double); 54 extern double modf(double, double *); 55 extern double fmod(double, double); 56 extern double pow(double, double); 57 extern double exp(double); 58 extern double frexp(double, int *); 59 extern double expm1(double); 60 extern double sqrt(double); 61 extern double log(double); 62 extern double log10(double); 63 extern double sin(double); 64 extern double sinh(double); 65 extern double asin(double); 66 extern double asinh(double); 67 extern double cos(double); 68 extern double cosh(double); 69 extern double acos(double); 70 extern double acosh(double); 71 extern double tan(double); 72 extern double tanh(double); 73 extern double atan(double); 74 extern double atanh(double); 75 extern double atan2(double, double); 76 extern double copysign(double, double); 39 77 40 78 #endif /* POSIX_MATH_H_ */
Note:
See TracChangeset
for help on using the changeset viewer.