File: Mathematical-Constants.html

package info (click to toggle)
gsl-ref-html 2.3-1
• area: non-free
• in suites: bullseye, buster, sid
• size: 6,876 kB
• ctags: 4,574
• sloc: makefile: 35
 file content (157 lines) | stat: -rw-r--r-- 5,770 bytes parent folder | download
 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157  GNU Scientific Library – Reference Manual: Mathematical Constants

4.1 Mathematical Constants

The library ensures that the standard BSD mathematical constants are defined. For reference, here is a list of the constants:

M_E

The base of exponentials, e

M_LOG2E

The base-2 logarithm of e, \log_2 (e)

M_LOG10E

The base-10 logarithm of e, \log_10 (e)

M_SQRT2

The square root of two, \sqrt 2

M_SQRT1_2

The square root of one-half, \sqrt{1/2}

M_SQRT3

The square root of three, \sqrt 3

M_PI

The constant pi, \pi

M_PI_2

Pi divided by two, \pi/2

M_PI_4

Pi divided by four, \pi/4

M_SQRTPI

The square root of pi, \sqrt\pi

M_2_SQRTPI

Two divided by the square root of pi, 2/\sqrt\pi

M_1_PI

The reciprocal of pi, 1/\pi

M_2_PI

Twice the reciprocal of pi, 2/\pi

M_LN10

The natural logarithm of ten, \ln(10)

M_LN2

The natural logarithm of two, \ln(2)

M_LNPI

The natural logarithm of pi, \ln(\pi)

M_EULER

Euler’s constant, \gamma