Last change
on this file since 1382 was 764, checked in by ansari, 26 years ago |
Reorganisation - Creation du module SkyMap (Loacl/Spherical maps ...) - Reza 2/3/2000
|
File size:
503 bytes
|
Line | |
---|
1 | #ifndef MYFUNC_H_SEEN
|
---|
2 | #define MYFUNC_H_SEEN
|
---|
3 | #include <math.h>
|
---|
4 | #ifdef __MWERKS__
|
---|
5 | #include "mwerksmath.h" // D.Y. Portage mac/ Math.h Unix
|
---|
6 | #include "unixmac.h"
|
---|
7 | #endif
|
---|
8 | #include <vector>
|
---|
9 |
|
---|
10 | const double pi2=2.*M_PI;
|
---|
11 | const double dtor=M_PI/180.;
|
---|
12 | const double pi_over_2=M_PI/2.;
|
---|
13 |
|
---|
14 | int sign(double);
|
---|
15 | double absd(double);
|
---|
16 | double mod(double, double=0);
|
---|
17 | void swap(double&, double&);
|
---|
18 | double min(double, double);
|
---|
19 | double max(double, double);
|
---|
20 | int arrondi(double);
|
---|
21 | double scangle(double sinus, double cosinus);
|
---|
22 |
|
---|
23 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.