|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard |
Date: | Sun, 16 Jan 2022 23:27:01 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36 |
Follow-up Comment #22, bug #61812 (project octave): @jwe: There could be other constants besides M_PI. In data.cc, for example, wee use M_E. #if defined (M_E) double e_val = M_E; #else double e_val = exp (1.0); #endif In actual header files, though, only oct-cmplx.h uses a 'M_' constant and that constant is M_PI. _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?61812> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |