diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-01 23:09:11 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-08-01 23:09:11 +0000 |
commit | bae58be673c63bd01fc68dbfc5d44d66ab1e8070 (patch) | |
tree | df7f1829a27382e3356d9c953eecf4905a2d8fd6 /nuttx/include/fixedmath.h | |
parent | 1b532f4111bba2d91cd794b2826b2276c868c494 (diff) | |
download | px4-nuttx-bae58be673c63bd01fc68dbfc5d44d66ab1e8070.tar.gz px4-nuttx-bae58be673c63bd01fc68dbfc5d44d66ab1e8070.tar.bz2 px4-nuttx-bae58be673c63bd01fc68dbfc5d44d66ab1e8070.zip |
Add fixed precision atan2() function
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3834 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/fixedmath.h')
-rw-r--r-- | nuttx/include/fixedmath.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nuttx/include/fixedmath.h b/nuttx/include/fixedmath.h index b139acf5b..dfa82d156 100644 --- a/nuttx/include/fixedmath.h +++ b/nuttx/include/fixedmath.h @@ -217,6 +217,7 @@ EXTERN ub16_t ub16divub16(ub16_t num, ub16_t denom); EXTERN b16_t b16sin(b16_t rad); EXTERN b16_t b16cos(b16_t rad); +EXTERN b16_t b16atan2(b16_t y, b16_t x); #undef EXTERN #if defined(__cplusplus) |