numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
Loading...
Searching...
No Matches
num_collect::multi_double Namespace Reference

Namespace of multiple precision numbers with double numbers. More...

Namespaces

namespace  impl
 Namespace of internal implementations.
 

Classes

class  quad
 class of quadruple precision floating-point numbers More...
 

Functions

auto operator* (const quad &left, const quad &right) -> quad
 multiply a number by a number
 
auto operator+ (const quad &left, const quad &right) -> quad
 add two number
 
auto operator- (const quad &left, const quad &right) -> quad
 subtract a number from a number
 
auto operator/ (const quad &left, const quad &right) -> quad
 divide a number by a number
 

Detailed Description

Namespace of multiple precision numbers with double numbers.

Function Documentation

◆ operator*()

auto num_collect::multi_double::operator* ( const quad & left,
const quad & right ) -> quad
inline

multiply a number by a number

Parameters
[in]leftleft-hand-side number
[in]rightright-hand-side number
Returns
result

Definition at line 174 of file quad.h.

◆ operator+()

auto num_collect::multi_double::operator+ ( const quad & left,
const quad & right ) -> quad
inline

add two number

Parameters
[in]leftleft-hand-side number
[in]rightright-hand-side number
Returns
result

Definition at line 152 of file quad.h.

◆ operator-()

auto num_collect::multi_double::operator- ( const quad & left,
const quad & right ) -> quad
inline

subtract a number from a number

Parameters
[in]leftleft-hand-side number
[in]rightright-hand-side number
Returns
result

Definition at line 163 of file quad.h.

◆ operator/()

auto num_collect::multi_double::operator/ ( const quad & left,
const quad & right ) -> quad
inline

divide a number by a number

Parameters
[in]leftleft-hand-side number
[in]rightright-hand-side number
Returns
result

Definition at line 185 of file quad.h.