shithub: mc

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