]> www.ginac.de Git - cln.git/commitdiff
Fix bug in converting cl_LF to float, double.
authorRichard Kreckel <kreckel@ginac.de>
Fri, 2 Mar 2012 22:40:34 +0000 (23:40 +0100)
committerRichard Kreckel <kreckel@ginac.de>
Fri, 2 Mar 2012 22:40:34 +0000 (23:40 +0100)
src/float/conv/cl_LF_to_double.cc
src/float/conv/cl_LF_to_float.cc

index 078bd1bb5b7ca530cae0f3bf6bdb80bcbf3bc035..f9f5e8629f965270fd88bf994f661c2b8ca0fbf2 100644 (file)
@@ -20,7 +20,7 @@ double double_approx (const cl_LF& x)
 {
        // x entpacken:
        var cl_signean sign;
-       var sintL exp;
+       var sintE exp;
        var uintD* ptr;
        var uintC len;
        LF_decode(x, { return 0.0; }, sign=,exp=,ptr=,len=,);
index 913b08ecf23cf822bcdcbb449abcdd10a57b6a9a..b476d04ce5597b185c00c78a9bbcef3c364b5d78 100644 (file)
@@ -20,7 +20,7 @@ float float_approx (const cl_LF& x)
 {
        // x entpacken:
        var cl_signean sign;
-       var sintL exp;
+       var sintE exp;
        var uintD* ptr;
        var uintC len;
        LF_decode(x, { return 0.0; }, sign=,exp=,ptr=,len=,);