mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
CPUInfo: add fast_atan2
This commit is contained in:
parent
17374ff5e8
commit
919b0ea29b
@ -121,6 +121,7 @@ static void show_timings(void)
|
||||
TIMEIT("acos()", v_out = acosf(v_f * 0.2), 20);
|
||||
TIMEIT("asin()", v_out = asinf(v_f * 0.2), 20);
|
||||
TIMEIT("atan2()", v_out = atan2f(v_f * 0.2, v_f * 0.3), 20);
|
||||
TIMEIT("fast_atan2()", v_out = fast_atan2(v_f * 0.2, v_f * 0.3), 20);
|
||||
TIMEIT("sqrt()",v_out = sqrtf(v_f), 20);
|
||||
|
||||
TIMEIT("iadd8", v_out_8 += v_8, 100);
|
||||
|
Loading…
Reference in New Issue
Block a user