Last change
on this file since 690 was 682, checked in by ansari, 26 years ago |
Compilation Mac pour CodeWarrior PRO 5
|
File size:
444 bytes
|
Rev | Line | |
---|
[262] | 1 | #ifndef MYFUNC_H_SEEN
|
---|
| 2 | #define MYFUNC_H_SEEN
|
---|
| 3 | #include <math.h>
|
---|
[517] | 4 | #ifdef __MWERKS__
|
---|
[682] | 5 | #include "unixmac.h"
|
---|
[517] | 6 | #endif
|
---|
[262] | 7 | #include <vector>
|
---|
| 8 |
|
---|
| 9 | const double pi2=2.*M_PI;
|
---|
| 10 | const double dtor=M_PI/180.;
|
---|
| 11 | const double pi_over_2=M_PI/2.;
|
---|
| 12 |
|
---|
| 13 | int sign(double);
|
---|
| 14 | double absd(double);
|
---|
| 15 | double mod(double, double=0);
|
---|
| 16 | void swap(double&, double&);
|
---|
| 17 | double min(double, double);
|
---|
| 18 | double max(double, double);
|
---|
| 19 | int arrondi(double);
|
---|
| 20 | double scangle(double sinus, double cosinus);
|
---|
| 21 |
|
---|
| 22 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.