blob: 5eb42642e16de2c3c8d8d4e25e19aafbae69ab41 (
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
63
64
65
66
67
68
|
/*
$License:
Copyright (C) 2011 InvenSense Corporation, All Rights Reserved.
See included License.txt for License information.
$
*/
/*******************************************************************************
*
* $Id: mlmath.c 5629 2011-06-11 03:13:08Z mcaramello $
*
*******************************************************************************/
#include <math.h>
double ml_asin(double x)
{
return asin(x);
}
double ml_atan(double x)
{
return atan(x);
}
double ml_atan2(double x, double y)
{
return atan2(x, y);
}
double ml_log(double x)
{
return log(x);
}
double ml_sqrt(double x)
{
return sqrt(x);
}
double ml_ceil(double x)
{
return ceil(x);
}
double ml_floor(double x)
{
return floor(x);
}
double ml_cos(double x)
{
return cos(x);
}
double ml_sin(double x)
{
return sin(x);
}
double ml_acos(double x)
{
return acos(x);
}
double ml_pow(double x, double y)
{
return pow(x, y);
}
|