summaryrefslogtreecommitdiff
path: root/muse2/muse/fastlog.h
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/fastlog.h')
-rw-r--r--muse2/muse/fastlog.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/muse2/muse/fastlog.h b/muse2/muse/fastlog.h
index b992bd49..bbcf18cc 100644
--- a/muse2/muse/fastlog.h
+++ b/muse2/muse/fastlog.h
@@ -28,6 +28,8 @@
#include <math.h> /* for HUGE_VAL */
+namespace MusECore {
+
static inline float fast_log2 (float val)
{
/* don't use reinterpret_cast<> because that prevents this
@@ -57,4 +59,6 @@ static inline float fast_log10 (const float val)
static inline float minus_infinity() { return -HUGE_VAL; }
+} // namespace MusECore
+
#endif /* __pbd_fastlog_h__ */