]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
deal_II_numbers.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Sep 2002 17:01:29 +0000 (17:01 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 13 Sep 2002 17:01:29 +0000 (17:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@6418 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/2002/c-3-4.html

index 09a398dbfacaaa44006b4f3572b568d82b2e4535..c3dfe4da4e7daab0e01d09cf8521c1844aa03668 100644 (file)
@@ -33,6 +33,19 @@ contributor's names are abbreviated by WB (Wolfgang Bangerth), GK
 <h3>General</h3>
 
 <ol>
+  <li> <p> 
+       New: Since <code>math.h</code> only defines the values of PI or E (as
+       <code>M_PI</code> and <code>M_E</code>) when certain defines are set (on
+       Linux, these are <code>__USE_BSD</code> or <code>__USE_XOPEN</code>),
+       portable programs usually defined these constants themselves. In
+       <acronym>deal.II</acronym>, this happened at 6 different places. To
+       avoid this in the future, <code>base/config.h</code> now exports a
+       namespace <code>deal_II_numbers</code> that defines these two, and a
+       number of other numerical constants.
+       <br>
+       (WB 2002/09/12)
+       </p>
+
   <li> <p> 
        New: <code>base/config.h</code> now exports the
        <acronym>deal.II</acronym> base directory through the

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.