Thanks for the patch. I'll upload a fixed version soon.
-Tim Abbott
On Sun, 17 Aug 2008, Thiemo Seufer wrote:
Package: fplll
Version: 2.1.6+20071129-1
Severity: important
Tags: patch
fplll fails to build on architectures which don't support long double.
The appended patch fixes it. Tested with a sucessful build on mips.
Thiemo
Index: fplll-2.1.6+20071129/src/dpe.h
===================================================================
--- fplll-2.1.6+20071129.orig/src/dpe.h 2008-08-16 20:48:11.000000000 +0100
+++ fplll-2.1.6+20071129/src/dpe.h 2008-08-16 20:48:39.000000000 +0100
@@ -447,7 +447,7 @@
*x = (long) (DPE_MANT (y) * 2147483648.0);
if (DPE_EXP(y) - 31<0)
{
- *x = (long)ldexpl(*x, DPE_EXP(y) - 31);/*Avoid implicit typecasts*/
+ *x = (long)DPE_LDEXP(*x, DPE_EXP(y) - 31);/*Avoid implicit typecasts*/
return 0;
}
else
@@ -460,7 +460,7 @@
*x = (long) (DPE_MANT (y) * 9223372036854775808.0);
if (DPE_EXP(y) - 63<0)
{
- *x = (long)ldexpl(*x, DPE_EXP(y) - 63);
+ *x = (long)DPE_LDEXP(*x, DPE_EXP(y) - 63);
return 0;
}
else
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]