shithub: mc

ref: 5927f8f8d3b4ab40d2aacfae4b3cbd593c5e7f01
dir: /test/basicfloat.myr/

View raw version
use std

const get42 = {
	-> 42.0
}

/* basic sanity check on floating point operations. should return 84. */
const main = {
	std.exit((42.0 + get42() : int))
}