Added binary and unicode file i/o support to msvcrt.
[reactos.git] / reactos / lib / crtdll / float / logb.c
index 8b89627..d71c654 100644 (file)
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-double _logb (double __x);
+#include <msvcrt/float.h>
 
 double _logb (double __x)
 {
-  register double __value, __junk;
+  register double __value;
+#ifdef __GNUC__
+  register double __junk;
   __asm __volatile__
     ("fxtract\n\t"
      : "=t" (__junk), "=u" (__value) : "0" (__x));
-
+#else
+#endif /*__GNUC__*/
   return __value;
 }