Namespaces | Macros | Functions | Variables
turbomath.cpp File Reference
#include <turbomath/turbomath.h>
Include dependency graph for turbomath.cpp:

Go to the source code of this file.

Namespaces

 turbomath
 

Macros

#define M_PI   3.14159265359
 

Functions

float turbomath::alt (float press)
 
float turbomath::asin (float x)
 
float turbomath::atan (float x)
 
float turbomath::atan2 (float y, float x)
 
float turbomath::cos (float x)
 
float turbomath::fabs (float x)
 
float turbomath::fsign (float y)
 
float turbomath::inv_sqrt (float x)
 
float turbomath::sin (float x)
 

Variables

static const int16_t turbomath::asin_lookup_table [200]
 
static const float turbomath::asin_max_x = 1.000000
 
static const float turbomath::asin_min_x = 0.000000
 
static const int16_t turbomath::asin_num_entries = 200
 
static const float turbomath::asin_scale_factor = 20860.120081
 
static const int16_t turbomath::atan_lookup_table [125]
 
static const float turbomath::atan_max_x = 1.000000
 
static const float turbomath::atan_min_x = 0.000000
 
static const int16_t turbomath::atan_num_entries = 125
 
static const float turbomath::atan_scale_factor = 41720.240162
 
static const float turbomath::max_pressure = 106598.405011
 
static const float turbomath::min_pressure = 69681.635473
 
static const int16_t turbomath::pressure_lookup_table [200]
 
static const int16_t turbomath::pressure_num_entries = 200
 
static const float turbomath::pressure_scale_factor = 10.754785
 
static const int16_t turbomath::sin_lookup_table [125]
 
static const float turbomath::sin_max_x = 3.141593
 
static const float turbomath::sin_min_x = 0.000000
 
static const int16_t turbomath::sin_num_entries = 125
 
static const float turbomath::sin_scale_factor = 32767.000000
 

Macro Definition Documentation

#define M_PI   3.14159265359

Definition at line 295 of file turbomath.cpp.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Thu Oct 24 2019 03:17:21