diff options
author | Araq <rumpf_a@web.de> | 2014-08-29 09:12:12 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-08-29 09:12:12 +0200 |
commit | c6034277fcb597da03d064b773ad4f6823823fa0 (patch) | |
tree | bcd12c6af99162c2bc5f03cd374d7b54c07420f3 /tests/float | |
parent | cd2c6128d1df471830ea7f842b57aa32aee5deab (diff) | |
download | Nim-c6034277fcb597da03d064b773ad4f6823823fa0.tar.gz |
further adaptations
Diffstat (limited to 'tests/float')
-rw-r--r-- | tests/float/tfloat3.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/float/tfloat3.nim b/tests/float/tfloat3.nim index 4382dd3ed..2318c517e 100644 --- a/tests/float/tfloat3.nim +++ b/tests/float/tfloat3.nim @@ -1,6 +1,6 @@ discard """ file: "tfloat3.nim" - output: "Nimrod 3.4368930843, 0.3299290698 C double: 3.4368930843, 0.3299290698" + output: "Nim 3.4368930843, 0.3299290698 C double: 3.4368930843, 0.3299290698" """ import math, strutils @@ -17,7 +17,7 @@ proc c_printf(frmt: CString) {.importc: "printf", header: "<stdio.h>", varargs.} proc printFloats {.importc, nodecl.} var x: float = 1.234567890123456789 -c_printf("Nimrod %.10f, %.10f ", exp(x), cos(x)) +c_printf("Nim %.10f, %.10f ", exp(x), cos(x)) printFloats() |