[PPL-devel] [GIT] ppl/ppl(master): Corrected a couple of typos.

Enea Zaffanella zaffanella at cs.unipr.it
Mon Apr 5 15:56:15 CEST 2010


Module: ppl/ppl
Branch: master
Commit: 2f76ad9a2a440a69fa861bb67784da771e1310fa
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=2f76ad9a2a440a69fa861bb67784da771e1310fa

Author: Enea Zaffanella <zaffanella at cs.unipr.it>
Date:   Mon Apr  5 15:54:51 2010 +0200

Corrected a couple of typos.

---

 src/checked_float.inlines.hh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/checked_float.inlines.hh b/src/checked_float.inlines.hh
index 7e18eb4..a32b8ab 100644
--- a/src/checked_float.inlines.hh
+++ b/src/checked_float.inlines.hh
@@ -824,7 +824,7 @@ assign_float_mpz(T& to, const mpz_class& _from, Rounding_Dir dir)
 		    exponent - Float<T>::Binary::MANTISSA_BITS);
   else
     mpz_mul_2exp(mantissa, from, Float<T>::Binary::MANTISSA_BITS - exponent);
-  Float<T> f(to);
+  Float<T> f;
   f.u.binary.build(sign < 0, mantissa, exponent);
   mpz_clear(mantissa);
   to = f.value();
@@ -898,7 +898,7 @@ assign_float_mpq(T& to, const mpq_class& from, Rounding_Dir dir)
     // Denormalized.
     exponent = Float<T>::Binary::EXPONENT_MIN - 1;
   }
-  Float<T> f(to);
+  Float<T> f;
   f.u.binary.build(sign < 0, mantissa, exponent);
   mpz_clear(mantissa);
   to = f.value();




More information about the PPL-devel mailing list