shithub: mc

ref: eadf2bcb3c9dbe20b8bef1cf7e6059703f1e5ac6
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))
}