Changeset c0c38c7c in mainline for uspace/lib/math/arch/mips32eb/include/libarch/math.h
- Timestamp:
- 2015-03-14T21:36:44Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7f9d97f3
- Parents:
- 2c7fdaa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/mips32eb/include/libarch/math.h
r2c7fdaa rc0c38c7c 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.