mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-08 02:57:16 +08:00
AP_Math: define M_PI to more digits for use by code that uses DOUBLE_PRECISION_SOURCES
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
#ifdef M_PI
|
||||
# undef M_PI
|
||||
#endif
|
||||
#define M_PI (3.141592653589793)
|
||||
#define M_PI (3.141592653589793238462643383279502884)
|
||||
|
||||
#ifdef M_PI_2
|
||||
# undef M_PI_2
|
||||
|
||||
Reference in New Issue
Block a user