Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
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.
803 Discussions

floating-point underflow occurs in numerical computing on Windows, but not on Linux

newcfd
Beginner
1,115 Views

The latest Intel compiler is used to build a numerical code the code throws out an exception of floating-point underflow. The location shows a multiplication of two variables of 1.0e-40 triggers exception in Visual Studio on Windows. Tried to set 

/fp:strict /Qftz-

and no help. How to solve the issue?

 

The same code does not have any issues on Linux.

0 Kudos
1 Reply
yzh_intel
Moderator
383 Views

Hi, could you provide a minimal sample code to reproduce the issue ?

0 Kudos
Reply