shithub: mc

ref: 5bc9a99994e20a7d5ea6bc298e4b37bf7db2e48d
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()) castto(int))
}