summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2006-04-26 13:42:42 (GMT)
committerdgp <dgp@users.sourceforge.net>2006-04-26 13:42:42 (GMT)
commit3cd63d0095d7d7731122633aa89967134773e914 (patch)
tree9fd9076750d0a7701585d7ed1052c1f3ca66eb88 /generic/tclStrToD.c
parentf6d77956fdaaa7ca44ba08221d72bbec06bc7709 (diff)
downloadtcl-3cd63d0095d7d7731122633aa89967134773e914.zip
tcl-3cd63d0095d7d7731122633aa89967134773e914.tar.gz
tcl-3cd63d0095d7d7731122633aa89967134773e914.tar.bz2
* generic/tclBinary.c: Revised the handling of the Q and q format
* generic/tclInt.h: specifiers for [binary] to account for the * generic/tclStrToD.c: "middle endian" floating point format used in Nokia N770.
Diffstat (limited to 'generic/tclStrToD.c')
-rwxr-xr-xgeneric/tclStrToD.c18
1 files changed, 17 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 41d13f8..369dab9 100755
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -14,7 +14,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclStrToD.c,v 1.21 2006/04/19 16:43:02 kennykb Exp $
+ * RCS: @(#) $Id: tclStrToD.c,v 1.22 2006/04/26 13:42:43 dgp Exp $
*
*----------------------------------------------------------------------
*/
@@ -2703,6 +2703,22 @@ Nokia770Twiddle(
}
/*
+ *----------------------------------------------------------------------
+ *
+ * TclNokia770Doubles --
+ *
+ * Transpose the two words of a number for Nokia 770 floating
+ * point handling.
+ *
+ *----------------------------------------------------------------------
+ */
+
+int
+TclNokia770Doubles()
+{
+ return n770_fp;
+}
+/*
* Local Variables:
* mode: c
* c-basic-offset: 4