-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #562 from agoode/misc
A handful of improvements related to cross compiling
- Loading branch information
Showing
10 changed files
with
68 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,27 @@ | ||
#include "platform.h" | ||
|
||
const C_Int_t IEEEReal_RoundingMode_FE_NOSUPPORT = FE_NOSUPPORT; | ||
|
||
#ifdef FE_TONEAREST | ||
const C_Int_t IEEEReal_RoundingMode_FE_TONEAREST = FE_TONEAREST; | ||
#else | ||
const C_Int_t IEEEReal_RoundingMode_FE_TONEAREST = FE_NOSUPPORT; | ||
#endif | ||
|
||
#ifdef FE_DOWNWARD | ||
const C_Int_t IEEEReal_RoundingMode_FE_DOWNWARD = FE_DOWNWARD; | ||
const C_Int_t IEEEReal_RoundingMode_FE_NOSUPPORT = FE_NOSUPPORT; | ||
#else | ||
const C_Int_t IEEEReal_RoundingMode_FE_DOWNWARD = FE_NOSUPPORT; | ||
#endif | ||
|
||
#ifdef FE_UPWARD | ||
const C_Int_t IEEEReal_RoundingMode_FE_UPWARD = FE_UPWARD; | ||
#else | ||
const C_Int_t IEEEReal_RoundingMode_FE_UPWARD = FE_NOSUPPORT; | ||
#endif | ||
|
||
#ifdef FE_TOWARDZERO | ||
const C_Int_t IEEEReal_RoundingMode_FE_TOWARDZERO = FE_TOWARDZERO; | ||
#else | ||
const C_Int_t IEEEReal_RoundingMode_FE_TOWARDZERO = FE_NOSUPPORT; | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters