varch/source/07_math/flmath.h

49 lines
1.5 KiB
C

/*********************************************************************************************************
* ------------------------------------------------------------------------------------------------------
* file description
* ------------------------------------------------------------------------------------------------------
* \file flmath.h
* \unit flmath
* \brief This is a simple large float number math calculate module for C language
* \author Lamdonn
* \version v1.0.0
* \license GPL-2.0
* \copyright Copyright (C) 2023 Lamdonn.
********************************************************************************************************/
#ifndef __flmath_H
#define __flmath_H
#include "floatl.h"
/* Version infomation */
#define FLMATH_V_MAJOR 1
#define FLMATH_V_MINOR 0
#define FLMATH_V_PATCH 0
floatl floatl_sin(floatl x);
floatl floatl_cos(floatl x);
floatl floatl_sec(floatl x);
floatl floatl_csc(floatl x);
floatl floatl_tan(floatl x);
floatl floatl_exp(floatl x);
floatl floatl_ln(floatl x);
floatl floatl_log(floatl x, floatl y);
floatl floatl_log2(floatl x);
floatl floatl_log10(floatl x);
floatl floatl_sigmoid(floatl x);
floatl floatl_dsigmoid(floatl x);
floatl floatl_sinh(floatl x);
floatl floatl_cosh(floatl x);
floatl floatl_tanh(floatl x);
floatl floatl_coth(floatl x);
floatl floatl_sech(floatl x);
floatl floatl_csch(floatl x);
floatl floatl_sqrt(floatl x);
floatl floatl_pow(floatl x, floatl y);
#endif