[Boost-bugs] [Boost C++ Libraries] #9645: Minor typo in boost multiprecision primality testing documentation

Subject: [Boost-bugs] [Boost C++ Libraries] #9645: Minor typo in boost multiprecision primality testing documentation
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-08 05:52:26


#9645: Minor typo in boost multiprecision primality testing documentation
------------------------------+----------------------------
 Reporter: slask@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
  Version: Boost 1.55.0 | Severity: Cosmetic
 Keywords: |
------------------------------+----------------------------
 The current text on
 http://www.boost.org/doc/libs/1_55_0/libs/multiprecision/doc/html/boost_multiprecision/tut/primetest.html
 says:
 These functions perform a Miller-Rabin test for primality, if the result
 is false then n is definitely composite, while if the result is true then
 n is prime with probability 0.25^trials.

 I believe it should say (1-0.25^trials), not 0.25^trials.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9645>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC