Changeset 8e7c9fe in mainline for uspace/lib/math/arch/amd64/include/libarch/math.h
- Timestamp:
- 2014-09-12T03:45:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (diff), 105d8d6 (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 moved
-
uspace/lib/math/arch/amd64/include/libarch/math.h (moved) (moved from kernel/arch/mips64/include/arch/elf.h ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/arch/amd64/include/libarch/math.h
r3eb0c85 r8e7c9fe 1 1 /* 2 * Copyright (c) 20 06 Sergey Bondari2 * Copyright (c) 2014 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup mips6429 /** @addtogroup libmathamd64 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef KERN_mips64_ELF_H_36 #define KERN_mips64_ELF_H_35 #ifndef LIBMATH_amd64_MATH_H_ 36 #define LIBMATH_amd64_MATH_H_ 37 37 38 # define ELF_MACHINE EM_MIPS38 #include <mod.h> 39 39 40 #ifdef __BE__ 41 #define ELF_DATA_ENCODING ELFDATA2MSB 42 #else 43 #define ELF_DATA_ENCODING ELFDATA2LSB 44 #endif 40 static inline double fmod(double dividend, double divisor) 41 { 42 return double_mod(dividend, divisor); 43 } 45 44 46 #define ELF_CLASS ELFCLASS64 45 extern double sin(double); 46 extern double cos(double); 47 extern double trunc(double); 47 48 48 49 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
