shithub: mc

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