blob: 69bf4c353ef03b1eb0a92a677c05a23c22e41c75 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
// expect: 0.000000/4607182418800017408/
include rt;
void pn(int x) { rt.put_n(x); rt.put_c(10); }
fn pf(x) { asm { x @ #1220 } rt.put_c(10); return 0; }
fn main() {
pf(3 as float);
float one = 1.0;
pn(one as int);
return 0;
}
|