diff options
author | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-12 18:36:05 +0000 |
---|---|---|
committer | ghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-06-12 18:36:05 +0000 |
commit | 776a7bab6ef74a50f9a50dc5de25ac1ddedb621a (patch) | |
tree | 28a5829b4314d3e5594b4821a5e06e7b7ae2fbe9 /gcc/real.h | |
parent | 6672356353b80a3d59d3fa452c2fedd8f24ba140 (diff) | |
download | ppe42-gcc-776a7bab6ef74a50f9a50dc5de25ac1ddedb621a.tar.gz ppe42-gcc-776a7bab6ef74a50f9a50dc5de25ac1ddedb621a.zip |
* real.c (real_isfinite): New.
(real_sqrt): Use it.
* real.h (real_isfinite): New.
* builtins.c: Use it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125654 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/real.h')
-rw-r--r-- | gcc/real.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/real.h b/gcc/real.h index ec5a207cb9c..09b1e52fb2c 100644 --- a/gcc/real.h +++ b/gcc/real.h @@ -192,6 +192,9 @@ extern bool real_isinf (const REAL_VALUE_TYPE *); /* Determine whether a floating-point value X is a NaN. */ extern bool real_isnan (const REAL_VALUE_TYPE *); +/* Determine whether a floating-point value X is finite. */ +extern bool real_isfinite (const REAL_VALUE_TYPE *); + /* Determine whether a floating-point value X is negative. */ extern bool real_isneg (const REAL_VALUE_TYPE *); |