Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include "ortools/util/fp_utils.h"
#include <limits.h>
#include <stdint.h>
#include <algorithm>
#include <cmath>
#include <cstdint>
#include <cstdlib>
#include <limits>
#include <utility>
#include <vector>
#include "absl/base/casts.h"
#include "absl/base/internal/endian.h"
#include "absl/log/check.h"
#include "absl/types/span.h"
#include "ortools/util/bitset.h"
Go to the source code of this file.
Namespaces | |
namespace | operations_research |
In SWIG mode, we don't want anything besides these top-level includes. | |
Functions | |
void | operations_research::ComputeScalingErrors (absl::Span< const double > input, absl::Span< const double > lb, absl::Span< const double > ub, double scaling_factor, double *max_relative_coeff_error, double *max_scaled_sum_error) |
double | operations_research::GetBestScalingOfDoublesToInt64 (absl::Span< const double > input, absl::Span< const double > lb, absl::Span< const double > ub, int64_t max_absolute_sum) |
void | operations_research::GetBestScalingOfDoublesToInt64 (absl::Span< const double > input, int64_t max_absolute_sum, double *scaling_factor, double *max_relative_coeff_error) |
int64_t | operations_research::ComputeGcdOfRoundedDoubles (absl::Span< const double > x, double scaling_factor) |
int | operations_research::fast_ilogb (double value) |
void | operations_research::fast_scalbn_inplace (double &mutable_value, int exponent) |
double | operations_research::fast_scalbn (double value, int exponent) |