#include "CompressedFloatingPointNumbers.cpph"
Go to the source code of this file.
|
| template<class T > |
| void | toolbox::multiprecision::decompose (const double &value, char &exponent, T &mantissa) |
| | Takes a double and returns the exponent and the mantissa.
|
| |
| void | toolbox::multiprecision::decomposeIntoEightVariants (double value, char exponent[8], long int mantissa[8], double error[8]) |
| | Decompose floating point value.
|
| |
| void | toolbox::multiprecision::decomposeIntoFourVariants (double value, char exponent[4], int mantissa[4], double error[4]) |
| |
| int | toolbox::multiprecision::findMostAgressiveCompression (double value, double maxAbsoluteError) |
| | Analyses the handed data and determines the most aggressive compression.
|
| |
| int | toolbox::multiprecision::findMostAgressiveCompression (const double values[], int count, double maxError) |
| | Wrapper around findMostAgressiveCompression() that works for an array of count entries.
|
| |
| void | toolbox::multiprecision::decompose (double value, char &exponent, long int &mantissa, int bytesUsedForMantissa) |
| | If you wanna the decompose values into compressed char series, use.
|
| |
| template<class T > |
| double | toolbox::multiprecision::compose (const char &exponent, const T &mantissa) |
| |
| double | toolbox::multiprecision::compose (char exponent, long int mantissa, int bytesUsedForMantissa) |
| | Counterpart of decompose( double, char[8], long int[8], double[8] ).
|
| |