]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/math/tools/luroth_expansion.hpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / boost / boost / math / tools / luroth_expansion.hpp
index 385a02e0423c974ff86ca5f34549b37b64b6e041..7fb486b8650b037f00342786f15dda109310135e 100644 (file)
@@ -26,20 +26,20 @@ public:
         using std::isfinite;
         if (!isfinite(x))
         {
-            throw std::domain_error("Cannot convert non-finites into a LΓΌroth representation.");
+            throw std::domain_error("Cannot convert non-finites into a Luroth representation.");
         }
         d_.reserve(50);
-        Real dn = floor(x);
-        d_.push_back(static_cast<Z>(dn));
-        if (dn == x)
+        Real dn1 = floor(x);
+        d_.push_back(static_cast<Z>(dn1));
+        if (dn1 == x)
         {
            d_.shrink_to_fit();
            return;
         }
         // This attempts to follow the notation of:
         // "Khinchine's constant for Luroth Representation", by Sophia Kalpazidou.
-        x = x - dn;
-        Real computed = dn;
+        x = x - dn1;
+        Real computed = dn1;
         Real prod = 1;
         // Let the error bound grow by 1 ULP/iteration.
         // I haven't done the error analysis to show that this is an expected rate of error growth,