Skip to content
Snippets Groups Projects
Commit f3abd9a5 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

The function should be called exp10 and now pow10

parent 77e3b806
No related branches found
No related tags found
1 merge request!697Add functions to calculate temperature of particles.
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
* *
* @param x The input value. * @param x The input value.
*/ */
__attribute__((always_inline, const)) INLINE static double pow10( __attribute__((always_inline, const)) INLINE static double exp10(
const double x) { const double x) {
return exp(x * M_LN10); return exp(x * M_LN10);
...@@ -52,7 +52,7 @@ __attribute__((always_inline, const)) INLINE static double pow10( ...@@ -52,7 +52,7 @@ __attribute__((always_inline, const)) INLINE static double pow10(
* *
* @param x The input value. * @param x The input value.
*/ */
__attribute__((always_inline, const)) INLINE static float pow10f( __attribute__((always_inline, const)) INLINE static float exp10f(
const float x) { const float x) {
return expf(x * (float)M_LN10); return expf(x * (float)M_LN10);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment