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 Floating Point Operation and Number

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



Joined: 21 Jul 2006
Posts: 21
Location: USA

PostPosted: Fri Nov 25, 2011 3:34 pm    Post subject: Invalid Floating Point Operation and Number Reply with quote

I am receiving a "Invalid Floating Point Operation" error in the debugger at the following line:

A(J1,KP1)=A(J1,KP1)+P(N2)*(Y(J2)-Z(J2))

and receiving the message "Invalid floating point number" in the variables window for the following:

COSG
DEN
FL
GAMM
GN

Any suggestions?

Jim[/b]
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5496
Location: Salford, UK

PostPosted: Fri Nov 25, 2011 6:37 pm    Post subject: Reply with quote

Are you using CHECKMATE?
Back to top
View user's profile Send private message
Jim



Joined: 21 Jul 2006
Posts: 21
Location: USA

PostPosted: Fri Nov 25, 2011 6:41 pm    Post subject: Reply with quote

I was not. I did and got another error.

Jim
Back to top
View user's profile Send private message
Jim



Joined: 21 Jul 2006
Posts: 21
Location: USA

PostPosted: Fri Nov 25, 2011 6:42 pm    Post subject: Reply with quote

The following message appeared:

In a call to BSOLVE from another procedure, the second argument was of type REAL(KIND=2), it is now REAL(KIND=1)

Jim
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 5496
Location: Salford, UK

PostPosted: Fri Nov 25, 2011 7:17 pm    Post subject: Reply with quote

You should start by tracking down the source of that error, making sure that single or double precision real values are used consistently throughout.

If a routine has a single precision real argument in its definition then a single precision real value should be passed etc.
Back to top
View user's profile Send private message
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