numerical-collection-cpp 0.10.0
A collection of algorithms in numerical analysis implemented in C++
|
Definition of multiply_safely function. More...
#include "num_collect/base/concepts/integral.h"
#include "num_collect/base/exception.h"
#include "num_collect/logging/logging_macros.h"
Go to the source code of this file.
Namespaces | |
namespace | num_collect |
Namespace of num_collect source codes. | |
namespace | num_collect::util |
Namespace of utilities. | |
Functions | |
template<base::concepts::integral T> | |
constexpr auto | num_collect::util::multiply_safely (T a, T b) -> T |
Multiply two integers with check of overflow. | |
Definition of multiply_safely function.
Definition in file multiply_safely.h.