Skip to content

Commit

Permalink
Update docs on the GNU Q suffix.
Browse files Browse the repository at this point in the history
[CI SKIP]
Fixes #148.
  • Loading branch information
jzmaddock committed Aug 2, 2019
1 parent 8d2357d commit b5555f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/multiprecision.qbk
Original file line number Diff line number Diff line change
Expand Up @@ -1029,7 +1029,8 @@ as a valid floating-point number.
* When using the Intel compiler, the underlying type defaults to `__float128` if it's available and `_Quad` if not. You can override
the default by defining either `BOOST_MP_USE_FLOAT128` or `BOOST_MP_USE_QUAD`.
* When the underlying type is Intel's `_Quad` type, the code must be compiled with the compiler option `-Qoption,cpp,--extended_float_type`.
* When compiling with `gcc`, you need to use the flag `--std=gnu++11/14/17`, as the numeric literal operator 'operator""Q' is a GNU extension. Compilation fails with the flag `--std=c++11/14/17`.
* When compiling with `gcc`, you need to use the flag `--std=gnu++11/14/17`, as the suffix 'Q' is a GNU extension. Compilation fails with the flag `--std=c++11/14/17`
unless you also use `-fext-numeric-literals`.

[h5 float128 example:]

Expand Down

0 comments on commit b5555f6

Please sign in to comment.