|
From: Don P. <dg...@us...> - 2005-08-24 21:49:28
|
Update of /cvsroot/tcl/tcl In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14201 Modified Files: Tag: kennykb-numerics-branch ChangeLog Log Message: [kennykb-numerics-branch] * generic/tclBasic.c: Revised implementation of the ceil(.) and * generic/tclInt.h: floor(.) math functions in light of the * generic/tclStrToD.c: revised comparison operators, so that it is always true that ($x <= ceil($x)) and ($x >= floor($x)). The simple approach of "convert to double and call ceil() or floor()" could not guarantee that. |