PR# 10260 Different behavior of conversion of doubles between melted and frozen code

Problem Report Summary
Submitter: dhiebert
Category: Compiler
Priority: High
Date: 2006/04/10
Class: Bug
Severity: Serious
Number: 10260
Release: 5.6.1218
Confidential: No
Status: Analyzed
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
Synopsis: Different behavior of conversion of doubles between melted and frozen code

Description
Demonstrates a bug in converting double values from strings.
When the class in the attached system is melted, it passes its internal test. When frozen it failes.

However, only the frozen code properly converts the value of 'd1' into the value encoded. When melted, both values are converted differently from the values encoded.

This problem interferes with equality checks between two classes.
To Reproduce
Compile the attached system and run it. Then touch the class and recompile to force the compiler to melt the class. Then run it again. The results of these two passes are different. Only the frozen code properly converts the first value.
Problem Report Interactions
From:ted_eiffel    Date:2009/07/27    Status: Analyzed    Download   
Created test#exec317.

From:dhiebert    Date:2006/04/11    Download   
In my opinion, it is not obvious that after browsing to select the file path, that one also has to press the Add button to the left to actually add the file selected. Browsing for the file (i.e. adding a non-empty path) should be sufficient.

From:manus_eiffel    Date:2006/04/10    Download   
Hi Darren,

It seems that you forgot to include the attachment.