Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.1.0/doc/selectlib/node4.html
Дата изменения: Mon Jul 9 00:08:50 2007
Дата индексирования: Sat Dec 22 11:14:10 2007
Кодировка:

Поисковые слова: п п р р р р р р р р р р п п р п р п
Arithmetic constants and identifiers XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


selectlib (selectlib-4.69) [xmmsas_20070708_1801-7.1.0]

Boolean operators and functions Description Angles Home Index

Meta Index / Home Page / Description


Arithmetic constants and identifiers

Boolean and arithmetic expressions may contain integer and floating point constants which can be specified as in C/C++ or Fortran, e.g. 1.234E-12, -23, .111222, 1e2. The value of an integer constant can be given in binary, octal, or hexadecimal by prepending b, o, and h or 0x respectively, i.e., $32482 = \mbox{b111111011100010} = \mbox{o77342} =
\mbox{0x7ee2} = \mbox{h7ee2}$. Some frequently used constants are available as symbolic names:
name type value comment
#PI real $\pi = 3.1415926535\ldots$  
#E real $e = 2.718281828\ldots$ Euler number
#RAD real $\pi/180 = 0.017453\ldots$ for deg $\longrightarrow$ rad conversion
#DEG real $180/\pi = 57.29577\ldots$ for rad $\longrightarrow$ deg conversion
#ARCSEC real $\pi/180/3600 = 4.8481\ldots^{-6}$ 1 arcsec expressed in rad
#ARCMIN real $\pi/180/60 = 2.9088\ldots^{-4}$ 1 arcmin expressed in rad
TRUE boolean true  
FALSE boolean false  



Subsections
Boolean operators and functions Description Angles Home Index
XMM-Newton SOC/SSC -- 2007-07-08