yaxunl added inline comments.
================ Comment at: clang/lib/CodeGen/CGExpr.cpp:5602 + // source are correctly rounded. + SetFPAccuracy(Val, 2.5); + } ---------------- the spec says sqrt relative error is 3ULP https://registry.khronos.org/OpenCL/specs/2.2/html/OpenCL_C.html#relative-error-as-ulps CHANGES SINCE LAST ACTION https://reviews.llvm.org/D154495/new/ https://reviews.llvm.org/D154495 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits