remove unneeded methods
This commit is contained in:
@@ -36,10 +36,6 @@ inline std::string Stringify(const double a) {
|
||||
return absl::StrFormat("%.16g", a);
|
||||
}
|
||||
|
||||
inline std::string Stringify(const long double a) {
|
||||
return absl::StrFormat("%.19g", a);
|
||||
}
|
||||
|
||||
// Returns a string "num/den" representing the rational approximation of x.
|
||||
// The absolute difference between the output fraction and the input "x" will
|
||||
// not exceed "precision".
|
||||
|
||||
@@ -73,8 +73,6 @@ DEFINE_STRONG_INT64_TYPE(EntryIndex);
|
||||
|
||||
static inline double ToDouble(double f) { return f; }
|
||||
|
||||
static inline double ToDouble(long double f) { return static_cast<double>(f); }
|
||||
|
||||
// The type Fractional denotes the type of numbers on which the computations are
|
||||
// performed. This is defined as double here, but it could as well be float,
|
||||
// DoubleDouble, QuadDouble, or infinite-precision rationals.
|
||||
|
||||
Reference in New Issue
Block a user