Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#717 floating point error at 9074E304

obsolete: 8.0p2
closed-fixed
nobody
2
2001-04-16
2000-10-26
Anonymous
No

OriginalBugID: 1374 Bug
Version: 8.0p2
SubmitDate: '1999-03-02'
LastModified: '1999-04-16'
Severity: CRIT
Status: Released
Submitter: pat
ChangedBy: stanton
OS: Windows NT
OSVersion: 4.0S3
Machine: X86
FixedDate: '1999-04-16'
FixedInVersion: 8.0.5
ClosedDate: '2000-10-25'

Name:
suresh tipirneni

CustomShell:
none

ReproducibleScript:
when my increment function executes following statement in tclsh80,

set a 9074E304
set a [expr $a + 1 ]

ObservedBehavior:
it crashes the tclsh80 with the following message appearing twice,

{
The exception Floating point inexact result.
(0xc000008f) occured in the application at location 0x003640e2.
Click on OK to terminate the application
Click on CANCEL to debug the application
}

and following message

{
The exception unknown software exception ( 0xc0000027) occured in the location 0x77f3af90.

Click on OK to terminate the application
Click on CANCEL to debug the application

}

DesiredBehavior:
floating point value too large to represent or the actual number ( 3.40282e+038)

not present in > 8.0.3

same behavior when expr used in conjunction with the functions like tan, sin, cos, pow etc.

bug not present in the Alpha UNIX and NT versions of tclsh80 p2

This behavior seems to be gone in 8.0.5 and later releases

Discussion

  • Brent B. Welch
    Brent B. Welch
    2000-10-26

    • priority: 5 --> 2
    • status: open --> closed-fixed
     
  • Don Porter
    Don Porter
    2001-04-16

    • labels: 104246 --> 10. Objects