HILA
|
This files containts definitions for the extended precision class that allows for high precision reductions using Kahan-Babushka-Klein summation. More...
#include "plumbing/defs.h"
Go to the source code of this file.
Namespaces | |
namespace | hila |
Implement hila::swap for gauge fields. | |
This files containts definitions for the extended precision class that allows for high precision reductions using Kahan-Babushka-Klein summation.
Uses internally three double precision variables to store the value and compensation. Precision can be > 15 orders of magnitude better than plain doble.
Use:
Class implements basic arithmetics ( + - * / ), assignments (= += *=) and comparison ops for ExtendedPrecision types. ExtendedPrecision is not automatically downgraded to double in order to avoid accidental loss of accuracy.
To get a double approximation of the value use
Definition in file extended.h.