diff --git a/reference/math/functions/bindec.xml b/reference/math/functions/bindec.xml index 6a58a7dd56..ac2c65e838 100644 --- a/reference/math/functions/bindec.xml +++ b/reference/math/functions/bindec.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ Returns the decimal equivalent of the binary number represented by - the binary_string argument. + the binary_string argument. bindec converts a binary number to an @@ -22,8 +22,7 @@ 31 bits of 1's or 2147483647 in decimal. - See also the decbin - function. + See also: decbin. diff --git a/reference/math/functions/ceil.xml b/reference/math/functions/ceil.xml index 193931fe0b..3eadc52d77 100644 --- a/reference/math/functions/ceil.xml +++ b/reference/math/functions/ceil.xml @@ -1,5 +1,5 @@ - + @@ -17,10 +17,10 @@ value if necessary. The return value of ceil is still of type float as the value range of float is - usually bigger than that of int. + usually bigger than that of integer. - <function>ceil</function> examples + <function>ceil</function> example - + @@ -13,10 +13,12 @@ floatarg - Returns the cosine of arg in radians. + cos returns the cosine of the arg + parameter. The arg parameter is in radians. - See also sin and tan. + See also acos, sin + tan and deg2rad. diff --git a/reference/math/functions/decbin.xml b/reference/math/functions/decbin.xml index cee98f61cb..c3e1356cef 100644 --- a/reference/math/functions/decbin.xml +++ b/reference/math/functions/decbin.xml @@ -1,5 +1,5 @@ - + @@ -14,11 +14,11 @@ Returns a string containing a binary representation of the given - number argument. The largest number that can be converted is + number argument. The largest number that can be converted is 4294967295 in decimal resulting to a string of 32 1's. - See also the bindec function. + See also: bindec. diff --git a/reference/math/functions/decoct.xml b/reference/math/functions/decoct.xml index 23fbc6c0de..d47eef2fb2 100644 --- a/reference/math/functions/decoct.xml +++ b/reference/math/functions/decoct.xml @@ -1,5 +1,5 @@ - + @@ -14,7 +14,7 @@ Returns a string containing an octal representation of the given - number argument. The largest number that can be converted is + number argument. The largest number that can be converted is 2147483647 in decimal resulting to "17777777777". diff --git a/reference/math/functions/floor.xml b/reference/math/functions/floor.xml index f32f27b965..dbfd203cef 100644 --- a/reference/math/functions/floor.xml +++ b/reference/math/functions/floor.xml @@ -1,5 +1,5 @@ - + @@ -17,10 +17,10 @@ value if necessary. The return value of floor is still of type float because the value range of float is - usually bigger than that of int. + usually bigger than that of integer. - <function>floor</function> examples + <function>floor</function> example - + @@ -32,8 +32,8 @@ print sin(60); // -0.304810621 ... - See also cos, tan - and deg2rad. + See also asin, cos, + tan and deg2rad. diff --git a/reference/math/functions/tan.xml b/reference/math/functions/tan.xml index 5cf9e393f3..dd3b986848 100644 --- a/reference/math/functions/tan.xml +++ b/reference/math/functions/tan.xml @@ -1,5 +1,5 @@ - + @@ -13,10 +13,12 @@ floatarg - Returns the tangent of arg in radians. + tan returns the tangent of the arg + parameter. The arg parameter is in radians. - See also sin and cos. + See also atan, sin, + cos and deg2rad. diff --git a/reference/math/reference.xml b/reference/math/reference.xml index 856d9d5421..36274b4e9e 100644 --- a/reference/math/reference.xml +++ b/reference/math/reference.xml @@ -1,12 +1,12 @@ - + Mathematical Functions Math
- Introduction + &reftitle.intro; These math functions will only handle values within the range of the integer and float types on your computer. @@ -15,7 +15,7 @@ linkend="ref.bc">arbitrary precision math functions.
- Math constants + &reftitle.constants; The following values are defined as constants in PHP by the math extension: