forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

invalid floaiting point operation

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
qt



Joined: 23 Aug 2005
Posts: 46
Location: Berlin, Germany

PostPosted: Mon Aug 29, 2005 4:52 am    Post subject: invalid floaiting point operation Reply with quote

Dear Paul,

A customer reported a problem with FTN95
v4.7. He found this problem when comparing results which
were calculated by different compilers (Lahey LF90, LF95,
FTN77) against FTN95 whose result differed significantly
from the others.
Please check this test program:

PROGRAM TEST
IMPLICIT REAL(A - Z)
INTEGER WSP, Z2
COMPLEX H0, H1
Z2 = 1
WSP = 8
!in SDBG: invalid floaiting point operation follows
H0 = (1.0,0.0) * (Z2-1) * WSP
H1 = (1.0,0.0) * REAL((Z2-1) * WSP)
PRINT*, '(1.0,0.0) * (Z2-1) * WSP = ', H0
PRINT*, '(1.0,0.0) * REAL((Z2-1) * WSP) = ', H1
END


I have run this through v4.8 and can confirm that the problem is also there with
this release.
When debugging you see the following at the line "invalid
floaiting point operation"
when stepping to the line
H0 = (1.0,0.0) * (Z2-1) * WSP
Changing this to
H0 = (1.0,0.0) * REAL((Z2-1) * WSP)
removes the problem, but I think FTN95 should handle the
first statement too. Please check. Thank you.

Kind regards

Joerg Kuthe
------------------------------------------------------------
--
QT software GmbH Gaeblerstrasse 2 D-13086
Berlin
Tel. 030/9290087-0 Fax. -2 eMail:
admin@qtsoftware.de
WWW http://www.qtsoftware.de
------------------------------------------------------------
--
Back to top
View user's profile Send private message Visit poster's website
Anonymous
Guest





PostPosted: Wed Aug 31, 2005 5:30 pm    Post subject: invalid floaiting point operation Reply with quote

Hi Joerg

I can confirm the issue (at least). We have an internal low level debugging tool and that also shows the error - so it seems to be something specific about a program being debugged. I will look into it further.

Robert
Back to top
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group