soft-fp patch: __floatdisf should return float

Joseph S. Myers joseph@codesourcery.com
Sun Dec 4 14:09:00 GMT 2005


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



More information about the Libc-alpha mailing list