What is floating point speculation and how does it differ from the compiler's floating point model

前端 未结 3 1269
面向向阳花
面向向阳花 2021-02-15 10:48

The Intel C++ compiler provides two options for controlling floating point:

-fp-speculation (fast/safe/strict/off) -fp-model (precise/fast/strict and source/double/exten

3条回答
  •  庸人自扰
    2021-02-15 11:08

    On Windows OS: 1.Intel compiler floating calculation 32 bit application vs 64 bit application , same code Can give to you different result!!!! No matter what flag you choose:)!!!!

    2.Visual studio compiler floating calculation 32 bit vs 64 bit application , same code output same result.

提交回复
热议问题