Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

fpe:0

wstephens
Beginner
282 Views
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.
0 Kudos
0 Replies
Reply