~ubuntu-branches/ubuntu/saucy/deal.ii/saucy

« back to all changes in this revision

Viewing changes to contrib/boost/include/boost/random/geometric_distribution.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV, Adam C. Powell, IV, Denis Barbier
  • Date: 2010-07-29 13:47:01 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100729134701-akb8jb3stwge8tcm
Tags: 6.3.1-1
[ Adam C. Powell, IV ]
* Changed to source format 3.0 (quilt).
* Changed maintainer to debian-science with Adam Powell as uploader.
* Added source lintian overrides about Adam Powell's name.
* Added Vcs info on git repository.
* Bumped Standards-Version.
* Changed stamp-patch to patch target and fixed its application criterion.
* Moved make_dependencies and expand_instantiations to a versioned directory
  to avoid shlib package conflicts.

[ Denis Barbier ]
* New upstream release (closes: #562332).
  + Added libtbb support.
  + Forward-ported all patches.
* Updates for new PETSc version, including workaround for different versions
  of petsc and slepc.
* Add debian/watch.
* Update to debhelper 7.
* Added pdebuild patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *
8
8
 * See http://www.boost.org for most recent version including documentation.
9
9
 *
10
 
 * $Id: geometric_distribution.hpp 49314 2008-10-13 09:00:03Z johnmaddock $
 
10
 * $Id: geometric_distribution.hpp 52492 2009-04-19 14:55:57Z steven_watanabe $
11
11
 *
12
12
 * Revision history
13
13
 *  2001-02-18  moved to individual header files
19
19
#include <boost/config/no_tr1/cmath.hpp>          // std::log
20
20
#include <cassert>
21
21
#include <iostream>
 
22
#include <boost/random/detail/config.hpp>
22
23
#include <boost/random/uniform_01.hpp>
23
24
 
24
25
namespace boost {
59
60
    return IntType(floor(log(RealType(1)-eng()) / _log_p)) + IntType(1);
60
61
  }
61
62
 
62
 
#if !defined(BOOST_NO_OPERATORS_IN_NAMESPACE) && !defined(BOOST_NO_MEMBER_TEMPLATE_FRIENDS)
 
63
#ifndef BOOST_RANDOM_NO_STREAM_OPERATORS
63
64
  template<class CharT, class Traits>
64
65
  friend std::basic_ostream<CharT,Traits>&
65
66
  operator<<(std::basic_ostream<CharT,Traits>& os, const geometric_distribution& gd)