aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/arm
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-31 07:56:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-31 07:56:49 +0000
commit16e4bf6fece0a835d3a5c07c088c7070c8174363 (patch)
treea5ef93ee8230bfbc4381442cd6245d05792707dc /sysdeps/arm
parentacb1cd8ea1cfc675b307352f7ad5ff61ea345b26 (diff)
downloadglibc-16e4bf6fece0a835d3a5c07c088c7070c8174363.tar
glibc-16e4bf6fece0a835d3a5c07c088c7070c8174363.tar.gz
glibc-16e4bf6fece0a835d3a5c07c088c7070c8174363.tar.bz2
glibc-16e4bf6fece0a835d3a5c07c088c7070c8174363.zip
Correct return value according to the standard.
Diffstat (limited to 'sysdeps/arm')
-rw-r--r--sysdeps/arm/fpu/feholdexcpt.c2
-rw-r--r--sysdeps/arm/fpu/fesetround.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/arm/fpu/feholdexcpt.c b/sysdeps/arm/fpu/feholdexcpt.c
index 3faabd90eb..3422d54bb8 100644
--- a/sysdeps/arm/fpu/feholdexcpt.c
+++ b/sysdeps/arm/fpu/feholdexcpt.c
@@ -33,5 +33,5 @@ feholdexcept (fenv_t *envp)
temp &= ~(FE_ALL_EXCEPT << FE_EXCEPT_SHIFT);
_FPU_SETCW(temp);
- return 1;
+ return 0;
}
diff --git a/sysdeps/arm/fpu/fesetround.c b/sysdeps/arm/fpu/fesetround.c
index 7591b397e1..04eb09c413 100644
--- a/sysdeps/arm/fpu/fesetround.c
+++ b/sysdeps/arm/fpu/fesetround.c
@@ -23,5 +23,5 @@ int
fesetround (int round)
{
/* We only support FE_TONEAREST, so there is no need for any work. */
- return (round == FE_TONEAREST)?1:0;
+ return (round == FE_TONEAREST)?0:1;
}