I found there is something strange in __fmul_rz.
I am expecting it to return a product of 2 floating points.
In my device code, I tried
float temp = __fmul_rz(2.0f, 3.0f);
It always return 4 for me…
If I do
float temp = __fmul_rz(3.0f, 2.0f);
It always return 9 for me…
Is it a bug, or do I use it wrong?