|
TR-mbed 1.0
|
#include <sstream>#include <memory>#include <math.h>#include "main.h"#include <Eigen/src/Core/arch/Default/BFloat16.h>Namespaces | |
| namespace | Eigen |
| Namespace containing all symbols from the Eigen library. | |
Macros | |
| #define | VERIFY_BFLOAT16_BITS_EQUAL(h, bits) VERIFY_IS_EQUAL((numext::bit_cast<numext::uint16_t>(h)), (static_cast<numext::uint16_t>(bits))) |
Functions | |
| float | BinaryToFloat (uint32_t sign, uint32_t exponent, uint32_t high_mantissa, uint32_t low_mantissa) |
| template<typename T > | |
| void | test_roundtrip () |
| void | test_conversion () |
| void | test_numtraits () |
| void | test_arithmetic () |
| void | test_comparison () |
| void | test_basic_functions () |
| void | test_trigonometric_functions () |
| void | test_array () |
| void | test_product () |
| EIGEN_DECLARE_TEST (bfloat16_float) | |
| #define VERIFY_BFLOAT16_BITS_EQUAL | ( | h, | |
| bits | |||
| ) | VERIFY_IS_EQUAL((numext::bit_cast<numext::uint16_t>(h)), (static_cast<numext::uint16_t>(bits))) |
| float BinaryToFloat | ( | uint32_t | sign, |
| uint32_t | exponent, | ||
| uint32_t | high_mantissa, | ||
| uint32_t | low_mantissa | ||
| ) |
| EIGEN_DECLARE_TEST | ( | bfloat16_float | ) |
| void test_arithmetic | ( | ) |
| void test_array | ( | ) |
| void test_basic_functions | ( | ) |
| void test_comparison | ( | ) |
| void test_conversion | ( | ) |
| void test_numtraits | ( | ) |
| void test_product | ( | ) |
| void test_roundtrip | ( | ) |
| void test_trigonometric_functions | ( | ) |