Changeset 58775d30 in mainline for uspace/lib/math/arch/ppc32/include/libarch/math.h
- Timestamp:
- 2015-03-16T16:07:21Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2003739
- Parents:
- 6069061 (diff), 795e2bf (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/ppc32/include/libarch/math.h
r6069061 r58775d30 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 48 static inline double trunc(double 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.