diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-03 11:27:23 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-06-03 11:27:23 +0000 |
commit | 78a74442b1635506f5c38f4d0f4f76fe03d0e1d7 (patch) | |
tree | 0ac72a6f0481c8c341e932108b5ac14e70debfbf /gcc/doc | |
parent | 915e81b8b3ab82d559c65434587a01ae746d9035 (diff) | |
download | gcc-78a74442b1635506f5c38f4d0f4f76fe03d0e1d7.tar.gz |
* builtins.def (BUILT_IN_CABS, BUILT_IN_CABSF, BUILT_IN_CABSL):
New builtins representing ISO C99's cabs, cabsf and cabsl.
* builtins.c (expand_builtin_fabs): New function.
(expand_builtin_cabs): New function.
(expand_builtin): Expand BUILT_IN_FABS{,F,L} and BUILT_IN_CABS{,F,L}
using expand_builtin_fabs and expand_builtin_cabs respectively.
* doc/extend.texi: Document new cabs, cabsf and cabsl builtins.
* gcc.dg/builtins-16.c: New test case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67368 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index a95d3637d83..c4152ef0092 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -4598,6 +4598,9 @@ v4si f (v4si a, v4si b, v4si c) @findex atanl @findex bcmp @findex bzero +@findex cabs +@findex cabsf +@findex cabsl @findex calloc @findex ceil @findex ceilf @@ -4726,8 +4729,11 @@ All these functions have corresponding versions prefixed with @code{__builtin_}, which may be used even in strict C89 mode. -The ISO C99 functions @code{conj}, @code{conjf}, @code{conjl}, @code{creal}, -@code{crealf}, @code{creall}, @code{cimag}, @code{cimagf}, @code{cimagl}, +The ISO C99 functions +@code{cabs}, @code{cabsf}, @code{cabsl}, +@code{conj}, @code{conjf}, @code{conjl}, +@code{creal}, @code{crealf}, @code{creall}, +@code{cimag}, @code{cimagf}, @code{cimagl}, @code{_Exit}, @code{imaxabs}, @code{llabs}, @code{nearbyint}, @code{nearbyintf}, @code{nearbyintl}, @code{round}, @code{roundf}, @code{roundl}, @code{snprintf}, |