Fixed inclusions in matrix/

This commit is contained in:
Pavel Kirienko
2017-03-17 13:31:05 +03:00
committed by James Goppert
parent b74749fb61
commit 552dad40a1
5 changed files with 91 additions and 4 deletions
-1
View File
@@ -8,7 +8,6 @@
#pragma once
#include <cmath>
#include <cstdio>
#include <cstring>
-2
View File
@@ -8,8 +8,6 @@
#pragma once
#include <cmath>
#include "math.hpp"
namespace matrix
-1
View File
@@ -1,7 +1,6 @@
#pragma once
#include "math.hpp"
#include <cmath>
namespace matrix
{
+1
View File
@@ -1,5 +1,6 @@
#pragma once
#include "stdlib_imports.hpp"
#ifdef __PX4_QURT
#include "dspal_math.h"
#endif
+90
View File
@@ -0,0 +1,90 @@
/**
* @file stdlib_imports.hpp
*
* @author Pavel Kirienko <pavel.kirienko@zubax.com>
*/
#pragma once
#include <cmath>
#include <cstdlib>
#include <cinttypes>
namespace matrix {
using std::abs;
using std::div;
using std::fabs;
using std::fmod;
using std::exp;
using std::log;
using std::log10;
using std::pow;
using std::sqrt;
using std::sin;
using std::cos;
using std::tan;
using std::asin;
using std::acos;
using std::atan;
using std::atan2;
using std::sinh;
using std::cosh;
using std::tanh;
using std::ceil;
using std::floor;
using std::frexp;
using std::ldexp;
using std::modf;
using std::fpclassify;
using std::isfinite;
using std::isinf;
using std::isnan;
using std::isnormal;
using std::signbit;
using std::isgreater;
using std::isgreaterequal;
using std::isless;
using std::islessequal;
using std::islessgreater;
using std::isunordered;
#if __cplusplus >= 201103L
using std::imaxabs;
using std::imaxdiv;
using std::remainder;
using std::remquo;
using std::fma;
using std::fmax;
using std::fmin;
using std::fdim;
using std::nan;
using std::nanf;
using std::nanl;
using std::exp2;
using std::expm1;
using std::log2;
using std::log1p;
using std::cbrt;
using std::hypot;
using std::asinh;
using std::acosh;
using std::atanh;
using std::erf;
using std::erfc;
using std::tgamma;
using std::lgamma;
using std::trunc;
using std::round;
using std::nearbyint;
using std::rint;
using std::scalbn;
using std::ilogb;
using std::logb;
using std::nextafter;
using std::copysign;
#endif
}