diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-15 17:40:26 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-01-15 17:40:26 +0000 |
commit | 61f1dcccb334b4d0b29b96011f8b8559635be566 (patch) | |
tree | 81f71c4ac11c1ee3a6504b15060bf6ffe8cf4a6d /gcc/real.h | |
parent | 12a13e7a396c87a81e560a60564aedb37abfce8a (diff) | |
download | gcc-61f1dcccb334b4d0b29b96011f8b8559635be566.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61337 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/real.h b/gcc/real.h index 163c283c171..00551065555 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 *)); |