Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/people/mcalabre/WCS/wcslib/wcsmath_8h.html
Дата изменения: Unknown
Дата индексирования: Sun Apr 10 22:39:00 2016
Кодировка:
WCSLIB: wcsmath.h File Reference
WCSLIB  5.15
Macros
wcsmath.h File Reference

Go to the source code of this file.

Macros

#define PI   3.141592653589793238462643
 
#define D2R   PI/180.0
 Degrees to radians conversion factor. More...
 
#define R2D   180.0/PI
 Radians to degrees conversion factor. More...
 
#define SQRT2   1.4142135623730950488
 
#define SQRT2INV   1.0/SQRT2
 
#define UNDEFINED   987654321.0e99
 Value used to indicate an undefined quantity. More...
 
#define undefined(value)   (value == UNDEFINED)
 Macro used to test for an undefined quantity. More...
 

Detailed Description

Definition of mathematical constants used by WCSLIB.

Macro Definition Documentation

#define PI   3.141592653589793238462643
#define D2R   PI/180.0

Factor $\pi/180^\circ$ to convert from degrees to radians.

#define R2D   180.0/PI

Factor $180^\circ/\pi$ to convert from radians to degrees.

#define SQRT2   1.4142135623730950488

$\sqrt{2}$, used only by molset() (MOL projection).

#define SQRT2INV   1.0/SQRT2

$1/\sqrt{2}$, used only by qscx2s() (QSC projection).

#define UNDEFINED   987654321.0e99

Value used to indicate an undefined quantity (noting that NaNs cannot be used portably).

#define undefined (   value)    (value == UNDEFINED)

Macro used to test for an undefined value.