numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
basic_operations.h File Reference

Definition of basic operations in multi-double calculations. More...

#include <tuple>
+ Include dependency graph for basic_operations.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  num_collect
 Namespace of num_collect source codes.
 
namespace  num_collect::multi_double
 Namespace of multiple precision numbers with double numbers.
 
namespace  num_collect::multi_double::impl
 Namespace of internal implementations.
 

Functions

auto num_collect::multi_double::impl::quick_two_sum (double a, double b) -> std::tuple< double, double >
 calculate sum of a and b, and error of the sum on the condition that absolute value of a is larger than one of b
 
auto num_collect::multi_double::impl::split (double a) -> std::tuple< double, double >
 split a number to higher bits and lower bits
 
auto num_collect::multi_double::impl::two_prod (double a, double b) -> std::tuple< double, double >
 calculate product of a and b, and error of the product
 
auto num_collect::multi_double::impl::two_prod_no_fma (double a, double b) -> std::tuple< double, double >
 calculate product of a and b, and error of the product without FMA instructions
 
auto num_collect::multi_double::impl::two_sum (double a, double b) -> std::tuple< double, double >
 calculate sum of a and b, and error of the sum
 

Detailed Description

Definition of basic operations in multi-double calculations.

Definition in file basic_operations.h.