shithub: mc

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