Hi,
I am working on the Tcl examples and found possible causes
for the rounding errors vis-a-vis the C examples, namely
not using braces around all expressions. (The lack of braces
means that the numbers are filled as strings before the
expression is evaluated, whereas with braces the [expr]
comma
On 2008-12-31 06:22+0100 Arjen Markus wrote:
> Hi,
>
> I am working on the Tcl examples and found possible causes
> for the rounding errors vis-a-vis the C examples, namely
> not using braces around all expressions. (The lack of braces
> means that the numbers are filled as strings before the
> ex
>
> I would change the Tcl version to match the C logic (and the logic for the
> other languages as well) which (as you noted) does use integers for the
> theta-related variables for exactly the rounding reasons you mentioned.
>
Which is what I have done in my private copy. I have not had a chance