Stellarium 0.12.3
mathUtils.hpp
1 /***************************************************************************
2  * Name: mathUtils.cpp
3  *
4  * Description: Mathematical utilities
5  * Implement some mathematical utilities to trigonometrical
6  * calc.
7  *
8  *
9  ***************************************************************************/
10 
11 /***************************************************************************
12  * Copyright (C) 2004 by J. L. Canales *
13  * ph03696@homeserver *
14  * *
15  * This program is free software; you can redistribute it and/or modify *
16  * it under the terms of the GNU General Public License as published by *
17  * the Free Software Foundation; either version 2 of the License, or *
18  * (at your option) any later version. *
19  * *
20  * This program is distributed in the hope that it will be useful, *
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
23  * GNU General Public License for more details. *
24  * *
25  * You should have received a copy of the GNU General Public License *
26  * along with this program; if not, write to the *
27  * Free Software Foundation, Inc., *
28  * 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA. *
29  ***************************************************************************/
30 
31 #ifndef _MATHUTILS_HPP_
32 #define _MATHUTILS_HPP_ 1
33 
34 
35 /* Four-quadrant arctan function */
36 double AcTan(double sinx, double cosx);
37 
38 /* Returns square of a double */
39 double Sqr(double arg);
40 
41 
42 #endif // _MATHUTILS_HPP_