This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
soft-fp patch: __floatdisf should return float
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-alpha at sourceware dot org
- Date: Sun, 4 Dec 2005 14:08:54 +0000 (UTC)
- Subject: soft-fp patch: __floatdisf should return float
The soft-fp function __floatdisf should return float not double. Fixed
thus.
2005-12-04 Joseph S. Myers <joseph@codesourcery.com>
* soft-fp/floatdisf.c (__floatdisf): Return float.
diff -rupN libc.orig/soft-fp/floatdisf.c libc.floatdisf/soft-fp/floatdisf.c
--- libc.orig/soft-fp/floatdisf.c 2001-07-06 10:53:04.000000000 +0000
+++ libc.floatdisf/soft-fp/floatdisf.c 2005-12-04 14:05:07.000000000 +0000
@@ -23,7 +23,7 @@
#include "soft-fp.h"
#include "single.h"
-double __floatdisf(DItype i)
+float __floatdisf(DItype i)
{
FP_DECL_EX;
FP_DECL_S(A);
--
Joseph S. Myers
joseph@codesourcery.com