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

2
arch

@ -1 +1 @@
Subproject commit 8cd57d72bc48ab44b21fa36aa117367c2e8d0129
Subproject commit 6a1d7e2d00220168220fd511937fe3680f3627ef

View file

@ -65,11 +65,11 @@
* Private Functions
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Public Functions
***********************************************************************/
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Name: dump_module
*
* Description:
@ -80,7 +80,7 @@
* 0 (OK) is returned on success and a negated errno is returned on
* failure.
*
***********************************************************************/
****************************************************************************/
int dump_module(FAR const struct binary_s *bin)
{

View file

@ -227,11 +227,11 @@ errout:
return ret;
}
/***********************************************************************
/****************************************************************************
* Public Functions
***********************************************************************/
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Name: nxflat_initialize
*
* Description:
@ -244,7 +244,7 @@ errout:
* 0 (OK) is returned on success and a negated errno is returned on
* failure.
*
***********************************************************************/
****************************************************************************/
int nxflat_initialize(void)
{

View file

@ -62,9 +62,9 @@
* Private Functions
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Public Functions
***********************************************************************/
****************************************************************************/
/****************************************************************************
* Name: symtab_findbyname

View file

@ -62,9 +62,9 @@
* Private Functions
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Public Functions
***********************************************************************/
****************************************************************************/
/****************************************************************************
* Name: symtab_findbyvalue

View file

@ -62,9 +62,9 @@
* Private Functions
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Public Functions
***********************************************************************/
****************************************************************************/
/****************************************************************************
* Name: symtab_findorderedbyname

View file

@ -62,9 +62,9 @@
* Private Functions
****************************************************************************/
/***********************************************************************
/****************************************************************************
* Public Functions
***********************************************************************/
****************************************************************************/
/****************************************************************************
* Name: symtab_findorderedbyvalue

@ -1 +1 @@
Subproject commit 7e3617b29222394a5bcc1f20dab7ab9c8a35cda1
Subproject commit 35414c3a91d471276c7ff7ddc2ef8ba8a47aa9cd

View file

@ -35,7 +35,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
**************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/arch.h>

View file

@ -32,7 +32,7 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
**************************************************************************/
****************************************************************************/
#include <stdint.h>
#include <string.h>

View file

@ -438,7 +438,7 @@ static void spi_exchange(FAR struct spi_dev_s *dev,
}
}
/***************************************************************************
/****************************************************************************
* Name: spi_sndblock
*
* Description:

View file

@ -872,7 +872,7 @@ errout_with_alloc:
* Returned Value:
* None
*
***************************************************************************/
****************************************************************************/
void composite_uninitialize(FAR void *handle)
{

View file

@ -1,4 +1,4 @@
/**************************************************************************
/****************************************************************************
* drivers/wireless/cc3000/cc3000drv.c
* Driver wrapper functions to conntect nuttx to the TI CC3000
*

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* fs/mqueue/mq_unlink.c
*
* Copyright (C) 2007, 2009, 2014 Gregory Nutt. All rights reserved.
@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@ -49,31 +49,31 @@
#include "inode/inode.h"
#include "mqueue/mqueue.h"
/************************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Private Type Declarations
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Public Data
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Private Variables
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Private Functions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Name: mq_unlink
*
* Description:
@ -90,7 +90,7 @@
*
* Assumptions:
*
************************************************************************/
****************************************************************************/
int mq_unlink(FAR const char *mq_name)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* fs/vfs/fs_sendfile.c
*
* Copyright (C) 2007, 2009, 2011, 2013 Gregory Nutt. All rights reserved.
@ -31,11 +31,11 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@ -51,27 +51,27 @@
#if CONFIG_NFILE_DESCRIPTORS > 0 && CONFIG_NET_SENDFILE
/************************************************************************
/****************************************************************************
* Private types
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Private Variables
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Public Data
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Private Functions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Name: sendfile
*
* Description:
@ -114,7 +114,7 @@
* EINVAL - Bad input parameters.
* ENOMEM - Could not allocated an I/O buffer
*
************************************************************************/
****************************************************************************/
ssize_t sendfile(int outfd, int infd, off_t *offset, size_t count)
{

View file

@ -108,7 +108,7 @@ errout:
return ERROR;
}
/***************************************************************************
/****************************************************************************
* Name: write
*
* Description:

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)
{

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)

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)
{

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)

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)
{

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)

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)

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)

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)
{

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)

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)
{

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)

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)

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)

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)

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)
{

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)

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)
{

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)

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)
{

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)

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)

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)

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)
{

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)

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)

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)
{

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)

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)

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)
{

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)

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)
{

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)

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)

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)

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)
{

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)

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)
{

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)
{

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)
{

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)

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)
{

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)

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)

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)
{

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)

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)

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)
{

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)

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)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_frexpf.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 frexpf(float x, int *exponent)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_frexpl.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 frexpl(long double x, int *exponent)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_ldexp.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 ldexp(double x, int n)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_ldexpf.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 ldexpf(float x, int n)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_ldexpl.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 ldexpl(long double x, int n)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_libexpi.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,13 +35,13 @@
#include <sys/types.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************************/
****************************************************************************/
#define M_E2 (M_E * M_E)
#define M_E4 (M_E2 * M_E2)
@ -54,9 +54,9 @@
#define M_E512 (M_E256 * M_E256)
#define M_E1024 (M_E512 * M_E512)
/************************************************************************
/****************************************************************************
* Private Data
************************************************************************/
****************************************************************************/
static double _expi_square_tbl[11] =
{
@ -73,9 +73,9 @@ static double _expi_square_tbl[11] =
M_E1024, /* e^1024 */
};
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
double lib_expi(size_t n)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_libsqrtapprox.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 <stdint.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float lib_sqrtapprox(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_log.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_DOUBLE
double log(double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_log10.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 log10(double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_log10f.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 log10f(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_log10l.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 log10l(long double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_log2.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 log2(double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_log2f.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 log2f(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_log2l.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 log2l(long double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_logf.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 logf(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_lol.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 logl(long double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_modf.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 <stdint.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double modf(double x, double *iptr)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_modff.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 modff(float x, float *iptr)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_modfl.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 <stdint.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double modfl(long double x, long double *iptr)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_pow.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 pow(double b, double e)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_powf.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 powf(float b, float e)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_powl.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 powl(long double b, long double e)

View file

@ -1,4 +1,4 @@
/************************************************************
/****************************************************************************
* libc/fixedmath/lib_rint.c
*
* Copyright (C) 2007, 2011, 2014 Gregory Nutt. All rights reserved.
@ -31,15 +31,15 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Compilation Switches
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@ -47,33 +47,33 @@
#include <stdlib.h>
#include <math.h>
/************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Type Declarations
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Function Prototypes
************************************************************/
****************************************************************************/
/**********************************************************
/****************************************************************************
* Public Constant Data
**********************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Data
************************************************************/
****************************************************************************/
/**********************************************************
/****************************************************************************
* Private Constant Data
**********************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Variables
************************************************************/
****************************************************************************/
double rint(double x)
{

View file

@ -1,4 +1,4 @@
/************************************************************
/****************************************************************************
* libc/fixedmath/lib_rintf.c
*
* Copyright (C) 2014 Gregory Nutt. All rights reserved.
@ -31,15 +31,15 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Compilation Switches
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@ -47,33 +47,33 @@
#include <stdlib.h>
#include <math.h>
/************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Type Declarations
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Function Prototypes
************************************************************/
****************************************************************************/
/**********************************************************
/****************************************************************************
* Public Constant Data
**********************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Data
************************************************************/
****************************************************************************/
/**********************************************************
/****************************************************************************
* Private Constant Data
**********************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Variables
************************************************************/
****************************************************************************/
float rintf(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************
/****************************************************************************
* libc/fixedmath/lib_rint.c
*
* Copyright (C) 2007, 2011, 2014 Gregory Nutt. All rights reserved.
@ -31,15 +31,15 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Compilation Switches
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Included Files
************************************************************/
****************************************************************************/
#include <nuttx/config.h>
@ -47,33 +47,33 @@
#include <stdlib.h>
#include <math.h>
/************************************************************
/****************************************************************************
* Pre-processor Definitions
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Type Declarations
************************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Function Prototypes
************************************************************/
****************************************************************************/
/**********************************************************
/****************************************************************************
* Public Constant Data
**********************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Public Data
************************************************************/
****************************************************************************/
/**********************************************************
/****************************************************************************
* Private Constant Data
**********************************************************/
****************************************************************************/
/************************************************************
/****************************************************************************
* Private Variables
************************************************************/
****************************************************************************/
long double rintl(long double x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* lib/math/lib_round.c
*
* This file is a part of NuttX:
@ -6,20 +6,20 @@
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* (C) 2012 Petteri Aimonen <jpa@nx.mail.kapsi.fi>
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_DOUBLE
double round(double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* lib/math/lib_roundf.c
*
* This file is a part of NuttX:
@ -6,20 +6,20 @@
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* (C) 2012 Petteri Aimonen <jpa@nx.mail.kapsi.fi>
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float roundf(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* lib/math/lib_round.c
*
* This file is a part of NuttX:
@ -6,20 +6,20 @@
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* (C) 2012 Petteri Aimonen <jpa@nx.mail.kapsi.fi>
*
************************************************************************/
****************************************************************************/
/************************************************************************
/****************************************************************************
* Included Files
************************************************************************/
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/compiler.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
#ifdef CONFIG_HAVE_LONG_DOUBLE
long double roundl(long double x)

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>
@ -37,9 +37,9 @@
#ifdef CONFIG_HAVE_DOUBLE
/************************************************************************
/****************************************************************************
* Private Data
************************************************************************/
****************************************************************************/
static double _dbl_inv_fact[] =
{
@ -55,9 +55,9 @@ static double _dbl_inv_fact[] =
1.0 / 121645100408832000.0, /* 1 / 19! */
};
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
double sin(double x)
{

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 <sys/types.h>
#include <math.h>
/************************************************************************
/****************************************************************************
* Private Data
************************************************************************/
****************************************************************************/
static float _flt_inv_fact[] =
{
@ -46,9 +46,9 @@ static float _flt_inv_fact[] =
1.0 / 39916800.0, /* 1 / 11! */
};
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
float sinf(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_sinh.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 sinh(double x)

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_sinhf.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 sinhf(float x)
{

View file

@ -1,4 +1,4 @@
/************************************************************************
/****************************************************************************
* libc/math/lib_sinhl.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 sinhl(long double x)

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>
@ -37,9 +37,9 @@
#ifdef CONFIG_HAVE_LONG_DOUBLE
/************************************************************************
/****************************************************************************
* Private Data
************************************************************************/
****************************************************************************/
static long double _ldbl_inv_fact[] =
{
@ -55,9 +55,9 @@ static long double _ldbl_inv_fact[] =
1.0 / 121645100408832000.0, /* 1 / 19! */
};
/************************************************************************
/****************************************************************************
* Public Functions
************************************************************************/
****************************************************************************/
long double sinl(long double x)
{

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