Fix typo in documentation of __builtin_expect_with_probability.
2018-10-30 Martin Liska <mliska@suse.cz> * doc/extend.texi: Fix typo in documentation of __builtin_expect_with_probability. From-SVN: r265615
This commit is contained in:
parent
4267ed5195
commit
9eeb0b97a6
|
@ -1,3 +1,8 @@
|
||||||
|
2018-10-30 Martin Liska <mliska@suse.cz>
|
||||||
|
|
||||||
|
* doc/extend.texi: Fix typo in documentation
|
||||||
|
of __builtin_expect_with_probability.
|
||||||
|
|
||||||
2018-10-29 David Malcolm <dmalcolm@redhat.com>
|
2018-10-29 David Malcolm <dmalcolm@redhat.com>
|
||||||
|
|
||||||
PR c++/87721
|
PR c++/87721
|
||||||
|
|
|
@ -12027,7 +12027,7 @@ when testing pointer or floating-point values.
|
||||||
@deftypefn {Built-in Function} long __builtin_expect_with_probability
|
@deftypefn {Built-in Function} long __builtin_expect_with_probability
|
||||||
(long @var{exp}, long @var{c}, long @var{probability})
|
(long @var{exp}, long @var{c}, long @var{probability})
|
||||||
|
|
||||||
The built-in has same semantics as @code{__builtin_expect_with_probability},
|
The built-in has same semantics as @code{__builtin_expect},
|
||||||
but user can provide expected probability (in percent) for value of @var{exp}.
|
but user can provide expected probability (in percent) for value of @var{exp}.
|
||||||
Last argument @var{probability} is of float type and valid values
|
Last argument @var{probability} is of float type and valid values
|
||||||
are in inclusive range 0.0f and 1.0f.
|
are in inclusive range 0.0f and 1.0f.
|
||||||
|
|
Loading…
Reference in New Issue