SELFPHP

SELFPHP-Druckversion
Original Adresse dieser Seite:
http://www.selfphp.de/praxisbuch/praxisbuchseite.php?site=168&group=29
© 2001-2024 E-Mail SELFPHP Inh. Damir Enseleit, info@selfphp.de
© 2005-2024 E-Mail PHP5 Praxisbuch - Matthias Kannengiesser, m.kannengiesser@selfphp.de


Mathematische Konstanten


In PHP stehen Ihnen zahlreiche mathematische Konstanten zur Verfügung.

KonstanteExakter WertBeschreibung
M_PI3.14159265358979323846Der Wert (Pi)
M_E2.7182818284590452354 E(Eulersche Zahl)
M_LOG2E1.4426950408889634074log2 e
M_LOG10E0.43429448190325182765log10 e
M_LN20.69314718055994530942loge 2
M_LN102.30258509299404568402loge 10
M_PI_21.57079632679489661923pi/2
M_PI_40.78539816339744830962pi/4
M_1_PI0.318309886183790671541/pi
M_2_PI0.636619772367581343082/pi
M_2_SQRTPI1.128379167095512573902/sqrt(pi)
M_SQRT21.41421356237309504880sqrt(2)
M_SQRT1_20.707106781186547524401/sqrt(2)


Achtung: Bis auf M_PI sind diese Konstanten erst seit PHP 4.0 verfügbar.