Skip to content

Commit fbb567b

Browse files
authored
Merge pull request #161 from PiJoules/fixed-point-type-mangling
Add mangling for fixed point types proposed in N1169.
2 parents c70731f + c204e5f commit fbb567b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

abi.html

+17
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,13 @@ <h3><a href="#docs"> 1.5 Base Documents </a></h3>
612612
References herein to the "C++ Standard," or to just the "Standard,"
613613
are to this document.
614614

615+
<p>
616+
<li> [N1169]
617+
The <b>Programming languages - C - Extensions to support embedded processors</b>,
618+
ISO/IEC JTC1 SC22 WG14 N1169.
619+
This document describes extentions to the C language for supporting embedded
620+
processors, notably including support for fixed point arithmetic.
621+
615622
</ul>
616623

617624

@@ -5168,7 +5175,17 @@ <h5><a href="#mangling-builtin">5.1.5.2 Builtin types</a></h5>
51685175
::= Da # auto
51695176
::= Dc # decltype(auto)
51705177
::= Dn # std::nullptr_t (i.e., decltype(nullptr))
5178+
::= [DS] DA <fixed-point-size> # N1169 fixed-point [_Sat] T _Accum
5179+
::= [DS] DR <fixed-point-size> # N1169 fixed-point [_Sat] T _Fract
51715180
::= u &lt;<a href="#mangle.source-name">source-name</a>&gt; [&lt;<a href="#mangle.template-args">template-args</a>&gt;] # vendor extended type
5181+
5182+
&lt;<a name="mangle.fixed-point-size">fixed-point-size</a>&gt;
5183+
::= s # short
5184+
::= t # unsigned short
5185+
::= i # plain
5186+
::= j # unsigned
5187+
::= l # long
5188+
::= m # unsigned long
51725189
</pre></font></code>
51735190

51745191
<p>

0 commit comments

Comments
 (0)