shithub: mc

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