diff options
Diffstat (limited to 'examples/learn/06-floats.zc')
| -rw-r--r-- | examples/learn/06-floats.zc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/learn/06-floats.zc b/examples/learn/06-floats.zc new file mode 100644 index 0000000..06d23fa --- /dev/null +++ b/examples/learn/06-floats.zc @@ -0,0 +1,6 @@ +fn put_f(x) { asm { x @ #1220 } return 0; } +fn main() { + let a = 1.5; + put_f(a + 2.5); put_c(10); + return 0; +} |
