fast-math
Mingw32 std::isnan with -ffast-math
I am compiling the following code with the -ffast-math option: #include <limits> #include <开发者_如何学Gocmath>[详细]
2023-04-01 19:49 分类:问答Why doesn't GCC optimize a*a*a*a*a*a to (a*a*a)*(a*a*a)?
I am doing some numerical optimization on a scientific application. One thing I noticed is that GCC will optimize the call pow(a,2) by compiling it into a*a, but the call pow(a,6) is not optimized and[详细]
2023-03-14 06:58 分类:问答gcc, simd intrinsics and fast-math concepts
Hi all :) I\'m trying to get a hang on a few concepts regarding floating point, SIMD/math intrinsics and the fast-math flag for gcc. More specifically, I\'m using MinGW with gcc v4.5.0 on a x86 cpu.[详细]
2023-02-10 02:10 分类:问答Negative NaN is not a NaN?
While writing some test cases, and some of the tests check for the result of a NaN. I tried using std::isnan but the assert failes:[详细]
2023-01-13 08:25 分类:问答佛跳墙多少钱一个啊??
wuqunjinla 2022-05-08 01:21 pandakill里的佛跳墙送一个要1000块,主播能到手800块pandakill里的佛跳墙一个要10000猫币,熊猫直播的平台货币名称为“猫币”,兑换比率为1:10,折合成人民币就是100开发者_Stac[详细]
2022-12-21 23:15 分类:问答