This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: PR29335 use MPFR for two-argument math builtins (pow, atan2, hypot)
- From: Roger Sayle <roger at eyesopen dot com>
- To: "Kaveh R. GHAZI" <ghazi at caip dot rutgers dot edu>
- Cc: Paolo Bonzini <paolo dot bonzini at lu dot unisi dot ch>, Bradley Lucier <lucier at math dot purdue dot edu>, <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 29 Oct 2006 15:12:29 -0700 (MST)
- Subject: Re: [PATCH]: PR29335 use MPFR for two-argument math builtins (pow, atan2, hypot)
On Sun, 29 Oct 2006, Kaveh R. GHAZI wrote:
> 2006-10-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
>
> * builtins.c (fold_builtin_hypot): Rearrange recursive
> transformation before others, and also do ABS_EXPR. When
> necessary, check flag_unsafe_math_optimizations. When necessary,
> add fabs.
>
> testsuite:
> * gcc.dg/builtins-20.c: Add more hypot tests.
Cool! This is OK for mainline. Thanks.
Roger
--