Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1/*---------------------------------------------------------------------------*\
2 *
3 * bitpit
4 *
5 * Copyright (C) 2015-2021 OPTIMAD engineering Srl
6 *
7 * -------------------------------------------------------------------------
8 * License
9 * This file is part of bitpit.
10 *
11 * bitpit is free software: you can redistribute it and/or modify it
12 * under the terms of the GNU Lesser General Public License v3 (LGPL)
13 * as published by the Free Software Foundation.
14 *
15 * bitpit is distributed in the hope that it will be useful, but WITHOUT
16 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
18 * License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with bitpit. If not, see <http://www.gnu.org/licenses/>.
22 *
23 \*---------------------------------------------------------------------------*/
24
25#ifndef __BITPIT_CONSTANTS_HPP__
26#define __BITPIT_CONSTANTS_HPP__
27
35#define BITPIT_PI 3.14159265358979323846
36#define BITPIT_PI_2 1.57079632679489661923
37#define BITPIT_PI_4 0.78539816339744830962
38
39#define BITPIT_PIl 3.141592653589793238462643383279502884L
40#define BITPIT_PI_2l 1.570796326794896619231321691639751442L
41#define BITPIT_PI_4l 0.785398163397448309615660845819875721L
42
47#endif
--- layout: doxygen_footer ---