Project

General

Profile

Statistics
| Revision:

root / proj / libs / utils / include / fast_math.h @ 343

History | View | Annotate | Download (568 Bytes)

1 168 up20180642
#ifndef FAST_MATH_H_INCLUDED
2
#define FAST_MATH_H_INCLUDED
3
4 334 up20180642
/**
5
 * @defgroup fast_math  fast_math
6
 * @ingroup utils
7
 * @brief   Fast math module.
8
 *
9
 * Essentially, this module provides almost-constant time for mathematical operations
10
 * that do not require extreme precision.
11
 *
12
 * @{
13
 */
14
15
/**
16
 * @brief Fast sine function.
17
 * @param   x   Argument
18
 * @return      Sine of x
19
 */
20 168 up20180642
double fm_sin(double x);
21 334 up20180642
/**
22
 * @brief Fast cosine function.
23
 * @param   x   Argument
24
 * @return      Cosine of x
25
 */
26 168 up20180642
double fm_cos(double x);
27
28 334 up20180642
/**
29
 * @}
30
 */
31
32 168 up20180642
#endif //FAST_MATH_H_INCLUDED