aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorZack Weinberg <zack@gcc.gnu.org>2002-03-25 20:52:28 +0000
committerZack Weinberg <zack@gcc.gnu.org>2002-03-25 20:52:28 +0000
commit15e5ad7698ca582197d816b0e864d55bc0bdb607 (patch)
tree8c35b0cf468101ecc396f5eb7631e99dc328e79c /gcc/doc
parent99ffa1e37aad3fafd771f47b56c0085ce5544727 (diff)
downloadgcc-15e5ad7698ca582197d816b0e864d55bc0bdb607.zip
gcc-15e5ad7698ca582197d816b0e864d55bc0bdb607.tar.gz
gcc-15e5ad7698ca582197d816b0e864d55bc0bdb607.tar.bz2
toplev.c: Don't include setjmp.h.
* toplev.c: Don't include setjmp.h. Kill float_handler_set, float_handled, float_handler, float_signal, set_float_handler, and do_float_handler. Set handler for SIGFPE to crash_signal. * toplev.h: Don't prototype do_float_handler. * c-lex.c: Fold parse_float into lex_number. Make warning about portability of hex float constants more informative, and don't issue it on top of a syntax error. * fold-const.c: Fold const_binop_1 and fold_convert_1 into their callers. * real.h: Define REAL_VALUE_ABS here... * simplify-rtx.c: ... not here. Fold check_fold_consts, simplify_unary_real, simplify_binary_real, and simplify_binary_is2orm1 into their callers. * tree.c: Fold build_real_from_int_cst_1 into caller. * doc/tm.texi: Document REAL_VALUE_ABS and REAL_VALUE_NEGATIVE. * tsystem.h: Include float.h here... * libgcc2.c: ... not here. java: * lex.c: Change java_perform_atof to take normal parameters instead of a pointer to a parameter block. Call it directly from java_lex. testsuite: * gcc.dg/c90-hexfloat-1.c: Adjust error regexps. From-SVN: r51336
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index ac44ee3..021d023 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -7829,6 +7829,10 @@ decimal and hexadecimal floating point constants, using the syntax
defined by the C language for both.
@end deftypefn
+@deftypefn Macro int REAL_VALUE_NEGATIVE (REAL_VALUE_TYPE @var{x})
+Returns 1 if @var{x} is negative (including negative zero), 0 otherwise.
+@end deftypefn
+
@deftypefn Macro int REAL_VALUE_ISINF (REAL_VALUE_TYPE @var{x})
Determines whether @var{x} represents infinity (positive or negative).
@end deftypefn
@@ -7856,6 +7860,10 @@ target's floating point format cannot represent infinity, it will call
Returns the negative of the floating point value @var{x}.
@end deftypefn
+@deftypefn Macro REAL_VALUE_TYPE REAL_VALUE_ABS (REAL_VALUE_TYPE @var{x})
+Returns the absolute value of @var{x}.
+@end deftypefn
+
@deftypefn Macro REAL_VALUE_TYPE REAL_VALUE_TRUNCATE (REAL_VALUE_TYPE @var{mode}, enum machine_mode @var{x})
Truncates the floating point value @var{x} to fit in @var{mode}. The
return value is still a full-size @code{REAL_VALUE_TYPE}, but it has an