shithub: mc

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