[PATCH]: PR29335 use MPFR for two-argument math builtins (pow, atan2, hypot)
Roger Sayle
roger@eyesopen.com
Mon Oct 30 01:26:00 GMT 2006
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
--
More information about the Gcc-patches
mailing list