shithub: mc

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