Skip to content

Commit

Permalink
Merge pull request #161 from PiJoules/fixed-point-type-mangling
Browse files Browse the repository at this point in the history
Add mangling for fixed point types proposed in N1169.
  • Loading branch information
rjmccall authored Sep 26, 2023
2 parents c70731f + c204e5f commit fbb567b
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 @@ -5168,7 +5175,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> # N1169 fixed-point [_Sat] T _Accum
::= [DS] DR <fixed-point-size> # N1169 fixed-point [_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 fbb567b

Please sign in to comment.