Skip to content

Commit

Permalink
Add mangling for fixed point types proposed in N1169.
Browse files Browse the repository at this point in the history
  • Loading branch information
PiJoules committed May 9, 2023
1 parent d9dc0c0 commit 0ffd83d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions abi.html
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,13 @@ <h3><a href="#docs"> 1.5 Base Documents </a></h3>
References herein to the "C++ Standard," or to just the "Standard,"
are to this document.

<p>
<li> [N1169]
The <b>Programming languages - C - Extensions to support embedded processors</b>,
ISO/IEC JTC1 SC22 WG14 N1169.
This document describes extentions to the C language for supporting embedded
processors, notably including support for fixed point arithmetic.

</ul>


Expand Down Expand Up @@ -5136,7 +5143,17 @@ <h5><a href="#mangling-builtin">5.1.5.2 Builtin types</a></h5>
::= Da # auto
::= Dc # decltype(auto)
::= Dn # std::nullptr_t (i.e., decltype(nullptr))
::= [DS] DA <fixed-point-size> # [_Sat] T _Accum
::= [DS] DR <fixed-point-size> # [_Sat] T _Fract
::= u &lt;<a href="#mangle.source-name">source-name</a>&gt; [&lt;<a href="#mangle.template-args">template-args</a>&gt;] # vendor extended type

&lt;<a name="mangle.fixed-point-size">fixed-point-size</a>&gt;
::= s # short
::= t # unsigned short
::= i # plain
::= j # unsigned
::= l # long
::= m # unsigned long
</pre></font></code>

<p>
Expand Down

0 comments on commit 0ffd83d

Please sign in to comment.