summary refs log tree commit diff stats
path: root/tests/generics/tgenerics_issues.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-02-08 00:30:24 -0800
committerGitHub <noreply@github.com>2020-02-08 09:30:24 +0100
commite4415422fe2b615a6dfe01bb7136ec41ef429108 (patch)
tree8e9f45c193aad54fa60c79cdc8e5f1981cea04cf /tests/generics/tgenerics_issues.nim
parentf3117d350ea245769d60a80b2d12b062cff4b8ff (diff)
downloadNim-e4415422fe2b615a6dfe01bb7136ec41ef429108.tar.gz
Revert "printing float values will have one more digit. (#13276) [backport]" (#13363)
This reverts commit b2c6db97f9f477f6999fa9c7aae5e32f10b6b3fe.
Diffstat (limited to 'tests/generics/tgenerics_issues.nim')
-rw-r--r--tests/generics/tgenerics_issues.nim12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/generics/tgenerics_issues.nim b/tests/generics/tgenerics_issues.nim
index 64884db04..af71a8938 100644
--- a/tests/generics/tgenerics_issues.nim
+++ b/tests/generics/tgenerics_issues.nim
@@ -6,7 +6,7 @@ discard """
 perm: 22 det: 22
 TMatrix[3, 3, system.int]
 3
-@[0.875, 0.125]
+@[0.9, 0.1]
 U[3]
 U[(f: 3)]
 U[[3]]
@@ -20,9 +20,9 @@ concrete 88
 2
 3
 !!Hi!!
-G:0,1:0.125
-G:0,1:0.125
-H:1:0.125
+G:0,1:0.1
+G:0,1:0.1
+H:1:0.1
 '''
 joinable: false
 """
@@ -370,7 +370,7 @@ block t2304:
   type TV2[T:SomeNumber] = array[0..1, T]
   proc newV2T[T](x, y: T=0): TV2[T] = [x, y]
 
-  let x = newV2T[float](0.875, 0.125)
+  let x = newV2T[float](0.9, 0.1)
   echo(@x)
 
 
@@ -711,7 +711,7 @@ block t4863:
   proc q[j: static[int]](x:H[j]) = echo "H:", j, ":", x.v
 
   var
-    g0 = G[0,1](v: 0.125)
+    g0 = G[0,1](v: 0.1)
     h0:H[1] = g0
   p(g0)
   p(h0)