Review feedback on previous changes. (#64)
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user