Changeset bae1e1f in mainline for uspace/lib/math/arch/mips32eb/include/libarch/math.h
- Timestamp:
- 2015-09-01T08:08:47Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 992ffa6
- Parents:
- 1d03e86
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/mips32eb/include/libarch/math.h
r1d03e86 rbae1e1f 36 36 #define LIBMATH_mips32eb_MATH_H_ 37 37 38 #include <ceil.h> 39 #include <floor.h> 38 40 #include <mathtypes.h> 39 41 #include <mod.h> … … 57 59 } 58 60 61 static inline float64_t ceil(float64_t val) 62 { 63 float64_u arg; 64 arg.val = val; 65 66 float64_u ret; 67 ret.data = ceil_float64(arg.data); 68 69 return ret.val; 70 } 71 72 static inline float64_t floor(float64_t val) 73 { 74 float64_u arg; 75 arg.val = val; 76 77 float64_u ret; 78 ret.data = floor_float64(arg.data); 79 80 return ret.val; 81 } 82 59 83 static inline float64_t sin(float64_t val) 60 84 {
Note:
See TracChangeset
for help on using the changeset viewer.