aboutsummaryrefslogtreecommitdiff
path: root/gcc/real.h
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-01-15 17:40:26 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-01-15 17:40:26 +0000
commit03cd8aba32349dbbf5f2ccb9bddadd2bccaefd1b (patch)
tree81f71c4ac11c1ee3a6504b15060bf6ffe8cf4a6d /gcc/real.h
parent4da782145bc9e183bc091995ab3cd77e2dffd551 (diff)
downloadgcc-03cd8aba32349dbbf5f2ccb9bddadd2bccaefd1b.zip
gcc-03cd8aba32349dbbf5f2ccb9bddadd2bccaefd1b.tar.gz
gcc-03cd8aba32349dbbf5f2ccb9bddadd2bccaefd1b.tar.bz2
real.c (real_sqrt): Return a bool result indicating whether a floating point exception or trap...
* real.c (real_sqrt): Return a bool result indicating whether a floating point exception or trap should be raised. * real.h (real_sqrt): Update function prototype. * builtins.c (fold_builtin): Only fold non-trapping square roots unless we're ignoring errno and trapping math. From-SVN: r61337
Diffstat (limited to 'gcc/real.h')
-rw-r--r--gcc/real.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/real.h b/gcc/real.h
index 163c283..0055106 100644
--- a/gcc/real.h
+++ b/gcc/real.h
@@ -1,6 +1,6 @@
/* Definitions of floating-point access for GNU compiler.
- Copyright (C) 1989, 1991, 1994, 1996, 1997, 1998,
- 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1989, 1991, 1994, 1996, 1997, 1998, 1999,
+ 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of GCC.
@@ -350,7 +350,7 @@ extern bool exact_real_inverse PARAMS ((enum machine_mode, REAL_VALUE_TYPE *));
extern tree build_real PARAMS ((tree, REAL_VALUE_TYPE));
/* Calculate R as the square root of X in the given machine mode. */
-extern void real_sqrt PARAMS ((REAL_VALUE_TYPE *,
+extern bool real_sqrt PARAMS ((REAL_VALUE_TYPE *,
enum machine_mode,
const REAL_VALUE_TYPE *));