mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
missing: add cmath
This commit is contained in:
parent
5e45c9dfb0
commit
60d141c717
15
libraries/AP_Common/missing/cmath
Normal file
15
libraries/AP_Common/missing/cmath
Normal file
@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include_next <cmath>
|
||||
|
||||
#if defined(HAVE_CMATH_ISFINITE) && defined(NEED_CMATH_ISFINITE_STD_NAMESPACE)
|
||||
using std::isfinite;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_CMATH_ISINF) && defined(NEED_CMATH_ISINF_STD_NAMESPACE)
|
||||
using std::isinf;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_CMATH_ISNAN) && defined(NEED_CMATH_ISNAN_STD_NAMESPACE)
|
||||
using std::isnan;
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user