remove unneeded methods

This commit is contained in:
Laurent Perron
2024-12-28 11:21:11 +01:00
parent b7126ddc04
commit 79e5d39aa8
2 changed files with 0 additions and 6 deletions

View File

@@ -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".

View File

@@ -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.