From 28c8ef5c9c52ca183e816cfd034c49fc25c86bde Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Wed, 14 Feb 2018 21:54:06 -0500 Subject: [PATCH] Use cmath in math.hpp --- include/util/math.hpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/util/math.hpp b/include/util/math.hpp index 03b08de6..e776fafd 100644 --- a/include/util/math.hpp +++ b/include/util/math.hpp @@ -1,9 +1,10 @@ #pragma once #include "util/common.hpp" -#ifndef _GLIBCXX_USE_C99_MATH - #define _GLIBCXX_USE_C99_MATH -#endif -#include +#include + + +// Use a few standard math functions without std:: +using std::isfinite; namespace rack {