summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-09-08 08:02:37 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-09-08 08:02:37 -0600
commitbacc3ab07b187e1bc24135915260f914e6c84b0a (patch)
tree7a5c45a59a9d661aa7c59dc717f1b5a7b5762cbb
parentc75f33cef1d69ad20a7dd7b4b136ab54452e941a (diff)
downloadnuttx-bacc3ab07b187e1bc24135915260f914e6c84b0a.tar.gz
nuttx-bacc3ab07b187e1bc24135915260f914e6c84b0a.tar.bz2
nuttx-bacc3ab07b187e1bc24135915260f914e6c84b0a.zip
Change commenting style to agree with coding standard
-rw-r--r--nuttx/libc/math/lib_exp.c38
-rw-r--r--nuttx/libc/math/lib_expf.c22
-rw-r--r--nuttx/libc/math/lib_expl.c38
-rw-r--r--nuttx/libc/math/lib_libexpi.c22
-rw-r--r--nuttx/libc/math/lib_sin.c20
-rw-r--r--nuttx/libc/math/lib_sinf.c12
-rw-r--r--nuttx/libc/math/lib_sinl.c20
7 files changed, 86 insertions, 86 deletions
diff --git a/nuttx/libc/math/lib_exp.c b/nuttx/libc/math/lib_exp.c
index c528d375b..c07e6783c 100644
--- a/nuttx/libc/math/lib_exp.c
+++ b/nuttx/libc/math/lib_exp.c
@@ -45,25 +45,25 @@
static double _dbl_inv_fact[] =
{
- 1.0 / 1.0, // 1 / 0!
- 1.0 / 1.0, // 1 / 1!
- 1.0 / 2.0, // 1 / 2!
- 1.0 / 6.0, // 1 / 3!
- 1.0 / 24.0, // 1 / 4!
- 1.0 / 120.0, // 1 / 5!
- 1.0 / 720.0, // 1 / 6!
- 1.0 / 5040.0, // 1 / 7!
- 1.0 / 40320.0, // 1 / 8!
- 1.0 / 362880.0, // 1 / 9!
- 1.0 / 3628800.0, // 1 / 10!
- 1.0 / 39916800.0, // 1 / 11!
- 1.0 / 479001600.0, // 1 / 12!
- 1.0 / 6227020800.0, // 1 / 13!
- 1.0 / 87178291200.0, // 1 / 14!
- 1.0 / 1307674368000.0, // 1 / 15!
- 1.0 / 20922789888000.0, // 1 / 16!
- 1.0 / 355687428096000.0, // 1 / 17!
- 1.0 / 6402373705728000.0, // 1 / 18!
+ 1.0 / 1.0, /* 1 / 0! */
+ 1.0 / 1.0, /* 1 / 1! */
+ 1.0 / 2.0, /* 1 / 2! */
+ 1.0 / 6.0, /* 1 / 3! */
+ 1.0 / 24.0, /* 1 / 4! */
+ 1.0 / 120.0, /* 1 / 5! */
+ 1.0 / 720.0, /* 1 / 6! */
+ 1.0 / 5040.0, /* 1 / 7! */
+ 1.0 / 40320.0, /* 1 / 8! */
+ 1.0 / 362880.0, /* 1 / 9! */
+ 1.0 / 3628800.0, /* 1 / 10! */
+ 1.0 / 39916800.0, /* 1 / 11! */
+ 1.0 / 479001600.0, /* 1 / 12! */
+ 1.0 / 6227020800.0, /* 1 / 13! */
+ 1.0 / 87178291200.0, /* 1 / 14! */
+ 1.0 / 1307674368000.0, /* 1 / 15! */
+ 1.0 / 20922789888000.0, /* 1 / 16! */
+ 1.0 / 355687428096000.0, /* 1 / 17! */
+ 1.0 / 6402373705728000.0, /* 1 / 18! */
};
/************************************************************************
diff --git a/nuttx/libc/math/lib_expf.c b/nuttx/libc/math/lib_expf.c
index 8e223049c..eaa9e0d06 100644
--- a/nuttx/libc/math/lib_expf.c
+++ b/nuttx/libc/math/lib_expf.c
@@ -40,17 +40,17 @@
static float _flt_inv_fact[] =
{
- 1.0 / 1.0, // 1/0!
- 1.0 / 1.0, // 1/1!
- 1.0 / 2.0, // 1/2!
- 1.0 / 6.0, // 1/3!
- 1.0 / 24.0, // 1/4!
- 1.0 / 120.0, // 1/5!
- 1.0 / 720.0, // 1/6!
- 1.0 / 5040.0, // 1/7!
- 1.0 / 40320.0, // 1/8!
- 1.0 / 362880.0, // 1/9!
- 1.0 / 3628800.0, // 1/10!
+ 1.0 / 1.0, /* 1/0! */
+ 1.0 / 1.0, /* 1/1! */
+ 1.0 / 2.0, /* 1/2! */
+ 1.0 / 6.0, /* 1/3! */
+ 1.0 / 24.0, /* 1/4! */
+ 1.0 / 120.0, /* 1/5! */
+ 1.0 / 720.0, /* 1/6! */
+ 1.0 / 5040.0, /* 1/7! */
+ 1.0 / 40320.0, /* 1/8! */
+ 1.0 / 362880.0, /* 1/9! */
+ 1.0 / 3628800.0, /* 1/10! */
};
/************************************************************************
diff --git a/nuttx/libc/math/lib_expl.c b/nuttx/libc/math/lib_expl.c
index a5c1d6f53..e14eb586d 100644
--- a/nuttx/libc/math/lib_expl.c
+++ b/nuttx/libc/math/lib_expl.c
@@ -45,25 +45,25 @@
static long double _ldbl_inv_fact[] =
{
- 1.0 / 1.0, // 1 / 0!
- 1.0 / 1.0, // 1 / 1!
- 1.0 / 2.0, // 1 / 2!
- 1.0 / 6.0, // 1 / 3!
- 1.0 / 24.0, // 1 / 4!
- 1.0 / 120.0, // 1 / 5!
- 1.0 / 720.0, // 1 / 6!
- 1.0 / 5040.0, // 1 / 7!
- 1.0 / 40320.0, // 1 / 8!
- 1.0 / 362880.0, // 1 / 9!
- 1.0 / 3628800.0, // 1 / 10!
- 1.0 / 39916800.0, // 1 / 11!
- 1.0 / 479001600.0, // 1 / 12!
- 1.0 / 6227020800.0, // 1 / 13!
- 1.0 / 87178291200.0, // 1 / 14!
- 1.0 / 1307674368000.0, // 1 / 15!
- 1.0 / 20922789888000.0, // 1 / 16!
- 1.0 / 355687428096000.0, // 1 / 17!
- 1.0 / 6402373705728000.0, // 1 / 18!
+ 1.0 / 1.0, /* 1 / 0! */
+ 1.0 / 1.0, /* 1 / 1! */
+ 1.0 / 2.0, /* 1 / 2! */
+ 1.0 / 6.0, /* 1 / 3! */
+ 1.0 / 24.0, /* 1 / 4! */
+ 1.0 / 120.0, /* 1 / 5! */
+ 1.0 / 720.0, /* 1 / 6! */
+ 1.0 / 5040.0, /* 1 / 7! */
+ 1.0 / 40320.0, /* 1 / 8! */
+ 1.0 / 362880.0, /* 1 / 9! */
+ 1.0 / 3628800.0, /* 1 / 10! */
+ 1.0 / 39916800.0, /* 1 / 11! */
+ 1.0 / 479001600.0, /* 1 / 12! */
+ 1.0 / 6227020800.0, /* 1 / 13! */
+ 1.0 / 87178291200.0, /* 1 / 14! */
+ 1.0 / 1307674368000.0, /* 1 / 15! */
+ 1.0 / 20922789888000.0, /* 1 / 16! */
+ 1.0 / 355687428096000.0, /* 1 / 17! */
+ 1.0 / 6402373705728000.0, /* 1 / 18! */
};
/************************************************************************
diff --git a/nuttx/libc/math/lib_libexpi.c b/nuttx/libc/math/lib_libexpi.c
index 9abc30274..6c26d6b91 100644
--- a/nuttx/libc/math/lib_libexpi.c
+++ b/nuttx/libc/math/lib_libexpi.c
@@ -60,17 +60,17 @@
static double _expi_square_tbl[11] =
{
- M_E, // e^1
- M_E2, // e^2
- M_E4, // e^4
- M_E8, // e^8
- M_E16, // e^16
- M_E32, // e^32
- M_E64, // e^64
- M_E128, // e^128
- M_E256, // e^256
- M_E512, // e^512
- M_E1024, // e^1024
+ M_E, /* e^1 */
+ M_E2, /* e^2 */
+ M_E4, /* e^4 */
+ M_E8, /* e^8 */
+ M_E16, /* e^16 */
+ M_E32, /* e^32 */
+ M_E64, /* e^64 */
+ M_E128, /* e^128 */
+ M_E256, /* e^256 */
+ M_E512, /* e^512 */
+ M_E1024, /* e^1024 */
};
/************************************************************************
diff --git a/nuttx/libc/math/lib_sin.c b/nuttx/libc/math/lib_sin.c
index c4950426b..46d8992f8 100644
--- a/nuttx/libc/math/lib_sin.c
+++ b/nuttx/libc/math/lib_sin.c
@@ -43,16 +43,16 @@
static double _dbl_inv_fact[] =
{
- 1.0 / 1.0, // 1 / 1!
- 1.0 / 6.0, // 1 / 3!
- 1.0 / 120.0, // 1 / 5!
- 1.0 / 5040.0, // 1 / 7!
- 1.0 / 362880.0, // 1 / 9!
- 1.0 / 39916800.0, // 1 / 11!
- 1.0 / 6227020800.0, // 1 / 13!
- 1.0 / 1307674368000.0, // 1 / 15!
- 1.0 / 355687428096000.0, // 1 / 17!
- 1.0 / 121645100408832000.0, // 1 / 19!
+ 1.0 / 1.0, /* 1 / 1! */
+ 1.0 / 6.0, /* 1 / 3! */
+ 1.0 / 120.0, /* 1 / 5! */
+ 1.0 / 5040.0, /* 1 / 7! */
+ 1.0 / 362880.0, /* 1 / 9! */
+ 1.0 / 39916800.0, /* 1 / 11! */
+ 1.0 / 6227020800.0, /* 1 / 13! */
+ 1.0 / 1307674368000.0, /* 1 / 15! */
+ 1.0 / 355687428096000.0, /* 1 / 17! */
+ 1.0 / 121645100408832000.0, /* 1 / 19! */
};
/************************************************************************
diff --git a/nuttx/libc/math/lib_sinf.c b/nuttx/libc/math/lib_sinf.c
index 680debcf2..ba2a553eb 100644
--- a/nuttx/libc/math/lib_sinf.c
+++ b/nuttx/libc/math/lib_sinf.c
@@ -38,12 +38,12 @@
static float _flt_inv_fact[] =
{
- 1.0 / 1.0, // 1 / 1!
- 1.0 / 6.0, // 1 / 3!
- 1.0 / 120.0, // 1 / 5!
- 1.0 / 5040.0, // 1 / 7!
- 1.0 / 362880.0, // 1 / 9!
- 1.0 / 39916800.0, // 1 / 11!
+ 1.0 / 1.0, /* 1 / 1! */
+ 1.0 / 6.0, /* 1 / 3! */
+ 1.0 / 120.0, /* 1 / 5! */
+ 1.0 / 5040.0, /* 1 / 7! */
+ 1.0 / 362880.0, /* 1 / 9! */
+ 1.0 / 39916800.0, /* 1 / 11! */
};
/************************************************************************
diff --git a/nuttx/libc/math/lib_sinl.c b/nuttx/libc/math/lib_sinl.c
index 7c83496e7..b288316b1 100644
--- a/nuttx/libc/math/lib_sinl.c
+++ b/nuttx/libc/math/lib_sinl.c
@@ -43,16 +43,16 @@
static long double _ldbl_inv_fact[] =
{
- 1.0 / 1.0, // 1 / 1!
- 1.0 / 6.0, // 1 / 3!
- 1.0 / 120.0, // 1 / 5!
- 1.0 / 5040.0, // 1 / 7!
- 1.0 / 362880.0, // 1 / 9!
- 1.0 / 39916800.0, // 1 / 11!
- 1.0 / 6227020800.0, // 1 / 13!
- 1.0 / 1307674368000.0, // 1 / 15!
- 1.0 / 355687428096000.0, // 1 / 17!
- 1.0 / 121645100408832000.0, // 1 / 19!
+ 1.0 / 1.0, /* 1 / 1! */
+ 1.0 / 6.0, /* 1 / 3! */
+ 1.0 / 120.0, /* 1 / 5! */
+ 1.0 / 5040.0, /* 1 / 7! */
+ 1.0 / 362880.0, /* 1 / 9! */
+ 1.0 / 39916800.0, /* 1 / 11! */
+ 1.0 / 6227020800.0, /* 1 / 13! */
+ 1.0 / 1307674368000.0, /* 1 / 15! */
+ 1.0 / 355687428096000.0, /* 1 / 17! */
+ 1.0 / 121645100408832000.0, /* 1 / 19! */
};
/************************************************************************