float literals
This commit is contained in:
@@ -2,18 +2,9 @@ import c;
|
||||
|
||||
global func main(argc: i64, argv: i64) {
|
||||
printf("args: %d, starts at %p\n", argc, argv);
|
||||
|
||||
a = 128;
|
||||
b = 32768;
|
||||
c = 2147483648;
|
||||
d = 9223372036850000000;
|
||||
|
||||
x = test(a, b, c, d);
|
||||
|
||||
printf("%d\n", x);
|
||||
test(12.1);
|
||||
}
|
||||
|
||||
func test(a: i8, b: i16, c: i32, d: i64): i64 {
|
||||
printf("a: %d, b: %d, c: %d, d: %d\n", a, b, c, d);
|
||||
return 12;
|
||||
func test(a: f64) {
|
||||
printf("%f\n", a);
|
||||
}
|
||||
Reference in New Issue
Block a user