|
From: Joao C. <jc...@fe...> - 2002-10-16 22:20:37
|
On Wednesday 16 October 2002 08:51, Vince Darley wrote:
> In general, this:
>
> [expr $zmin + $i * $step + 0.000001]
>
> should be:
>
> [expr {$zmin + $i * $step + 0.000001}]
>
> to gain advantage of the internal representations (this is for rather
> technical reasons I won't go into here), and this may help your problem
> with -0.0000
Thanks, it did.
>
> As for the 'floats or doubles' question, Tcl is a full programming
> language and contains internal support for ints, longs, floats, doubles=
,
> and even long longs.
Sure, I was speaking how numbers are internaly stored. Maurice said they =
are=20
as doubles.
Thanks,
Joao
|