Skip to content
Snippets Groups Projects
Commit 61c45045 authored by Axel Naumann's avatar Axel Naumann
Browse files

Adjust after increased fp precision.

parent 8ae60a20
No related branches found
No related tags found
No related merge requests found
......@@ -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'}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment