Ignore:
Timestamp:
Apr 19, 2018, 10:35:48 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
61323a7
Parents:
32cab5b (diff), d046db2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/Paper.tex

    r32cab5b r3265399  
    1 \documentclass[AMA,STIX1COL]{WileyNJD-v2}
    2 
     1\documentclass[AMA,STIX1COL,STIXSMALL]{WileyNJD-v2}
    32\articletype{RESEARCH ARTICLE}%
    43
     
    8685% Latin abbreviation
    8786\newcommand{\abbrevFont}{\textit}                       % set empty for no italics
     87\@ifundefined{eg}{
    8888\newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.}
    8989\newcommand*{\eg}{%
     
    9191                {\@ifnextchar{:}{\EG}%
    9292                        {\EG,\xspace}}%
    93 }%
     93}}{}%
     94\@ifundefined{ie}{
    9495\newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.}
    9596\newcommand*{\ie}{%
     
    9798                {\@ifnextchar{:}{\IE}%
    9899                        {\IE,\xspace}}%
    99 }%
     100}}{}%
     101\@ifundefined{etc}{
    100102\newcommand{\ETC}{\abbrevFont{etc}}
    101103\newcommand*{\etc}{%
    102104        \@ifnextchar{.}{\ETC}%
    103105        {\ETC.\xspace}%
    104 }%
     106}}{}%
     107\@ifundefined{etal}{
    105108\newcommand{\ETAL}{\abbrevFont{et}~\abbrevFont{al}}
    106 \renewcommand*{\etal}{%
     109\newcommand*{\etal}{%
    107110        \@ifnextchar{.}{\protect\ETAL}%
    108111                {\protect\ETAL.\xspace}%
    109 }%
     112}}{}%
     113\@ifundefined{viz}{
    110114\newcommand{\VIZ}{\abbrevFont{viz}}
    111115\newcommand*{\viz}{%
    112116        \@ifnextchar{.}{\VIZ}%
    113117                {\VIZ.\xspace}%
    114 }%
     118}}{}%
    115119\makeatother
    116120
     
    174178\author[1]{Robert Schluntz}
    175179\author[1]{Peter A. Buhr*}
    176 \authormark{Aaron Moss \textsc{et al}}
     180\authormark{MOSS \textsc{et al}}
    177181
    178182\address[1]{\orgdiv{David R. Cheriton School of Computer Science}, \orgname{University of Waterloo}, \orgaddress{\state{Ontario}, \country{Canada}}}
     
    20432047\subsection{Integral Suffixes}
    20442048
    2045 Additional integral suffixes are added to cover all the integral types and lengths.
     2049New integral suffixes @hh@ (half of half of @int@) for @char@, @h@ (half of @int@) for @short@, and @z@ for @size_t@, and length suffixes for 8, 16, 32, 64, and 128 bit integers.
     2050%Additional integral suffixes are added to cover all the integral types and lengths.
    20462051\begin{cquote}
    20472052\lstDeleteShortInline@%
     
    20492054\begin{cfa}
    2050205520_`hh`     // signed char
    2051 21_`hhu`   // unsigned char
     205621_`hh`u    // unsigned char
    2052205722_`h`       // signed short int
    2053 23_`uh`     // unsigned short int
    2054 24_`z`       // size_t
     205823_u`h`     // unsigned short int
     205924`z`       // size_t
    20552060\end{cfa}
    20562061&
    20572062\begin{cfa}
    2058206320_`L8`      // int8_t
    2059 21_`ul8`     // uint8_t
     206421_u`l8`     // uint8_t
    2060206522_`l16`     // int16_t
    2061 23_`ul16`   // uint16_t
     206623_u`l16`   // uint16_t
    2062206724_`l32`     // int32_t
    20632068\end{cfa}
    20642069&
    20652070\begin{cfa}
    2066 25_`ul32`      // uint32_t
     207125_u`l32`      // uint32_t
    2067207226_`l64`        // int64_t
    2068 27_`l64u`      // uint64_t
     207327_`l64`u      // uint64_t
    2069207426_`L128`     // int128
    2070 27_`L128u`   // unsigned int128
     207527_`L128`u   // unsigned int128
    20712076\end{cfa}
    20722077\end{tabular}
     
    21152120\multicolumn{1}{c@{\hspace{2\parindentlnth}}}{\textbf{postfix function}}        & \multicolumn{1}{c@{\hspace{2\parindentlnth}}}{\textbf{constant}}      & \multicolumn{1}{c@{\hspace{2\parindentlnth}}}{\textbf{variable/expression}}   & \multicolumn{1}{c}{\textbf{postfix pointer}}  \\
    21162121\begin{cfa}
    2117 int ?`h( int s );
    2118 int ?`h( double s );
    2119 int ?`m( char c );
    2120 int ?`m( const char * s );
    2121 int ?`t( int a, int b, int c );
    2122 \end{cfa}
    2123 &
    2124 \begin{cfa}
    2125 0 `h;
    2126 3.5`h;
    2127 '1'`m;
    2128 "123" "456"`m;
    2129 [1,2,3]`t;
     2122int |?`h|( int s );
     2123int |?`h|( double s );
     2124int |?`m|( char c );
     2125int |?`m|( const char * s );
     2126int |?`t|( int a, int b, int c );
     2127\end{cfa}
     2128&
     2129\begin{cfa}
     21300 |`h|;
     21313.5|`h|;
     2132'1'|`m|;
     2133"123" "456"|`m|;
     2134[1,2,3]|`t|;
    21302135\end{cfa}
    21312136&
    21322137\begin{cfa}
    21332138int i = 7;
    2134 i`h;
    2135 (i + 3)`h;
    2136 (i + 3.5)`h;
    2137 
    2138 \end{cfa}
    2139 &
    2140 \begin{cfa}
    2141 int (* ?`p)( int i );
    2142 ?`p = ?`h;
    2143 3`p;
    2144 i`p;
    2145 (i + 3)`p;
     2139i|`h|;
     2140(i + 3)|`h|;
     2141(i + 3.5)|`h|;
     2142
     2143\end{cfa}
     2144&
     2145\begin{cfa}
     2146int (* |?`p|)( int i );
     2147|?`p| = |?`h|;
     21483|`p|;
     2149i|`p|;
     2150(i + 3)|`p|;
    21462151\end{cfa}
    21472152\end{tabular}
Note: See TracChangeset for help on using the changeset viewer.