summaryrefslogtreecommitdiff
path: root/mpu/mpu-math.h
blob: eeea1d1ad195fa62d1770129245e27d9ff40e66b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/***************************************************************
  __MPU_MATH.H

       This file contains declarations of functions for
       REAL MATH operations.

       PART OF : MPU - library .

       USAGE   : Internal only .

       NOTE    : Include "libmpu.h" before this FILE .

       Copyright (C) 2000 - 2024  by Andrew V.Kosteltsev.
       All Rights Reserved.
 ***************************************************************/

#ifndef   __MPU_MATH_H
#define   __MPU_MATH_H

#ifdef  __cplusplus
extern "C" {
#endif


extern void ei_trunc ( EMUSHORT *eix, unsigned int bz, int nb );

extern void ei_sin   ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_cos   ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_tan   ( EMUSHORT *eiy, EMUSHORT *eix, int nb );

extern void ei_log1p ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_log   ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_log10 ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_log2  ( EMUSHORT *eiy, EMUSHORT *eix, int nb );

extern void ei_expm1 ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_exp   ( EMUSHORT *eiy, EMUSHORT *eix, int nb );

extern void ei_atan2 ( EMUSHORT *eic, EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_atan  ( EMUSHORT *eiy, EMUSHORT *eix, int nb );

extern void ei_sinh  ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_cosh  ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_tanh  ( EMUSHORT *eiy, EMUSHORT *eix, int nb );

extern void ei_asinh ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_acosh ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_atanh ( EMUSHORT *eiy, EMUSHORT *eix, int nb );

extern void ei_asin  ( EMUSHORT *eiy, EMUSHORT *eix, int nb );
extern void ei_acos  ( EMUSHORT *eiy, EMUSHORT *eix, int nb );

extern void ei_pow   ( EMUSHORT *eic, EMUSHORT *eix, EMUSHORT *eiy, int nb );



#ifdef  __cplusplus
}   /* ... extern "C" */
#endif

#endif /* __MPU_MATH_H */