Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
04011bda
Commit
04011bda
authored
6 years ago
by
Josh Borrow
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a botched merge
parent
7f5cdd5b
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!763
Uninitialised Variable in EAGLE Cooling
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/exp10.h
+4
-15
4 additions, 15 deletions
src/exp10.h
with
4 additions
and
15 deletions
src/exp10.h
+
4
−
15
View file @
04011bda
...
...
@@ -28,7 +28,7 @@
/* Local headers. */
#include
"inline.h"
#if !defined(HAVE_EXP10) && !defined(HAVE___EXP10)
)
#if !defined(HAVE_EXP10) && !defined(HAVE___EXP10)
/**
* @brief Raises 10 to the power of the argument.
...
...
@@ -46,7 +46,7 @@ __attribute__((always_inline, const)) INLINE static double exp10(
#endif
#if !defined(HAVE_EXP10F) && !defined(HAVE___EXP10F)
)
#if !defined(HAVE_EXP10F) && !defined(HAVE___EXP10F)
/**
* @brief Raises 10 to the power of the argument.
...
...
@@ -65,23 +65,12 @@ __attribute__((always_inline, const)) INLINE static float exp10f(
#endif
/* Use the __exp10 and __exp10f versions if needed. */
#if !defined(HAVE_EXP10) && defined(HAVE___EXP10)
)
#if !defined(HAVE_EXP10) && defined(HAVE___EXP10)
#define exp10(x) __exp10(x)
#endif
#if !defined(HAVE_EXP10F) && defined(HAVE___EXP10F)
)
#if !defined(HAVE_EXP10F) && defined(HAVE___EXP10F)
#define exp10f(x) __exp10f(x)
#endif
#if defined(__clang__) && defined(__APPLE__)
/* Apple-clang does have the exp10 and exp10f functions built in
* variants, but these must be exposed to the code as they begin
* as hidden. */
#define exp10 __exp10
#define exp10f __exp10f
#endif
/* __clang__ */
#endif
/* SWIFT_EXP10_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment