Review feedback on previous changes. (#64)

This commit is contained in:
Nikolay Igotti
2016-11-16 10:46:56 +03:00
committed by GitHub
parent ca193efa5c
commit db15540a74
5 changed files with 22 additions and 17 deletions
+2 -2
View File
@@ -194,7 +194,7 @@ task hello3(type: RunKonanTest) {
}
task tostring0(type: RunKonanTest) {
goldValue = "127\n255\n239\nA\n1122334455\n112233445566778899\n1E+27\n1E-300\ntrue\nfalse\n"
goldValue = "127\n-1\n239\nA\n1122334455\n112233445566778899\n1E+27\n1E-300\ntrue\nfalse\n"
source = "runtime/basic/tostring0.kt"
}
@@ -212,7 +212,7 @@ task array0(type: RunKonanTest) {
task array1(type: RunKonanTest) {
goldValue = "42\n1-1\n69\n83\n"
source = "runtime/basic/array1.kt"
}*/
}*/
task if_else(type: UnitKonanTest) {
@@ -7,6 +7,9 @@ fun main(args : Array<String>) {
// println('ト'.toString())
println(1122334455.toString())
println(112233445566778899.toString())
// Here we differ from Java, as have no dtoa() yet.
println(3.14159265358.toString())
// Here we differ from Java, as have no dtoa() yet.
println(1e27.toFloat().toString())
println(1e-300.toDouble().toString())
println(true.toString())