[svn:parrot] r36854 - trunk/src/packfile

rurban at svn.parrot.org rurban at svn.parrot.org
Wed Feb 18 07:33:58 UTC 2009


Author: rurban
Date: Wed Feb 18 07:33:57 2009
New Revision: 36854
URL: https://trac.parrot.org/parrot/changeset/36854

Log:
[core] fix compilation on Solaris/SPARC as reported by Andy Dougherty
-  cvt_num12_num8_le was missing

Modified:
   trunk/src/packfile/pf_items.c

Modified: trunk/src/packfile/pf_items.c
==============================================================================
--- trunk/src/packfile/pf_items.c	Wed Feb 18 06:16:14 2009	(r36853)
+++ trunk/src/packfile/pf_items.c	Wed Feb 18 07:33:57 2009	(r36854)
@@ -334,7 +334,7 @@
 
 Converts IEEE 754 LE 16-byte long double to i386 LE 12-byte long double .
 
-Not yet implemented (throws internal_exception).
+Experimental untested version.
 See http://babbage.cs.qc.cuny.edu/IEEE-754/References.xhtml
 
 =cut
@@ -415,7 +415,8 @@
 
 Converts IEEE 754 16-byte long double to IEEE 754 8 byte double.
 
-Untested.
+Fails on longdoublesize=12 with fatal exception.
+Untested on longdoublesize=16.
 
 =cut
 
@@ -651,7 +652,7 @@
 
 */
 
-#if !PARROT_BIGENDIAN
+#if PARROT_BIGENDIAN
 static void
 cvt_num12_num8_le(ARGOUT(unsigned char *dest), ARGIN(unsigned char *src))
 {


More information about the parrot-commits mailing list