Changeset d9be488 in mainline for uspace/lib/math/arch/amd64/include/libarch/math.h
- Timestamp:
- 2014-03-01T23:03:21Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 071fefec
- Parents:
- 75baf6e
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/amd64/include/libarch/math.h
r75baf6e rd9be488 1 1 /* 2 * Copyright (c) 201 1 Petr Koupy2 * Copyright (c) 2014 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup lib posix29 /** @addtogroup libmathamd64 30 30 * @{ 31 31 */ 32 /** @file Mathematical operations. 33 * 34 * The implementation is provided by a separate library to allow 35 * switching of the implementations. 32 /** @file 36 33 */ 37 34 38 #ifndef LIB C_MATH_H_39 #define LIB C_MATH_H_35 #ifndef LIBMATH_amd64_MATH_H_ 36 #define LIBMATH_amd64_MATH_H_ 40 37 41 #ifdef __GNUC__42 #define HUGE_VAL (__builtin_huge_val())43 #endif44 45 extern double ldexp(double, int);46 extern double frexp(double, int *);47 48 extern double fabs(double);49 extern double floor(double);50 extern double ceil(double);51 extern double modf(double, double *);52 extern double fmod(double, double);53 extern double pow(double, double);54 extern double exp(double);55 extern double expm1(double);56 extern double sqrt(double);57 extern double log(double);58 extern double log10(double);59 38 extern double sin(double); 60 extern double sinh(double);61 extern double asin(double);62 extern double asinh(double);63 39 extern double cos(double); 64 extern double cosh(double); 65 extern double acos(double); 66 extern double acosh(double); 67 extern double tan(double); 68 extern double tanh(double); 69 extern double atan(double); 70 extern double atanh(double); 71 extern double atan2(double, double); 72 73 double copysign(double, double); 40 extern double trunc(double); 74 41 75 42 #endif
Note:
See TracChangeset
for help on using the changeset viewer.