shithub: mc

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