Adjust after increased fp precision.

This commit is contained in:
Axel Naumann 2017-12-04 22:53:42 -06:00 committed by sftnight
parent 56b0e8e184
commit 88edc07e65

View File

@ -53,11 +53,11 @@ Result // CHECK: (cling::Value &) boxes [(cling::Value &) boxes [(int *) 0x12 <i
V // CHECK: (cling::Value &) boxes [(int *) 0x12 <invalid memory address>]
// Savannah #96277
gCling->evaluate("gCling->declare(\"double sin(double);\"); double one = sin(3.141/2);", V);
V // CHECK: (cling::Value &) boxes [(double) 1.000000]
gCling->evaluate("gCling->declare(\"double sin(double);\"); double one = sin(3.1416/2);", V);
V // CHECK: (cling::Value &) boxes [(double) 1.0000000]
gCling->process("double one = sin(3.141/2); // expected-note {{previous definition is here}}", &V);
V // CHECK: (cling::Value &) boxes [(double) 1.000000]
gCling->process("double one = sin(3.1416/2); // expected-note {{previous definition is here}}", &V);
V // CHECK: (cling::Value &) boxes [(double) 1.0000000]
one // CHECK: (double) 1
int one; // expected-error {{redefinition of 'one' with a different type: 'int' vs 'double'}}