Skip to content

Commit fb03901

Browse files
committed
Update README
1 parent 18b93af commit fb03901

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

README.adoc

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ https://github.com/shibatch/tlfloat/wiki
1010

1111
=== Introduction
1212

13-
This library implements C++ classes with which half, single, double,
13+
This library implements C{pp} classes with which half, single, double,
1414
quadruple and octuple precision IEEE 754 floating point numbers can be
1515
operated.
1616

@@ -24,12 +24,12 @@ integer class templates are also included in this library.
2424
=== Features
2525

2626
* Truly constexpr functions
27-
** Compilable with C++20 standard
27+
** Compilable with C{pp}20 standard
2828
** Most of the functions are implemented as templates
2929
*** Completely inlinable functions
3030
*** The functions can be evaluated at compile time
3131
** No malloc required
32-
** Works without libstdc++
32+
** Works without libstdc{pp}
3333
* IEEE 754 compliant
3434
** Supports subnormal numbers, NaN, infinity, and signed zero
3535
* Supports a wide range of precisions
@@ -44,11 +44,11 @@ sqrt
4444
12 or later)
4545
** Constexpr functions can be called from CUDA devices with
4646
–expt-relaxed-constexpr compiler option
47-
* C/C++11 API with libquadmath emulation
47+
* C/C{pp}11 API with libquadmath emulation
4848
** Most of libquadmath functions can be used on x86_64 clang and MSVC
4949
** 128-bit integer types can be used on MSVC
50-
** C++11 FP and int classes with overloaded operators are provided
51-
*** C++11 functions in TLFloat are not constexpr
50+
** C{pp}11 FP and int classes with overloaded operators are provided
51+
*** C{pp}11 functions in TLFloat are not constexpr
5252
* Moderately optimized
5353
** Optimized for each architecture using intrinsics, etc.
5454
** Library design allows compilers to fully inline operations
@@ -89,7 +89,7 @@ TLFloat
8989

9090
=== Compiling hello world example
9191

92-
Below is a simple C++ source code utilizing TLFloat.
92+
Below is a simple C{pp} source code utilizing TLFloat.
9393

9494
[source,c++]
9595
----
@@ -115,7 +115,7 @@ To compile this source code, use the following command.
115115
g++ -std=c++20 -I./install/include hello.cpp
116116
----
117117

118-
You have to specify C++20 standard. Note that you do not need to link
118+
You have to specify C{pp}20 standard. Note that you do not need to link
119119
any library in this example. This program computes PI in octuple
120120
precision and shows it.
121121

@@ -127,7 +127,7 @@ $ ./a.out
127127

128128
=== Libquadmath emulation
129129

130-
In gcc/g++ on x86_64 architecture, libquadmath provides math functions
130+
In gcc/g{pp} on x86_64 architecture, libquadmath provides math functions
131131
for quadruple precision floating point numbers. However, libquadmath is
132132
not available with clang or Visual Studio. By using the libquadmath
133133
emulation feature of TLFloat library, it is possible to use most of the
@@ -177,10 +177,10 @@ replace __float128 with tlfloat_quad.
177177

178178
=== C++11 API
179179

180-
Besides the C++20 API, TLFloat provides classes that can be used with
181-
C++11 standard.
180+
Besides the C{pp}20 API, TLFloat provides classes that can be used with
181+
C{pp}11 standard.
182182

183-
Below is a simple C++ source code utilizing this feature.
183+
Below is a simple C{pp} source code utilizing this feature.
184184

185185
[source,c++]
186186
----
@@ -278,7 +278,7 @@ Pow : 1.29873 Mops/second
278278

279279
* The following features will be added in future releases
280280
** Further documentation
281-
** Add C/C++11 API for float16/bfloat16
281+
** Add C/C{pp}11 API for float16/bfloat16
282282
** Add support for conversion between string and float16/bfloat16
283283
** Remaining math functions in math.h
284284
*** Complex functions

0 commit comments

Comments
 (0)