Changeset 055a68a in mainline for uspace/lib/math/arch/ia64/include/libarch/math.h
- Timestamp:
- 2015-04-23T23:47:40Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a18a8b9
- Parents:
- acb8766e (diff), dcba819 (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/ia64/include/libarch/math.h
racb8766e r055a68a 41 41 #include <trig.h> 42 42 43 static inline double fmod(double dividend, doubledivisor)43 static inline float64_t fmod(float64_t dividend, float64_t divisor) 44 44 { 45 return double_mod(dividend, divisor);45 return float64_mod(dividend, divisor); 46 46 } 47 47 48 static inline double trunc(doubleval)48 static inline float64_t trunc(float64_t val) 49 49 { 50 double_targ;50 float64_u arg; 51 51 arg.val = val; 52 52 53 double_tret;53 float64_u ret; 54 54 ret.data = trunc_float64(arg.data); 55 55 … … 57 57 } 58 58 59 static inline double sin(doubleval)59 static inline float64_t sin(float64_t val) 60 60 { 61 return double_sin(val);61 return float64_sin(val); 62 62 } 63 63 64 static inline double cos(doubleval)64 static inline float64_t cos(float64_t val) 65 65 { 66 return double_cos(val);66 return float64_cos(val); 67 67 } 68 68
Note:
See TracChangeset
for help on using the changeset viewer.