- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I have some code like this (and compile with fpe:0) on a Pentium 4:
REAL*8 X,BETA
REAL*4 RCINPUT
! WHEN X IS 48.0
! BETA IS 5.0
FFALLE = EXP(-X*X/BETA/BETA)
! FFALLE BECOMES 9.45E-41
RCINPUT = FFALLE
I would expect the the real*4 RCINPUT would be set to 0.0. Or am I misunderstanding /fpe:0. RCINPUT does not get set to 0.0 in the debugger.
REAL*8 X,BETA
REAL*4 RCINPUT
! WHEN X IS 48.0
! BETA IS 5.0
FFALLE = EXP(-X*X/BETA/BETA)
! FFALLE BECOMES 9.45E-41
RCINPUT = FFALLE
I would expect the the real*4 RCINPUT would be set to 0.0. Or am I misunderstanding /fpe:0. RCINPUT does not get set to 0.0 in the debugger.
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page