Author: faridz
Date: Wed Apr 23 08:20:07 2008
New Revision: 650902

URL: http://svn.apache.org/viewvc?rev=650902&view=rev
Log:
2008-04-23 Farid Zaripov <[EMAIL PROTECTED]>

        STDCXX-880      
        * src/num_put.cpp: Added simple overloads of the __rw_isfinite(),
        __rw_signbit(), __rw_isinf(), __rw_isnan(), __rw_isqnan(), __rw_issnan()
        for float and long double types.

Modified:
    stdcxx/trunk/src/num_put.cpp

Modified: stdcxx/trunk/src/num_put.cpp
URL: 
http://svn.apache.org/viewvc/stdcxx/trunk/src/num_put.cpp?rev=650902&r1=650901&r2=650902&view=diff
==============================================================================
--- stdcxx/trunk/src/num_put.cpp (original)
+++ stdcxx/trunk/src/num_put.cpp Wed Apr 23 08:20:07 2008
@@ -181,6 +181,36 @@
 #endif
 
 
+inline bool __rw_isfinite (float) { return true; }
+
+inline bool __rw_signbit (float) { return false; }
+
+inline bool __rw_isinf (float) { return false; }
+
+inline bool __rw_isnan (float) { return false; }
+
+inline bool __rw_isqnan (float) { return false; }
+
+inline bool __rw_issnan (float) { return false; }
+
+
+#ifndef _RWSTD_NO_LONG_DOUBLE
+
+inline bool __rw_isfinite (long double) { return true; }
+
+inline bool __rw_signbit (long double) { return false; }
+
+inline bool __rw_isinf (long double) { return false; }
+
+inline bool __rw_isnan (long double) { return false; }
+
+inline bool __rw_isqnan (long double) { return false; }
+
+inline bool __rw_issnan (long double) { return false; }
+
+#endif   // _RWSTD_NO_LONG_DOUBLE
+
+
 static int
 __rw_fmat_infinite (char *buf, size_t bufsize, double val, unsigned flags)
 {


Reply via email to