Artifacts Associated With Ticket 1851567fffffffff
Ticket change [7ef6ddda89] (rid 97497) by teopetuk on 2007-12-15 22:54:10:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Hi! expr in current HEAD returns the following on Motorola M68K architecture: % expr 0.1 0.000 % expr 1e-10 0e-12 The bug is triggered only when the final result is shown, and only when the resulting number is less than one in absolute value. Then expr replaces mantissa by zero. % expr (1.0/10) 0.000 % expr (1.0/10)*10 1.0 Also, expr.test fails with the following: expr.test Test file error: unable to alloc 3988184000 bytes (I don't know if it's the same bug or another one). 8.4.16 works fine and passes all the tests.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "teopetuk"
- subsystem initialized to: "None"
- title initialized to:
expr returns incorrect results on M68K architecture
- type initialized to: "Bug"
Ticket change [a78cdfa060] (rid 98822) by dgp on 2007-12-18 11:09:55:
- assignee changed to: "msofer"
- foundin changed to: "obsolete: 8.5b3"
- icomment:
Logged In: YES user_id=80530 Originator: NO Is this another symptom of 1851832?
- login: "dgp"
- mimetype: "text/plain"
- priority changed to: "8"
- subsystem changed to: "47. Bytecode Compiler"
- username: "dgp"
Ticket change [7afc24d3e7] (rid 90434) by nobody on 2007-12-18 15:00:38:
- icomment:
Logged In: NO Even if it's a symptom of 1851832 the current HEAD (with a patch from 1851832) doesn't cure it.
- login: "[email protected]"
- mimetype: "text/plain"
- username: "[email protected]"
- icomment:
Ticket change [b6a54cd15d] (rid 125456) by msofer on 2007-12-18 18:25:38:
- icomment:
Logged In: YES user_id=148712 Originator: NO I think Tcl_Objs are properly aligned, my guess is that the problem is in TclDoubleDigits(). I will not be able to look at this in the next few days. Please report more platform details - is this linux? What libc?
- login: "msofer"
- mimetype: "text/plain"
- username: "msofer"
- icomment:
Ticket change [01e4d86e35] (rid 119563) by teopetuk on 2007-12-18 18:38:14:
- icomment:
Logged In: YES user_id=410366 Originator: YES Yes, it's Debian Linux, glibc version is 2.5.
- login: "teopetuk"
- mimetype: "text/plain"
- username: "teopetuk"
- icomment:
Ticket change [4def3972e4] (rid 127143) by dgp on 2007-12-18 23:29:39:
- icomment:
Logged In: YES user_id=80530 Originator: NO Wonder if this is an issue analogous to what we faced with the Nokia 770? Yet another wacky endian variation? http://wiki.tcl.tk/15408
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [0a563595b2] (rid 113800) by teopetuk on 2007-12-20 20:59:56:
- icomment:
Logged In: YES user_id=410366 Originator: YES It's a bug in frexp() function. The following program: #include <math.h> #include <stdio.h> main() { double v; int e; v = frexp(1.1, &e); printf("%g, %d\n", v, e); v = frexp(0.1, &e); printf("%g, %d\n", v, e); } prints out 0.55, 1 0.05, -2147483647 which is obviously wrong. The result should be 0.55, 1 0.8, -3 So, there's no bug in Tcl itself. - login: "teopetuk"
- mimetype: "text/plain"
- username: "teopetuk"
- icomment:
Ticket change [a67b67ea47] (rid 98608) by msofer on 2007-12-20 21:39:17:
- closedate changed to: "2007-12-20T14:39:17"
- closer changed to: "msofer"
- resolution changed to: "Invalid"
- status changed to: "Closed"