61 Commits (master)

Author SHA1 Message Date
Andrew Tridgell 66b4e92444 AP_Math: make fill_nanf() use a signalling NaN 5 years ago
Peter Barker 6fe09b6120 AP_Math: move is_valid_octal into adsb 5 years ago
Peter Barker 975804fa35 AP_Math: remove unit_mod concept from wrap functions 5 years ago
Andrew Tridgell 9b746b89db AP_Math: added fill_nanf() 5 years ago
Peter Barker 5692f3d79e AP_Math: stop returning float for integer wrap_180/wrap_360 etc 5 years ago
Mark Whitehorn b515431008 AP_Math: add expo and throttle_curve functions 6 years ago
Peter Barker 381bb41a5e AP_Math: make constraining NaNs an internal error 6 years ago
Andrew Tridgell d4eaf09baf AP_Math: added rotation_equal() 6 years ago
Peter Barker 8fee27937a AP_Math: eliminate SITL float-equals issues 7 years ago
Peter Barker 6af0dcfed0 AP_Math: create a constrain_int64 7 years ago
Tom Pittenger 3653ba61d7 AP_Math: add is_valid_octal helper function. 7 years ago
Andrew Tridgell d4d7d1f734 AP_Math: avoid double maths when not needed 7 years ago
Andrew Tridgell f5b24a3838 AP_Math: fixed build of Sub with ChibiOS 7 years ago
Andrew Tridgell f088c3de23 AP_Math: added long templates 7 years ago
Miguel Arroyo 7cea21afa2 AP_Math: Moves rand_vec3f from SITL_State. 8 years ago
Francisco Ferreira da5060964b AP_Math: uniformize template type parameter keyword 8 years ago
Andrew Tridgell 2fcecaa7c5 AP_Math: added rand_float() 8 years ago
Lucas De Marchi 82d210144b AP_Math: remove warnings from constrain_value() 8 years ago
Lucas De Marchi 2605c7265b AP_Math: remove warnings from safe_asin() 8 years ago
Lucas De Marchi 4f8d2059f8 AP_Math: use right epsilon for is_equal() 8 years ago
murata e903cb9945 AP_Math: Change mask value to hexadecimal number. 8 years ago
Pierre Kancir da49149d19 AP_Math: is_equal correct comparison for integer as epsilon doesn't exist. 8 years ago
Andrew Tridgell a8d10e8c2c AP_Math: added get_random16() 8 years ago
Ricardo de Almeida Gonzaga 481e3a2af6 AP_Math: Fix typos 9 years ago
dgrat 6d3b491c02 AP_Math: Replace is_equal with a type safe template function 9 years ago
dgrat 503867b7dc AP_Math: Replace safe_sqrt() by template function 9 years ago
dgrat 5deb0e8e03 AP_Math: Replace safe_asin() by template function 9 years ago
Lucas De Marchi 846b4927ec AP_Math: use if/else chain instead of 2 ternary operators 9 years ago
dgrat 174f899a29 AP_Math: Replace the constrain_* functions by a single template 9 years ago
Lucas De Marchi 880f130670 AP_Math: fix loss of precision on float addition 9 years ago
dgrat 76362caee0 AP_Math: Replace wrap_* functions with template versions 9 years ago
Andrew Tridgell 6bff07397e AP_Math: added linear_interpolate() function 9 years ago
dgrat 5148e41c1a AP_Math: Cleaned macro definitions 9 years ago
dgrat 7c4c8ea579 AP_Math: Remove ROTATION_COMBINATION_SUPPORT 9 years ago
Valmantas Palikša d4daf19151 AP_Math: Move simple math function implementations to header for better 10 years ago
Randy Mackay 46c652e42f Math: maxf and minf functions 10 years ago
Andrew Tridgell 77a2b4acf6 AP_Math: removed fast_atan 10 years ago
Tom Pittenger 4ec2fb3a9c AP_Math: Compiler warnings: nuke fast_atan2() 10 years ago
Tom Pittenger 6e6f481ecb AP_Math: compiler warnings: apply is_zero(float) or is_equal(float) 10 years ago
Andrew Tridgell eca675c556 AP_Math: fix for HAL_SITL rename 10 years ago
Randy Mackay 0392292489 AP_Math: inline is_equal, add is_zero 10 years ago
dgrat 726d7df710 AP_Math: add is_equal to compare floats 10 years ago
Tom Pittenger a8dda9f2ed AP_Math: fix compile warnings re float constants 10 years ago
Jonathan Challinger 5f7480b740 AP_Math: change fast_atan2 to use atan2f on fast CPUs 10 years ago
David Dewey 17374ff5e8 AP_Math: fast_atan2 11 years ago
Randy Mackay d81b7b507d Math: add Leonard's fast tan function 12 years ago
Andrew Tridgell ba83950fc4 libraries: replace constrain() with constrain_float() 12 years ago
Andrew Tridgell 83dc7dbc92 AP_Math: handle NaN in constrain(), returning average 12 years ago
James Bielman 5631f865b2 Update floating point calculations to use floats instead of doubles. 12 years ago
Andrew Tridgell 38062bbb6d AP_Math: support some more rotation combinations 12 years ago