Mailinglist Archive: opensuse (3337 mails)

< Previous Next >
Re: [SLE] Real Numbers representation in Tcl language
  • From: Jerry Feldman <gaf@xxxxxxx>
  • Date: Wed, 12 Apr 2006 09:29:30 -0400
  • Message-id: <200604120929.30615.gaf@xxxxxxx>
On Tuesday 11 April 2006 9:04 pm, Maura Edeweiss Monville wrote:
> Is it possible that on a 32-bit machine the maximum value for a Real
> number in Tcl language is 10^10 ?
> Instinctively I'd saythe number of bits assigned to the representation of
> a Real number is independent on the machine h/w architecture ... but I'm
> not familiar with Tcl and may be mistaken ...
AFAIK, Tcl does all of its computations as doubles, and a double on a 32-bit
or 64-bit system is 64-bits. Additionally, AFAIK, Tcl stores its variables
as strings.

Jerry Feldman <gaf@xxxxxxx>
Boston Linux and Unix user group PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

< Previous Next >
Follow Ups