**Description** <!--- Please provide a few sentences describing the issue you encountered. ---> fmod with special input get wrong result. **Steps to Reproduce** <!--- Provide a description of how to reproduce the error. If possible please provide source and tool command line options. If the issue reproduces on Compiler Explorer (https://godbolt.org/) or Shader Playground (https://shader-playground.timjones.io/) please provide a link. If the source is split across multiple files, please preprocess into a single file using DXC's command line `-P -Fi <path>`. ---> dxc -Tvs_6_0 ``` RWBuffer<float4> results; [shader("vertex")] void main() { // Explicit float // 0.0, -0.0, NaN, -NaN results[0] = float4(fmod(0.0f, 1.0f), fmod(-0.0f, 1.0f), fmod(5.5f, 0.0f), fmod(-5.5f, 0.0f)); } ``` **Actual Behavior** <!--- Please provide error output or a description of the observed issue. ---> 0.0, 0.0, 0.0, 0.0 is stored into result[0]. **Environment** - DXC version : 1.8 - Host Operating System : Windows
Activity