shithub: mc

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