Changeset ba11ebb in mainline for uspace/lib/math/arch/mips32eb/include/libarch/math.h
- Timestamp:
- 2014-03-06T02:45:53Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c60e9ee
- Parents:
- 47f7390f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/mips32eb/include/libarch/math.h
r47f7390f rba11ebb 37 37 38 38 #include <mathtypes.h> 39 #include <mod.h> 39 40 #include <trunc.h> 41 #include <trig.h> 42 43 static inline double fmod(double dividend, double divisor) 44 { 45 return double_mod(dividend, divisor); 46 } 40 47 41 48 static inline double trunc(double val) … … 52 59 static inline double sin(double val) 53 60 { 54 // FIXME TODO 55 return 0; 61 return double_sin(val); 56 62 } 57 63 58 64 static inline double cos(double val) 59 65 { 60 // FIXME TODO 61 return 1; 66 return double_cos(val); 62 67 } 63 68
Note:
See TracChangeset
for help on using the changeset viewer.