[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not par
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard |
Date: |
Mon, 24 Jan 2022 16:36:01 -0500 (EST) |
Follow-up Comment #26, bug #61812 (project octave):
I would generally like to be able to count on M_PI, M_E and other GNU
extensions being defined. Is there a way to do that through gnulib such that
if the OS-provided header file doesn't include the definitions then the gnulib
version which does is used?
However, if that is not possible then I think it would be nicer to define our
own constants as a fallback rather than just aborting compilation. I'm sure
there are some weird platforms where maybe g++/gcc aren't ported and it seems
mean to try and require them to build g++ from sources.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61812>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, (continued)
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/14
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/14
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, John W. Eaton, 2022/01/14
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/14
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/14
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, John W. Eaton, 2022/01/14
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Rik, 2022/01/16
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/17
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/24
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/24
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard,
Rik <=
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/25
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, John W. Eaton, 2022/01/25
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Rik, 2022/01/25
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/26
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/26
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, anonymous, 2022/01/26
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, A.R. Burgers, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, Markus Mützel, 2022/01/27
- [Octave-bug-tracker] [bug #61812] Math constants (e.g. M_PI) are not part of C/C++ standard, A.R. Burgers, 2022/01/27