uxarray.utils.computing._two_prod_fma#
- uxarray.utils.computing._two_prod_fma(a, b)#
Error-free transformation of the product of two floating-point numbers using FMA, such that a * b = x + y exactly.
- Parameters:
- Returns:
The product and the error term.
- Return type:
Examples
>>> _two_prod_fma(1.0, 2.0) (2.0, 0.0)