ardupilot/libraries/AP_Math/tests
Lucas De Marchi 880f130670 AP_Math: fix loss of precision on float addition
When using wrap_180_cd() we are adding a small float (180 * 100) to a
possibly big number. This may lose float precision as illustrated by the
unit test failing:

    OUT: ../../libraries/AP_Math/tests/test_math.cpp:195: Failure
    OUT: Value of: wrap_180_cd(-3600000000.f)
    OUT:   Actual: -80
    OUT: Expected: 0.f
    OUT: Which is: 0
2016-05-10 11:41:26 -03:00
..
test_math.cpp AP_Math: fix loss of precision on float addition 2016-05-10 11:41:26 -03:00
wscript waf: ardupilotwaf: prefix build context methods with ap_ 2016-01-22 20:10:29 -02:00