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 tocarip.in...@gmail.com wrote: This patch removes possible division by zero. Make check passes. Ok for trunk? 2014-01-30 Ilya Tocar ilya.to...@intel.com * gcc.target/i386/m512-check.h: Use

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

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

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 stated in [2].

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

2014-01-31 Thread Uros Bizjak
On Fri, Jan 31, 2014 at 1:32 PM, Ilya Tocar tocarip.in...@gmail.com 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,

[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 ilya.to...@intel.com * 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

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

2014-01-30 Thread Uros Bizjak
On Thu, Jan 30, 2014 at 5:41 PM, Ilya Tocar tocarip.in...@gmail.com wrote: This patch removes possible division by zero. Make check passes. Ok for trunk? 2014-01-30 Ilya Tocar ilya.to...@intel.com * gcc.target/i386/m512-check.h: Use correct rounding values. ---