﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
246	Foo function square no make sense	Stephen Siegel	zirkel	"It looks like it is squaring the value of the left hand side and returning that in the left hand side.  It is not reading the parameter passed to the function...

{{{
		} else if (name.equals(""square"")) {
			// Execute square. This returns the square root of the parameter.
			
			// Huh????
			
			LHSExpressionIF lhs = invocation.lhs();
			if (lhs != null && lhs instanceof VariableExpressionIF) {
				try {
					assignValue(environment, lhs, evaluator.dynamicFactory()
							.multiply(
									environment.getAssumption(),
									environment.valueOf(evaluator.cell(
											environment,
											((VariableExpressionIF) lhs)
													.variable())),
									environment.valueOf(evaluator.cell(
											environment,
											((VariableExpressionIF) lhs)
													.variable()))), evaluator);
}}}
"	defect	closed	major	Release 1.0	Administration	1.0	fixed	function library foo	
