diff options
author | Jakub Jelinek <jakub@redhat.com> | 2004-09-27 06:18:18 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2004-09-27 06:18:18 +0000 |
commit | f1750fb9c68854778e6e023ed490ff80e1c90167 (patch) | |
tree | 416f6a0fabb42abbdafde8965810adb5abcf0283 /sysdeps/generic/s_fdim.c | |
parent | efaf80c5d05102f75864847140bfb8b2bdbd4523 (diff) |
Updated to fedora-glibc-20040927T0611cvs/fedora-glibc-2_3_3-59
Diffstat (limited to 'sysdeps/generic/s_fdim.c')
-rw-r--r-- | sysdeps/generic/s_fdim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/s_fdim.c b/sysdeps/generic/s_fdim.c index 201f93692e..5804e631c3 100644 --- a/sysdeps/generic/s_fdim.c +++ b/sysdeps/generic/s_fdim.c @@ -1,5 +1,5 @@ /* Return positive difference between arguments. - Copyright (C) 1997 Free Software Foundation, Inc. + Copyright (C) 1997, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -31,7 +31,7 @@ __fdim (double x, double y) /* Raise invalid flag. */ return x - y; - return x < y ? 0 : x - y; + return x <= y ? 0 : x - y; } weak_alias (__fdim, fdim) #ifdef NO_LONG_DOUBLE |