You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
286 B
C++
19 lines
286 B
C++
4 years ago
|
#ifndef CORDIC_HPP_
|
||
|
#define CORDIC_HPP_
|
||
|
|
||
|
namespace math {
|
||
|
constexpr double PI = 3.1415926535L;
|
||
|
|
||
|
void init();
|
||
|
|
||
|
double mod(double n, double d);
|
||
|
|
||
|
double cos(double x);
|
||
|
double sin(double x);
|
||
|
double tan(double x);
|
||
|
double sqrt(double x);
|
||
|
}
|
||
|
|
||
|
#endif // CORDIC_HPP_
|
||
|
|