diff options
author | Roger Sayle <roger@eyesopen.com> | 2003-01-15 17:40:26 +0000 |
---|---|---|
committer | Roger Sayle <sayle@gcc.gnu.org> | 2003-01-15 17:40:26 +0000 |
commit | 03cd8aba32349dbbf5f2ccb9bddadd2bccaefd1b (patch) | |
tree | 81f71c4ac11c1ee3a6504b15060bf6ffe8cf4a6d /gcc/real.h | |
parent | 4da782145bc9e183bc091995ab3cd77e2dffd551 (diff) | |
download | gcc-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 *)); |