Commit Graph

10 Commits

Author SHA1 Message Date
James Bielman 5631f865b2 Update floating point calculations to use floats instead of doubles.
- Allows use of hardware floating point on the Cortex-M4.
- Added "f" suffix to floating point literals.
- Call floating point versions of stdlib math functions.
2013-01-16 13:52:01 +11:00
Andrew Tridgell 477ed294c6 CPUInfo: begin_atomic/end_atomic have been removed 2013-01-04 14:59:56 +11:00
Andrew Tridgell a56b8c7b67 Tools: port a couple of test sketches to PX4 2013-01-02 18:00:49 +11:00
Andrew Tridgell 2760c182f5 Tools: fixed CPUInfo build under SITL 2012-12-20 14:52:34 +11:00
Andrew Tridgell 07d8690fbe Tools: convert CPUInfo to AP_HAL 2012-12-20 14:52:30 +11:00
Andrew Tridgell adf6030cfa CPUInfo: added acos(), asin() and atan2() 2012-07-05 13:00:46 +10:00
Andrew Tridgell bb352c6bcf don't need AP_Math.h here any more 2012-02-18 10:51:57 +11:00
Andrew Tridgell 85ecb05261 CPUInfo: added timing of sqrt() 2012-02-18 10:51:57 +11:00
Andrew Tridgell 11ff665ca0 CPUInfo: show the speed of 64 bit maths 2011-12-19 18:52:56 +11:00
Andrew Tridgell d5b19840f0 Tools: added CPUInfo sketch
this shows the approximate cost of a wide range of common operations,
and the sizes of most data types
2011-09-17 14:58:02 +10:00