[Mathlib-commitlog] mathlib/Source/MathLib/Functions/Polynomial Binomial.java, 1.5, 1.6
Status: Beta
Brought to you by:
st_mueller
|
From: Stefan M. <st_...@us...> - 2007-01-06 09:34:01
|
Update of /cvsroot/mathlib/mathlib/Source/MathLib/Functions/Polynomial In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv12750/Source/MathLib/Functions/Polynomial Modified Files: Binomial.java Log Message: getValue() replaced by getValueRe() Index: Binomial.java =================================================================== RCS file: /cvsroot/mathlib/mathlib/Source/MathLib/Functions/Polynomial/Binomial.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Binomial.java 30 Dec 2006 18:05:04 -0000 1.5 --- Binomial.java 6 Jan 2007 09:33:58 -0000 1.6 *************** *** 19,23 **** if(operands.length >= 1 && operands[0] instanceof NumberToken) { ! double val = ((NumberToken)operands[0]).getValue(); int order = (new Double(val)).intValue(); --- 19,23 ---- if(operands.length >= 1 && operands[0] instanceof NumberToken) { ! double val = ((NumberToken)operands[0]).getValueRe(); int order = (new Double(val)).intValue(); *************** *** 48,52 **** temp2 = temp2.divide(temp); ! results[0][count] = ((NumberToken)temp2).getValue(); } result = new NumberToken(results); --- 48,52 ---- temp2 = temp2.divide(temp); ! results[0][count] = ((NumberToken)temp2).getValueRe(); } result = new NumberToken(results); |