This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FloatingPointMath and transformations
- From: Andreas Schwab <schwab at suse dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Geert Bosch <boschg at mac dot com>, Vincent Lefevre <vincent+gcc at vinc17 dot org>, gcc at gcc dot gnu dot org
- Date: Mon, 02 Jun 2014 17:34:31 +0200
- Subject: Re: FloatingPointMath and transformations
- Authentication-results: sourceware.org; auth=none
- References: <20140602140635 dot GA5214 at ypig dot lip dot ens-lyon dot fr> <0B0543CB-A674-423D-AA5B-4252D75C3C11 at mac dot com> <20140602143932 dot GM10386 at tucnak dot redhat dot com>
Jakub Jelinek <jakub@redhat.com> writes:
> If C is a power of two, then 1.0 / C should IMHO never overflow,
It does if C is subnormal.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."