[PATCH] D61684: [compiler-rt] Make builtins test pass when using i386 gcc as host compiler
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 8 08:51:15 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL360264: [compiler-rt] Make builtins test pass when using i386 gcc as host compiler (authored by nico, committed by ).
Herald added a subscriber: delcypher.
Changed prior to commit:
https://reviews.llvm.org/D61684?vs=198671&id=198676#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61684/new/
https://reviews.llvm.org/D61684
Files:
compiler-rt/trunk/test/builtins/Unit/divsc3_test.c
Index: compiler-rt/trunk/test/builtins/Unit/divsc3_test.c
===================================================================
--- compiler-rt/trunk/test/builtins/Unit/divsc3_test.c
+++ compiler-rt/trunk/test/builtins/Unit/divsc3_test.c
@@ -102,7 +102,7 @@
{
float _Complex z = (a * c + b * d) / (c * c + d * d)
+ (b * c - a * d) / (c * c + d * d) * _Complex_I;
- if (r != z)
+ if (cabsf((r-z)/r) > 1.e-6)
return 1;
}
break;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61684.198676.patch
Type: text/x-patch
Size: 545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190508/dadb1041/attachment.bin>
More information about the llvm-commits
mailing list