shithub: mc

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