From: Roland McGrath Date: Tue, 2 Feb 1993 00:29:15 +0000 (+0000) Subject: Formerly m68k/fpu/__logb.c.~4~ X-Git-Tag: glibc-2.16-ports-before-merge~4313 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=45dba738f969ff6573ed3167af00e3db9c4b1a0a;p=thirdparty%2Fglibc.git Formerly m68k/fpu/__logb.c.~4~ --- diff --git a/sysdeps/m68k/fpu/logb.c b/sysdeps/m68k/fpu/logb.c index 3bc3a4e7019..df3de1ceee6 100644 --- a/sysdeps/m68k/fpu/logb.c +++ b/sysdeps/m68k/fpu/logb.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1992 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,15 +25,15 @@ Cambridge, MA 02139, USA. */ double DEFUN(__logb, (x), double x) { - if (__isnan(x)) + if (__isnan (x)) return x; - if (__isinf(x)) - return fabs(x); + if (__isinf (x)) + return fabs (x); if (x == 0.0) - asm("flog2%.x %0" : "=f" (x) : "0" (x)); + asm ("flog2%.x %0, %0" : "=f" (x) : "0" (x)); else - asm("fgetexp%.x %0" : "=f" (x) : "0" (x)); + asm ("fgetexp%.x %0, %0" : "=f" (x) : "0" (x)); return x; }