shithub: mc

ref: 682c4ce6114cb44e2ad95a75269585f6e1da8150
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 = {
	-> (42.0 + get42()) castto(int)
}