Author |
visible floating point issue |
kinsa
Member
Posts: 13
Joined: 12.03.10 |
Posted on August 25 2010 09:26 |
|
|
I have a process control system running on 6.2 using the latest version of FreeAxp.
This system has some UI where values between 0.0 to 100.0 are entered. Whenever a 100.0 (%) is entered, an error comes up informing the user that an invalid value was entered; that is, the value is outside the 0.0 - 100.0 range. 99.99 has to be entered which is then coverted to 100.0 when the dialog is re-opened.
This might be a minor issue but from the user's point of view this is a big problem.
Note that this doesn't happen with PA. |
|
Author |
RE: visible floating point issue |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on August 26 2010 13:32 |
|
|
Just to confirm, you are running 1.0.8.283, correct?
Would it be possible to supply the code or a sample program demonstrating the problem? |
|
Author |
RE: visible floating point issue |
kinsa
Member
Posts: 13
Joined: 12.03.10 |
Posted on August 26 2010 19:14 |
|
|
i'm on 288.
i'll try to recreate the issue as i don't have access to the source code. |
|
Author |
RE: visible floating point issue |
kinsa
Member
Posts: 13
Joined: 12.03.10 |
Posted on August 29 2010 03:46 |
|
|
Hello Bruce,
The original program was created using fortran and this sample fortran code mimics what the UI response is when a value of 100.0 is entered.
This is the output from PA:
( 9.900000 ) 99.00000 is ok
( 10.00000 ) 100.0000 is ok
And this is the output from FreeAXP:
( 0.900001 ) 99.00001 is ok
( 10.000000 ) 100.0000 > 100.0
This example gives a weird result.
PA output:
100.0000 , 10.00000
99.99000 , 9.999000
99.99990 , 9.999990
FreeAXP output:
100.00000 , 10.000000
00.99000 , 0.999000
00.99990 , 0.999990
BTW, I'm using 6.2-1H2.
Edited by kinsa on August 29 2010 10:46 |
|
Author |
RE: visible floating point issue |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on August 31 2010 21:14 |
|
|
Thank you. We will check into this. |
|
Author |
RE: visible floating point issue |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on September 01 2010 06:30 |
|
|
Your contribution allowed us to isolate the floating point issue. Thank you! We will issue an updated kit soon. |
|
Author |
RE: visible floating point issue |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on September 08 2010 13:59 |
|
|
We've posted a FreeAXP Beta 1.0.9.304 kit. This kit contains a patch addressing the floating point issues reported by kinsa. The kit download link is located under the Prior FreeAXP Kits heading on the FreeAXP page:
http://www.migrationspecialties.com/FreeAXP.html#Kits
This kit is not yet fully tested, which is why it has not been posted as the "official" download. That said, we are reasonably confident that it is a stable release.
Edited by Bruce Claremont on September 08 2010 13:59 |
|
Author |
RE: visible floating point issue |
kinsa
Member
Posts: 13
Joined: 12.03.10 |
Posted on September 08 2010 18:35 |
|
|
Thanks Bruce!
I'll let you know how it goes. |
|
Author |
RE: visible floating point issue |
iamcamiel
Moderator

Posts: 25
Location: Wageningen, The Netherlands
Joined: 07.04.08 |
Posted on October 15 2010 08:58 |
|
|
Hello Kinsa,
Any luck with the new kit? |
|
Author |
RE: visible floating point issue |
kinsa
Member
Posts: 13
Joined: 12.03.10 |
Posted on October 17 2010 19:20 |
|
|
304 is working well. The "visible" issues has been resolved.
The only minor issue we had encountered is the clock, VMS is slower than the host OS. We haven't investigated this yet; the host OS (win2k3) is also emulated using KVM . |
|
Author |
RE: Clock |
Bruce Claremont
Moderator
Posts: 623
Joined: 07.01.10 |
Posted on October 19 2010 10:14 |
|
|
We will be interested in the results. We have a duration test system running FreeAXP under XP Pro here. It has lost 2 seconds over one month of VMS 8.3 up-time. We have not done any duration testing where the Windows host O/S was also running under a virtual machine. |
|