<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/113914>113914</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            llrint(x) are not folded at the compilation time when (x) is constant
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          fawdlstty
      </td>
    </tr>
</table>

<pre>
    Consider the following example.
https://godbolt.org/z/8Trdshfdr

```cpp
#include <cmath>

int f1() {
  return (int)std::llrint(3.0);
}
```

doc: <https://en.cppreference.com/w/c/numeric/math/rint>
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxcUl2OpCAQPk35QsZAYWv7wEPPjyfYCyCULRsEAzg9s6ffaPfuzk5CgFTqy_dTpXN210Ck4PQMp9dKb2WOSU36Zn0u5bMao_1ULzFkZymxMhObovfx5sKV0YdeVk818Ffgl7mUNYO8AA6AwzXaMfpSx3QFHH4BDucfyeZ5sune_rhbfj9mXR8VlC4Yv1liIF_MossM8u0rxoXCJgF4BuwZdM_3KmOJypYCAzy7UAD7XOwuR168T0flLGsO2IN8QKB7_abiK42NBuRlF_G_Mwq1WddEEyUKhmoTF8DhBjgYwCFsCyW3_w7lOBzU8q2yStpe9roiJTrJBba8aatZjbprWz4hR2MaLTqhRyv7hiQXYuroVDmFHBvB8Swa2fC2Pstuknwcx7Zvp1OD0HBatPO19-_LHnjlct5ICSF70VRej-TznwEntXc9jds1Q8O9yyX_wxVXPKm_cX3sAetELMSyj92SZbocS2Disjqvi4uBFbcQu810RH9gXGYmhlx0KNWWvPq2Gq7M2_jIbed-PE9rij_JFMDhMJABh4eHd4W_AwAA__8u5s3M">