Return the float instance associated with val.

Property definitions

nitc $ NaiveInterpreter :: float_instance
	# Return the float instance associated with `val`.
	fun float_instance(val: Float): Instance
	do
		var t = mainmodule.float_type
		var instance = new PrimitiveInstance[Float](t, val)
		init_instance_primitive(instance)
		return instance
	end
src/interpreter/naive_interpreter.nit:288,2--295,4