]> www.ginac.de Git - cln.git/blobdiff - src/float/dfloat/conv/cl_RA_to_double.cc
Remove exception hooks in favor of real C++ exceptions:
[cln.git] / src / float / dfloat / conv / cl_RA_to_double.cc
index bde025f4500bd9fc601f7f2625ea2214c8a0b054..373702dc73fa8d23e27e798855f7b0243e66d4ed 100644 (file)
@@ -31,8 +31,8 @@ double double_approx (const cl_RA& x)
       var const cl_I& b = denominator(x); // b
       var cl_signean sign = -(cl_signean)minusp(a); // Vorzeichen
       if (!(sign==0)) { a = -a; } // Betrag nehmen, liefert a
-      var sintL lendiff = (sintL)integer_length(a) // (integer-length a)
-                          - (sintL)integer_length(b); // (integer-length b)
+      var sintC lendiff = (sintC)integer_length(a) // (integer-length a)
+                          - (sintC)integer_length(b); // (integer-length b)
       if (lendiff > DF_exp_high-DF_exp_mid) // Exponent >= n-m > Obergrenze ?
         {
           #if (cl_word_size==64)