shithub: mc

ref: c33eb769c57da362e7a6ac64e0d538a075e5a5dd
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() : int))
}