Mathematical functionsPHP ManualPrevNextXXVIII. Mathematical functionsIntroduction
These math functions will only handle values within the range of
the long and double types on your computer. If you need to
handle bigger numbers, take a look at the arbitrary precision math functions.
Math constants
The following values are defined as constants in PHP by the math
extension:
Table 1. Math constantsConstantValueDescriptionM_PI3.14159265358979323846The value of ś (pi)
Table of ContentsAbs — absolute valueAcos — arc cosineAsin — arc sineAtan — arc tangentAtan2 — arc tangent of two variablesbase_convert — convert a number between arbitrary basesBinDec — binary to decimalCeil — round fractions upCos — cosineDecBin — decimal to binaryDecHex — decimal to hexadecimalDecOct — decimal to octalExp — e to the power of...Floor — round fractions downgetrandmax — show largest possible random valueHexDec — hexadecimal to decimalLog — natural logarithmLog10 — base-10 logarithmmax — find highest valuemin — find lowest valuemt_rand — generate a better random valuemt_srand — seed the better random number generatormt_getrandmax — show largest possible random valuenumber_format — format a number with grouped thousandsOctDec — octal to decimalpi — get value of pipow — exponential expressionrand — Generate a random valueround — Rounds a float.Sin — sineSqrt — square rootsrand — seed the random number generatorTan — tangentPrevHomeNextmailUpAbs
Wyszukiwarka
Podobne podstrony:
ref mathref mathref mathref math2008 11 Maximum Math Free Computer Algebra with Maximaref oracleref miscref xmlgroup group mathref sybasepercepcja refref dbxref dbmref ingresref overloadmath mulref xmlrpcwięcej podobnych podstron