This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]