146     float minimum = 0.0f;
 
  149     TEST_ASSERT_EQUAL(1.0f, minimum);
 
  152     TEST_ASSERT_EQUAL(1.0f, minimum);
 
  155     TEST_ASSERT_EQUAL(2.0f, minimum);
 
  158     TEST_ASSERT_EQUAL(-3.0f, minimum);
 
  161     TEST_ASSERT_EQUAL(-3.0f, minimum);
 
  165     uint8_t value1 = 42u;
 
  166     uint8_t value2 = 67u;
 
  177     uint16_t value1 = 0xFF42u;
 
  178     uint16_t value2 = 0xFF67u;
 
float_t MATH_MinimumOfTwoFloats(const float_t value1, const float_t value2)
Returns the minimum of the passed float values.
uint16_t MATH_SwapBytesUint16_t(const uint16_t val)
Swap bytes of uint16_t value.
uint16_t MATH_MinimumOfTwoUint16_t(const uint16_t value1, const uint16_t value2)
Returns the minimum of the passed uint16_t values.
uint32_t MATH_SwapBytesUint32_t(const uint32_t val)
Swap bytes of uint32_t value.
float_t MATH_LinearInterpolation(const float_t x1, const float_t y1, const float_t x2, const float_t y2, const float_t x_interpolate)
Linear inter-/extrapolates a third point according to two given points.
uint8_t MATH_MinimumOfTwoUint8_t(const uint8_t value1, const uint8_t value2)
Returns the minimum of the passed uint8_t values.
uint64_t MATH_SwapBytesUint64_t(const uint64_t val)
Swap bytes of uint64_t value.
math library for often used math functions
void test_allZeros_swap32(void)
void test_allZeros_swap64(void)
void test_linearInterpolation_extrapolateFromX1AndX2()
float coord_x_interpolate
void test_minimumOfTwoFloats(void)
void test_linearInterpolation_X1EqualsX2()
void test_swap64_MAX(void)
void test_linearInterpolation_interpolateBetweenX1AndX2()
void test_MATH_MinimumOfTwoUint16_t(void)
void test_allZeros_swap16(void)
void test_swap32_MAX(void)
void test_swap16_MAX(void)
void test_MATH_MinimumOfTwoUint8_t(void)