mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[liba] Add a double-precision libm
Change-Id: I3d0b5393eaaec3e01529e739535512c07f41a088
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
#ifndef LIBA_FLOAT_H
|
||||
#define LIBA_FLOAT_H
|
||||
|
||||
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
|
||||
|
||||
#define FLT_MAX 1E+37f
|
||||
#define FLT_MIN 1E-37f
|
||||
#define FLT_EPSILON 1E-5f
|
||||
|
||||
#define LDBL_MANT_DIG (-1)
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define LIBA_MATH_H
|
||||
|
||||
#include "private/macros.h"
|
||||
#include <float.h>
|
||||
|
||||
LIBA_BEGIN_DECLS
|
||||
|
||||
@@ -51,6 +52,29 @@ float sqrtf(float x);
|
||||
float tanf(float x);
|
||||
float tanhf(float x);
|
||||
|
||||
double acos(double x);
|
||||
double acosh(double x);
|
||||
double asin(double x);
|
||||
double asinh(double x);
|
||||
double atan(double x);
|
||||
double atanh(double x);
|
||||
double ceil(double x);
|
||||
double cos(double x);
|
||||
double cosh(double x);
|
||||
double exp(double x);
|
||||
double fabs(double x);
|
||||
double floor(double x);
|
||||
double lgamma(double x);
|
||||
double log10(double x);
|
||||
double log(double x);
|
||||
double pow(double x, double y);
|
||||
double round(double x);
|
||||
double sin(double x);
|
||||
double sinh(double x);
|
||||
double sqrt(double x);
|
||||
double tan(double x);
|
||||
double tanh(double x);
|
||||
|
||||
LIBA_END_DECLS
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user