Simple maths question
- From: Frem <freminlins@xxxxxxxxx>
- Date: Thu, 10 May 2007 20:32:05 GMT
Hello,
I was demonstrating how easy Tcl is to use (or at least to learn to use) when I was immediately flummoxed.
On a Windows XP machine I created a trivial proc:
(bin) 289 % proc subtract {a b} {
return [expr {$a - $b}]
}
(bin) 290 % subtract 3 2.2
0.7999999999999998
Eh? This was using Tcl 8.5a4. It works properly in 8.4.11. Is this a known bug (sorry if it is)?
Thanks,
Frem.
.
- Follow-Ups:
- Re: Simple maths question
- From: Mark Janssen
- Re: Simple maths question
- Prev by Date: Re: Wiki redux
- Next by Date: xy chart with trend line.
- Previous by thread: INMARSAT and Tcl
- Next by thread: Re: Simple maths question
- Index(es):