HiveMind
Namespaces | Functions | Variables
BittyBuzzMathFunctions.h File Reference
#include <bsp/Math.h>
Include dependency graph for BittyBuzzMathFunctions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 BittyBuzzMathFunctions
 Provides math function for the standard lib provided with the vm see IBittyBuzzLib. In the buzz code, the functions are situated in the math namespace.
 

Functions

void BittyBuzzMathFunctions::abs ()
 Calculates the absolute value Signature abs(arg1) More...
 
void BittyBuzzMathFunctions::floori ()
 Floor a value Signature floori(arg1) More...
 
void BittyBuzzMathFunctions::floorf ()
 Floor a value Signature floorf(arg1) More...
 
void BittyBuzzMathFunctions::ceili ()
 Ceil a value Signature ceili(arg1) More...
 
void BittyBuzzMathFunctions::ceilf ()
 Ceil a value Signature ceilf(arg1) More...
 
void BittyBuzzMathFunctions::roundi ()
 Rounds a value Signature roundi(arg1) More...
 
void BittyBuzzMathFunctions::roundf ()
 Rounds a value Signature roundf(arg1) More...
 
void BittyBuzzMathFunctions::log ()
 Calculates the natural logarithm (ln) Signature log(arg1) More...
 
void BittyBuzzMathFunctions::log2 ()
 Calculates the logarithm base 2 Signature log2(arg1) More...
 
void BittyBuzzMathFunctions::log10 ()
 Calculates the logarithm base 10 Signature log10(arg1) More...
 
void BittyBuzzMathFunctions::pow ()
 Calculates the base raised to the power of the exponent. Signature pow(base, exponent) More...
 
void BittyBuzzMathFunctions::exp ()
 Calculates e^x Signature exp(x) More...
 
void BittyBuzzMathFunctions::sqrt ()
 Calculates the square root Signature sqrt(arg1) More...
 
void BittyBuzzMathFunctions::sin ()
 Calculates the sine Signature sin(arg1) More...
 
void BittyBuzzMathFunctions::cos ()
 Calculates the cosine Signature cos(arg1) More...
 
void BittyBuzzMathFunctions::tan ()
 Calculates the tengent Signature tan(arg1) More...
 
void BittyBuzzMathFunctions::asin ()
 Calculates the arc sine Signature asin(arg1) More...
 
void BittyBuzzMathFunctions::acos ()
 Calculates the arc cosine Signature acos(arg1) More...
 
void BittyBuzzMathFunctions::atan ()
 Calculates the arc cosine Signature atan(arg1) More...
 
void BittyBuzzMathFunctions::min ()
 Return the min Signature min(arg1, arg2) More...
 
void BittyBuzzMathFunctions::max ()
 Return the max Signature max(arg1, arg2) More...
 
void BittyBuzzMathFunctions::rng_uniform ()
 Return a number with a uniform distribution Signature rng_uniform() More...
 

Variables

const float BittyBuzzMathFunctions::E = Math::e
 The euleur number as a constant note that since buzz approximates ln(e) may not equal 1. More...
 
const float BittyBuzzMathFunctions::PI = Math::pi
 The value of PI as a constant note that since it approximates cos(pi) may not equal 0. More...