diff options
Diffstat (limited to 'tests/accept/run/tfloat3.nim')
-rwxr-xr-x | tests/accept/run/tfloat3.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/accept/run/tfloat3.nim b/tests/accept/run/tfloat3.nim index 72acce958..4382dd3ed 100755 --- a/tests/accept/run/tfloat3.nim +++ b/tests/accept/run/tfloat3.nim @@ -1,3 +1,7 @@ +discard """ + file: "tfloat3.nim" + output: "Nimrod 3.4368930843, 0.3299290698 C double: 3.4368930843, 0.3299290698" +""" import math, strutils @@ -16,3 +20,5 @@ var x: float = 1.234567890123456789 c_printf("Nimrod %.10f, %.10f ", exp(x), cos(x)) printFloats() + + |