Browse Source

Use cmath in math.hpp

tags/v0.6.0
Andrew Belt 7 years ago
parent
commit
28c8ef5c9c
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      include/util/math.hpp

+ 5
- 4
include/util/math.hpp View File

@@ -1,9 +1,10 @@
#pragma once
#include "util/common.hpp"
#ifndef _GLIBCXX_USE_C99_MATH
#define _GLIBCXX_USE_C99_MATH
#endif
#include <math.h>
#include <cmath>


// Use a few standard math functions without std::
using std::isfinite;


namespace rack {


Loading…
Cancel
Save