diff options
author | Andreas Schwab <schwab@suse.de> | 1998-03-13 01:27:51 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 1998-03-13 01:27:51 +0000 |
commit | 41bc874bc5d106ea329bdc0e7c8e55da6b2dea1c (patch) | |
tree | 0a771795ff2e2d02612a0f4bc4ff310239f2f9cf /sysdeps/m68k | |
parent | 5d409851a35412607aeccef8426f402fbf27a102 (diff) | |
download | glibc-41bc874bc5d106ea329bdc0e7c8e55da6b2dea1c.tar glibc-41bc874bc5d106ea329bdc0e7c8e55da6b2dea1c.tar.gz glibc-41bc874bc5d106ea329bdc0e7c8e55da6b2dea1c.tar.bz2 glibc-41bc874bc5d106ea329bdc0e7c8e55da6b2dea1c.zip |
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
one.
Fri Mar 13 10:25:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h (isgreater, isgreaterequal,
isless, islessequal, islessgreater, isunordered): Return zero or
one.
Diffstat (limited to 'sysdeps/m68k')
-rw-r--r-- | sysdeps/m68k/fpu/bits/mathinline.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/m68k/fpu/bits/mathinline.h b/sysdeps/m68k/fpu/bits/mathinline.h index 569e5a06c4..7ddf6aec2a 100644 --- a/sysdeps/m68k/fpu/bits/mathinline.h +++ b/sysdeps/m68k/fpu/bits/mathinline.h @@ -1,5 +1,5 @@ /* Definitions of inline math functions implemented by the m68881/2. - Copyright (C) 1991, 92, 93, 94, 96, 97 Free Software Foundation, Inc. + Copyright (C) 1991, 92, 93, 94, 96, 97, 98 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 @@ -30,42 +30,42 @@ ({ char __result; \ __asm__ ("fcmp%.x %2,%1; fsogt %0" \ : "=dm" (__result) : "f" (x), "f" (y)); \ - (int) __result; }) + __result != 0; }) # define isgreaterequal(x, y) \ __extension__ \ ({ char __result; \ __asm__ ("fcmp%.x %2,%1; fsoge %0" \ : "=dm" (__result) : "f" (x), "f" (y)); \ - (int) __result; }) + __result != 0; }) # define isless(x, y) \ __extension__ \ ({ char __result; \ __asm__ ("fcmp%.x %2,%1; fsolt %0" \ : "=dm" (__result) : "f" (x), "f" (y)); \ - (int) __result; }) + __result != 0; }) # define islessequal(x, y) \ __extension__ \ ({ char __result; \ __asm__ ("fcmp%.x %2,%1; fsole %0" \ : "=dm" (__result) : "f" (x), "f" (y)); \ - (int) __result; }) + __result != 0; }) # define islessgreater(x, y) \ __extension__ \ ({ char __result; \ __asm__ ("fcmp%.x %2,%1; fsogl %0" \ : "=dm" (__result) : "f" (x), "f" (y)); \ - (int) __result; }) + __result != 0; }) # define isunordered(x, y) \ __extension__ \ ({ char __result; \ __asm__ ("fcmp%.x %2,%1; fsun %0" \ : "=dm" (__result) : "f" (x), "f" (y)); \ - (int) __result; }) + __result != 0; }) #endif |