#include <climits>#include <cmath>#include <cstddef>#include <cstdint>#include <cstdlib>#include <limits>#include <type_traits>#include "base/numerics/safe_conversions.h"#include "base/numerics/safe_math_shared_impl.h"Go to the source code of this file.
Namespaces | |
| namespace | base |
| namespace | base::internal |
Macros | |
| #define | BASE_FLOAT_ARITHMETIC_OPS(NAME, OP) |
Enumerations | |
| enum | base::internal::NumericRepresentation { base::internal::NUMERIC_INTEGER , base::internal::NUMERIC_FLOATING , base::internal::NUMERIC_UNKNOWN } |
Functions | |
| template<typename T > | |
| constexpr bool | base::internal::CheckedAddImpl (T x, T y, T *result) |
| template<typename T > | |
| constexpr bool | base::internal::CheckedSubImpl (T x, T y, T *result) |
| template<typename T > | |
| constexpr bool | base::internal::CheckedMulImpl (T x, T y, T *result) |
| #define BASE_FLOAT_ARITHMETIC_OPS | ( | NAME, | |
| OP | |||
| ) |
Definition at line 429 of file checked_math_impl.h.