Changeset 992ffa6 in mainline for uspace/lib/math/arch/amd64/include/libarch/math.h
- Timestamp:
- 2015-09-04T06:40:20Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 01cdd5a
- Parents:
- bae1e1f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/amd64/include/libarch/math.h
rbae1e1f r992ffa6 37 37 38 38 #include <ceil.h> 39 #include <exp.h> 39 40 #include <floor.h> 41 #include <log.h> 40 42 #include <mathtypes.h> 41 43 #include <mod.h> 44 #include <pow.h> 42 45 43 46 static inline float64_t fmod(float64_t dividend, float64_t divisor) … … 60 63 } 61 64 65 static inline float32_t expf(float32_t val) 66 { 67 return float32_exp(val); 68 } 69 70 static inline float64_t exp(float64_t val) 71 { 72 return float64_exp(val); 73 } 74 62 75 static inline float64_t floor(float64_t val) 63 76 { … … 71 84 } 72 85 86 static inline float32_t logf(float32_t val) 87 { 88 return float32_log(val); 89 } 90 91 static inline float64_t log(float64_t val) 92 { 93 return float64_log(val); 94 } 95 96 static inline float32_t powf(float32_t x, float32_t y) 97 { 98 return float32_pow(x, y); 99 } 100 101 static inline float64_t pow(float64_t x, float64_t y) 102 { 103 return float64_pow(x, y); 104 } 105 73 106 extern float64_t trunc(float64_t); 74 107
Note:
See TracChangeset
for help on using the changeset viewer.