Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
a5570ee6
Commit
a5570ee6
authored
Jun 18, 2010
by
Stefan Philips
Browse files
[FIX] fixed some violations of the coding standard
parent
c8eca037
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/common/math/WMath.h
src/common/math/WMath.h
+3
-3
No files found.
src/common/math/WMath.h
View file @
a5570ee6
...
...
@@ -25,9 +25,10 @@
#ifndef WMATH_H
#define WMATH_H
#include <boost/math/constants/constants.hpp>
#include <cmath>
#include <boost/math/constants/constants.hpp>
#if defined ( _MSC_VER )
#include "float.h"
#endif
...
...
@@ -43,7 +44,7 @@ namespace wmath
const
float
piFloat
=
boost
::
math
::
constants
::
pi
<
float
>
();
/** the pi constant in double format */
const
double
piDouble
=
boost
::
math
::
constants
::
pi
<
double
>
();
/**
* Tests whether the number stored in the parameter is finite.
* \param number the number to be tested
...
...
@@ -84,7 +85,6 @@ inline unsigned int evenFactorial( unsigned int border )
result
*=
i
;
return
result
;
}
}
#endif // WMATH_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment