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

    <tr>
        <th>Summary</th>
        <td>
            Incorrect cast from unsigned _BitInt(192) to double
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    ```c
int
main ()
{
  static volatile unsigned _BitInt(192) u = 11488350477184223uwb;
 __builtin_printf ("%.1f\n", (double) u);
  if ((double) u != 11488350477184224.0)
    __builtin_abort ();
}
```

LLVM trunk on godbolt computes 9007199254740992.0 instead.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8UkFv4ywQ_TX4MqqFB2zMwYe2UaRK_a7fNQJMEhoCkRla7b9fxUm6PaxWQjAzMO-9GcaUEg7J-4n1L6zfNKbSMS_ThzlV--FjSP7U2Dz_mtjAb8sxvmH8OSS6GWcTEjAcGepbgKmXmwFQyFBw8JmjoRA91LSyzbB7CfSWiOHYaWSooQITG-g6OY6i51KpbpSIon5ZJh5wu52tIVJIu8sSEu1vrMiwb7s961_T6rxew3OuNvoV-KrrGwLCPevnC2DY_Y1dtvy7KAD4wW9sXuhR9AOcqc3deLTq7q77-_v__wEtNZ0gJzjk2eZI4PL5UskX0JyrTmvspZJca2w5hFTIm7lt5knMWmjT-KkbRi16yXFojpPyqJAL042KWzsqPkjhZ26dknwYZ9eECTkKrjrZKc5RtMYY0cl-z0e3d4MzTHJ_NiG2MX6e27wcmlBK9dMgxkE30VgfyzoZiMl_wXp5bXK_aZbpmvNk66EwyWMoVP6gUKDop7fk8rJ4R-BMIdgv-fyPCaAMtz9p6hKnI9GlMPHMcMtwewh0rLZ1-cxwe2W5H0-XJX94Rwy3q7bCcLtq_x0AAP__55bSaw">