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

    <tr>
        <th>Summary</th>
        <td>
            [libc][math][c23] Implement C23 math functions fromfp, fromfpx, ufromfp, ufromfpx
        </td>
    </tr>

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

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

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

<pre>
    These functions are defined in C23 standard: section 7.12.9.10 and 7.12.9.11 in https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf.

We will need to adapt our current rounding functions to extra requirements of these functions.

Need to support the following data types: float, double, long double, and float128.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUUs1upDwQfBpzaQXZBgIcOCQZIX2X77TSng1uD46MzdrtneTtV2ai_Fyg2q7udpVKpWSvHnFi3TPrLpXKtIU4OU8ZqyXo9-nXhgnBZL-SDT6BiggajfWowXp4kQ0kUl6rqFnzBAlPHvS1kPVYCw7K689KlJaN6EiseWJyZnK-3W51ONA_JNJ1iFcm51daBZNzWqUshKto7zwmZx3WxOTsGz4-1oc2NeMXxp_u398IN-sceEQNFEBpdRCEHGHNMaIniCF7bf31mx4KgG8UFUT8k23EHT0lCAbop_Afm_7_2JDycYRIhQsmOBduZbhWpIDeDywqwbigiMkX0CEvDgtyobA-y-LQyRJyqCs9NXpsRlXhJHrB22YY-rbaplGMrdKPoxi44UunNV_boRsNb7mQa99XdpJctrwRrei7Vo512wxCjOtoxGIe1YCs5bgr62rn_u7F68qmlHEaOtmPlVMLunQGQUpnl5VJWSIRp0J_WPI1sZY7myh9DSBL7gzP2dBdWPe8K9ruaJUN6y7w336409YzLOX6m_0mht0cxYU7eiswf51-wLcqRzf9TM7V0paXeg07k3N50cfv4YjhFVdicj71lcCcEv8FAAD__w1v8KY">