Standardize the width of all comment boxes in C files

This commit is contained in:
Gregory Nutt
2015-10-02 17:43:18 -06:00
parent cb9e27c3b0
commit 5b51a9fcdd
230 changed files with 2054 additions and 2054 deletions
+5 -5
View File
@@ -140,7 +140,7 @@ b16_t b16mulb16(b16_t m1, b16_t m2)
/****************************************************************************
* Name: ub16mulub16
**************************************************************************/
****************************************************************************/
ub16_t ub16mulub16(ub16_t m1, ub16_t m2)
{
@@ -166,7 +166,7 @@ ub16_t ub16mulub16(ub16_t m1, ub16_t m2)
/****************************************************************************
* Name: b16sqr
**************************************************************************/
****************************************************************************/
b16_t b16sqr(b16_t a)
{
@@ -191,7 +191,7 @@ b16_t b16sqr(b16_t a)
/****************************************************************************
* Name: b16divb16
**************************************************************************/
****************************************************************************/
ub16_t ub16sqr(ub16_t a)
{
@@ -213,7 +213,7 @@ ub16_t ub16sqr(ub16_t a)
/****************************************************************************
* Name: b16divb16
**************************************************************************/
****************************************************************************/
b16_t b16divb16(b16_t num, b16_t denom)
{
@@ -227,7 +227,7 @@ b16_t b16divb16(b16_t num, b16_t denom)
/****************************************************************************
* Name: ub16divub16
**************************************************************************/
****************************************************************************/
ub16_t ub16divub16(ub16_t num, ub16_t denom)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_acos.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double acos(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_acosf.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float acosf(float x)
{
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_acosh.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double acosh(double x)
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_acoshf.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float acoshf(float x)
{
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_acoshl.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double acoshl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_acos.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double acosl(long double x)
+8 -8
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_sin.c
*
* This file is a part of NuttX:
@@ -23,11 +23,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
@@ -35,16 +35,16 @@
#include <math.h>
#include <float.h>
/************************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************************/
****************************************************************************/
#undef DBL_EPSILON
#define DBL_EPSILON 1e-12
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double asin(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_sinf.c
*
* This file is a part of NuttX:
@@ -23,18 +23,18 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
#include <float.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float asinf(float x)
{
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_asinh.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double asinh(double x)
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_asinhf.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float asinhf(float x)
{
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_asinhl.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double asinhl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_sinl.c
*
* This file is a part of NuttX:
@@ -23,11 +23,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
@@ -35,9 +35,9 @@
#include <math.h>
#include <float.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double asinl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atan.c
*
* This file is a part of NuttX:
@@ -23,11 +23,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
@@ -36,9 +36,9 @@
#include <stddef.h>
#include <stdint.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double atan(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atan2.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double atan2(double y, double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atan2f.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float atan2f(float y, float x)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atan2l.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double atan2l(long double y, long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atanf.c
*
* This file is a part of NuttX:
@@ -23,19 +23,19 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
#include <stddef.h>
#include <stdint.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float atanf(float x)
{
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atanh.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double atanh(double x)
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atanhf.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float atanhf(float x)
{
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atanhl.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
long double atanhl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_atanl.c
*
* This file is a part of NuttX:
@@ -23,11 +23,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
@@ -36,9 +36,9 @@
#include <stddef.h>
#include <stdint.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double atanl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_ceil.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double ceil(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_ceilf.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float ceilf(float x)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_ceil;.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double ceill(long double x)
+4 -4
View File
@@ -34,18 +34,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double copysign(double x, double y)
+4 -4
View File
@@ -34,18 +34,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float copysignf(float x, float y)
{
+4 -4
View File
@@ -34,18 +34,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double copysignl(long double x, long double y)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_cos.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double cos(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_cosf.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float cosf(float x)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_cosh.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double cosh(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_coshf.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float coshf(float x)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_coshl.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double coshl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_cosl.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double cosl(long double x)
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_erf.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double erf(double x)
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_erff.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float erff(float x)
{
+5 -5
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_erfl.c
*
* Copyright (C) 2015 Brennan Ashton. All rights reserved.
@@ -33,18 +33,18 @@
*
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double erfl(long double x)
+8 -8
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_exp.c
*
* This file is a part of NuttX:
@@ -23,11 +23,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
@@ -39,9 +39,9 @@
#ifdef CONFIG_HAVE_DOUBLE
/************************************************************************
/****************************************************************************
* Private Data
************************************************************************/
****************************************************************************/
static double _dbl_inv_fact[] =
{
@@ -66,9 +66,9 @@ static double _dbl_inv_fact[] =
1.0 / 6402373705728000.0, /* 1 / 18! */
};
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
double exp(double x)
{
+8 -8
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_expf.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <sys/types.h>
#include <math.h>
#include "lib_internal.h"
/************************************************************************
/****************************************************************************
* Private Data
************************************************************************/
****************************************************************************/
static float _flt_inv_fact[] =
{
@@ -53,9 +53,9 @@ static float _flt_inv_fact[] =
1.0 / 3628800.0, /* 1/10! */
};
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float expf(float x)
{
+8 -8
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_expl.c
*
* This file is a part of NuttX:
@@ -23,11 +23,11 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
@@ -39,9 +39,9 @@
#ifdef CONFIG_HAVE_LONG_DOUBLE
/************************************************************************
/****************************************************************************
* Private Data
************************************************************************/
****************************************************************************/
static long double _ldbl_inv_fact[] =
{
@@ -66,9 +66,9 @@ static long double _ldbl_inv_fact[] =
1.0 / 6402373705728000.0, /* 1 / 18! */
};
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
long double expl(long double x)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_fabs.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double fabs(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_fabsf.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float fabsf(float x)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_fabsl.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double fabsl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_floor.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double floor(double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_floorf.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float floorf(float x)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_floorl.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double floorl(long double x)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_fmod.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double fmod(double x, double div)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_fmodf.c
*
* This file is a part of NuttX:
@@ -23,17 +23,17 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float fmodf(float x, float div)
{
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_fmodl.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double fmodl(long double x, long double div)
+6 -6
View File
@@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_frexp.c
*
* This file is a part of NuttX:
@@ -23,20 +23,20 @@
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double frexp(double x, int *exponent)

Some files were not shown because too many files have changed in this diff Show More