Skip to content

Commit 92ec3ec

Browse files
AlisdairMtkoeppe
authored andcommitted
[cfenv.syn] Improve indexing for macros
1 parent b3220de commit 92ec3ec

File tree

1 file changed

+13
-24
lines changed

1 file changed

+13
-24
lines changed

source/numerics.tex

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -98,31 +98,20 @@
9898
\indexlibraryglobal{feholdexcept}%
9999
\indexlibraryglobal{fesetenv}%
100100
\indexlibraryglobal{feupdateenv}%
101-
\indexlibraryglobal{FE_ALL_EXCEPT}%
102-
\indexlibraryglobal{FE_DIVBYZERO}%
103-
\indexlibraryglobal{FE_INEXACT}%
104-
\indexlibraryglobal{FE_INVALID}%
105-
\indexlibraryglobal{FE_OVERFLOW}%
106-
\indexlibraryglobal{FE_UNDERFLOW}%
107-
\indexlibraryglobal{FE_DOWNWARD}%
108-
\indexlibraryglobal{FE_TONEAREST}%
109-
\indexlibraryglobal{FE_TOWARDZERO}%
110-
\indexlibraryglobal{FE_UPWARD}%
111-
\indexlibraryglobal{FE_DFL_ENV}%
112101
\begin{codeblock}
113-
#define FE_ALL_EXCEPT @\seebelow@
114-
#define FE_DIVBYZERO @\seebelow@ // optional
115-
#define FE_INEXACT @\seebelow@ // optional
116-
#define FE_INVALID @\seebelow@ // optional
117-
#define FE_OVERFLOW @\seebelow@ // optional
118-
#define FE_UNDERFLOW @\seebelow@ // optional
119-
120-
#define FE_DOWNWARD @\seebelow@ // optional
121-
#define FE_TONEAREST @\seebelow@ // optional
122-
#define FE_TOWARDZERO @\seebelow@ // optional
123-
#define FE_UPWARD @\seebelow@ // optional
124-
125-
#define FE_DFL_ENV @\seebelow@
102+
#define @\libmacro{FE_ALL_EXCEPT}@ @\seebelow@
103+
#define @\libmacro{FE_DIVBYZERO}@ @\seebelow@ // optional
104+
#define @\libmacro{FE_INEXACT}@ @\seebelow@ // optional
105+
#define @\libmacro{FE_INVALID}@ @\seebelow@ // optional
106+
#define @\libmacro{FE_OVERFLOW}@ @\seebelow@ // optional
107+
#define @\libmacro{FE_UNDERFLOW}@ @\seebelow@ // optional
108+
109+
#define @\libmacro{FE_DOWNWARD}@ @\seebelow@ // optional
110+
#define @\libmacro{FE_TONEAREST}@ @\seebelow@ // optional
111+
#define @\libmacro{FE_TOWARDZERO}@ @\seebelow@ // optional
112+
#define @\libmacro{FE_UPWARD}@ @\seebelow@ // optional
113+
114+
#define @\libmacro{FE_DFL_ENV}@ @\seebelow@
126115

127116
namespace std {
128117
// types

0 commit comments

Comments
 (0)