Skip to content
Snippets Groups Projects
Commit 836bb2aa authored by Ansgar Burchardt's avatar Ansgar Burchardt
Browse files

Merge branch 'doc/document-e-pi' into 'master'

[doc] add docstring to `e` and `pi` [ci skip]

See merge request !506
parents d3da6290 491ff26d
No related branches found
No related tags found
1 merge request!506[doc] add docstring to `e` and `pi` [ci skip]
Pipeline #
......@@ -29,6 +29,9 @@ namespace Dune
template< class T >
struct StandardMathematicalConstants
{
/**
* \brief Euler's number
*/
static const T e ()
{
using std::exp;
......@@ -36,6 +39,9 @@ namespace Dune
return e;
}
/**
* \brief Archimedes' constant
*/
static const T pi ()
{
using std::acos;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment