XenevaOS
Loading...
Searching...
No Matches
Macros | Functions
math.cpp File Reference
#include <math.h>
#include <string.h>
Include dependency graph for math.cpp:

Macros

#define itable   ((double *) xtable)
 

Functions

double ceil (double d)
 
double cos (double radians)
 
float cosf (float radians)
 
double fabs (double x)
 
float fabsf (float x)
 
double floor (double d)
 
float floorf (float d)
 
double fmod (double x, double y)
 
double modf (double x, double *pint)
 
double pow (double x, double y)
 
double sin (double radians)
 
float sinf (float radians)
 
double sqrt (double y)
 
double tan (double radians)
 
float tanf (float radians)
 
float sqrtf (float x)
 
double frexp (double x, int *exp)
 
XE_EXTERN XE_EXPORT int fpclassify (double x)
 

Macro Definition Documentation

◆ itable

#define itable   ((double *) xtable)

BSD 2-Clause License

Copyright (c) 2022-2023, Manas Kamal Choudhury All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Function Documentation

◆ ceil()

double ceil ( double  d)

◆ cos()

double cos ( double  radians)

◆ cosf()

float cosf ( float  radians)

◆ fabs()

double fabs ( double  x)

◆ fabsf()

float fabsf ( float  x)

◆ floor()

double floor ( double  d)

◆ floorf()

float floorf ( float  d)

◆ fmod()

double fmod ( double  x,
double  y 
)

◆ fpclassify()

XE_EXTERN XE_EXPORT int fpclassify ( double  x)

◆ frexp()

double frexp ( double  x,
int *  exp 
)

◆ modf()

double modf ( double  x,
double *  pint 
)

◆ pow()

double pow ( double  x,
double  y 
)

◆ sin()

double sin ( double  radians)

◆ sinf()

float sinf ( float  radians)

◆ sqrt()

double sqrt ( double  y)

◆ sqrtf()

float sqrtf ( float  x)

◆ tan()

double tan ( double  radians)

◆ tanf()

float tanf ( float  radians)