[XLA] Do not use hex literal constants, this is only supported in c++17
PiperOrigin-RevId: 290863873 Change-Id: I2be7840220827acaaabe718d325f037c14c9c625
This commit is contained in:
parent
1a86c7bf3f
commit
e0889b4b8e
@ -43,7 +43,7 @@ namespace {
|
||||
class ArrayElementwiseOpTest : public ClientLibraryTestBase {
|
||||
public:
|
||||
ErrorSpec error_spec_{0.0001, 0.0001};
|
||||
ErrorSpec strict_error_spec_{0x1p-48, 0x1p-48};
|
||||
ErrorSpec strict_error_spec_{3.6e-15, 3.6e-15};
|
||||
};
|
||||
|
||||
class ArrayElementwiseOpTestParamCount
|
||||
|
@ -183,7 +183,7 @@ XLA_TEST_F(ScalarComputationsTest, MulThreeScalarsF64) {
|
||||
ConstantR0<double>(&builder, 0.5772156649015328));
|
||||
|
||||
ComputeAndCompareR0<double>(&builder, 4.929268367422896, {},
|
||||
ErrorSpec{0x1p-48});
|
||||
ErrorSpec{3.6e-15});
|
||||
}
|
||||
|
||||
XLA_TEST_F(ScalarComputationsTest, MulTwoScalarsS32) {
|
||||
|
Loading…
Reference in New Issue
Block a user