Re: [PATCH][testsuite] Avoid division by zero.

2014-01-31 Thread Uros Bizjak
On Fri, Jan 31, 2014 at 1:32 PM, Ilya Tocar wrote: >> >> We won't get zero from exponential function, so expecting zero result >> >> is flawed anyway. >> >> >> >> If we would like to introduce universal epsilon comparisons into the >> >> testsuite, then please read [1]. Being overly pedantic, the

Re: [PATCH][testsuite] Avoid division by zero.

2014-01-31 Thread Ilya Tocar
> >> We won't get zero from exponential function, so expecting zero result > >> is flawed anyway. > >> > >> If we would like to introduce universal epsilon comparisons into the > >> testsuite, then please read [1]. Being overly pedantic, the definition > >> should be "|(v[i] - u.a[i]) / v[i]|", as

Re: [PATCH][testsuite] Avoid division by zero.

2014-01-31 Thread Uros Bizjak
On Fri, Jan 31, 2014 at 11:00 AM, Ilya Tocar wrote: >> > This patch removes possible division by zero. >> > Make check passes. Ok for trunk? >> > >> > 2014-01-30 Ilya Tocar >> > >> > * gcc.target/i386/m512-check.h: Use correct rounding values. >> > >> > --- >> > gcc/testsuite/gcc.targ

Re: [PATCH][testsuite] Avoid division by zero.

2014-01-31 Thread Ilya Tocar
On 30 Jan 19:24, Uros Bizjak wrote: > On Thu, Jan 30, 2014 at 5:41 PM, Ilya Tocar wrote: > > > This patch removes possible division by zero. > > Make check passes. Ok for trunk? > > > > 2014-01-30 Ilya Tocar > > > > * gcc.target/i386/m512-check.h: Use correct rounding values. > > > > -

Re: [PATCH][testsuite] Avoid division by zero.

2014-01-30 Thread Uros Bizjak
On Thu, Jan 30, 2014 at 5:41 PM, Ilya Tocar wrote: > This patch removes possible division by zero. > Make check passes. Ok for trunk? > > 2014-01-30 Ilya Tocar > > * gcc.target/i386/m512-check.h: Use correct rounding values. > > --- > gcc/testsuite/gcc.target/i386/m512-check.h | 3 ++-

[PATCH][testsuite] Avoid division by zero.

2014-01-30 Thread Ilya Tocar
Hi, This patch removes possible division by zero. Make check passes. Ok for trunk? 2014-01-30 Ilya Tocar * gcc.target/i386/m512-check.h: Use correct rounding values. --- gcc/testsuite/gcc.target/i386/m512-check.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/g