diff --git a/reference/bc/functions/bcadd.xml b/reference/bc/functions/bcadd.xml
index 4cf3bffb70..792fc95013 100644
--- a/reference/bc/functions/bcadd.xml
+++ b/reference/bc/functions/bcadd.xml
@@ -1,5 +1,5 @@
-
+
@@ -21,10 +21,12 @@
used to set the number of digits after the decimal place in the
result.
-
-
- bcadd example
-
+
+
+ &reftitle.examples;
+
+ bcadd example
+
]]>
-
-
-
+
+
+
+
+ &reftitle.seealso;
- See also bcsub.
+ bcsub.
diff --git a/reference/bc/functions/bccomp.xml b/reference/bc/functions/bccomp.xml
index 1b417f9f72..d77031b6ac 100644
--- a/reference/bc/functions/bccomp.xml
+++ b/reference/bc/functions/bccomp.xml
@@ -1,5 +1,5 @@
-
+
@@ -26,31 +26,23 @@
is less than the right_operand the return
value is -1.
-
-
- bccomp example
-
+
+
+ &reftitle.examples;
+
+ bccomp example
+
]]>
-
-
- The above example will output:
-
-
-
-
-
-
+
+
diff --git a/reference/bc/functions/bcdiv.xml b/reference/bc/functions/bcdiv.xml
index 53694eb546..acbeb5e261 100644
--- a/reference/bc/functions/bcdiv.xml
+++ b/reference/bc/functions/bcdiv.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,10 +20,12 @@
optional scale sets the number of digits
after the decimal place in the result.
-
-
- bcdiv example
-
+
+
+ &reftitle.examples;
+
+ bcdiv example
+
]]>
-
-
-
+
+
+
+
+ &reftitle.seealso;
- See also bcmul.
+ bcmul.
diff --git a/reference/bc/functions/bcmod.xml b/reference/bc/functions/bcmod.xml
index 7b1d6af1bd..432dcabffb 100644
--- a/reference/bc/functions/bcmod.xml
+++ b/reference/bc/functions/bcmod.xml
@@ -1,5 +1,5 @@
-
+
@@ -19,30 +19,25 @@
Get the modulus of the left_operand using
modulus.
-
-
- bcmod example
-
+
+
+ &reftitle.examples;
+
+ bcmod example
+
]]>
-
-
- The above example will output:
-
-
-
-
-
-
+
+
+
+
+ &reftitle.seealso;
- See also bcdiv.
+ bcdiv.
@@ -66,4 +61,4 @@ End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
--->
+-->
\ No newline at end of file
diff --git a/reference/bc/functions/bcmul.xml b/reference/bc/functions/bcmul.xml
index f1afe7da45..2bac11f6dc 100644
--- a/reference/bc/functions/bcmul.xml
+++ b/reference/bc/functions/bcmul.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,30 +20,25 @@
optional scale sets the number of digits
after the decimal place in the result.
-
-
- bcmul example
-
+
+
+ &reftitle.examples;
+
+ bcmul example
+
]]>
-
-
- The above example will output:
-
-
-
-
-
-
+
+
+
+
+ &reftitle.seealso;
- See also bcdiv.
+ bcdiv.
diff --git a/reference/bc/functions/bcpow.xml b/reference/bc/functions/bcpow.xml
index b15793e5a7..a2864573d1 100644
--- a/reference/bc/functions/bcpow.xml
+++ b/reference/bc/functions/bcpow.xml
@@ -1,5 +1,5 @@
-
+
@@ -22,10 +22,12 @@
scale can be used to set the number of
digits after the decimal place in the result.
-
-
- bcpow example
-
+
+
+ &reftitle.examples;
+
+ bcpow example
+
]]>
-
-
-
+
+
+
+
+ &reftitle.seealso;
- See also bcpowmod, and
+ bcpowmod&listendand;
bcsqrt.
diff --git a/reference/bc/functions/bcpowmod.xml b/reference/bc/functions/bcpowmod.xml
index 991224d709..b1d6317a72 100644
--- a/reference/bc/functions/bcpowmod.xml
+++ b/reference/bc/functions/bcpowmod.xml
@@ -1,5 +1,5 @@
-
+
bcpowmod
@@ -16,13 +16,23 @@
stringmodulus
intscale
-
+
Use the fast-exponentiation method to raise x
to the power y with respect to the modulus
modulus. The optional
scale can be used to set the number of
digits after the decimal place in the result.
-
+
+
+
+ Because this method uses the modulus operation, non-natural numbers
+ may give unexpected results. A natural number is any positive
+ non-zero integer.
+
+
+
+
+ &reftitle.examples;
The following two statements are functionally identical. The
bcpowmod version however, executes in
@@ -42,17 +52,11 @@ $b = bcmod(bcpow($x, $y), $mod);
+
+
+ &reftitle.seealso;
-
-
- Because this method uses the modulus operation, non-natural numbers
- may give unexpected results. A natural number is any positive
- non-zero integer.
-
-
-
-
- See also bcpow, and
+ bcpow&listendand;
bcmod.
diff --git a/reference/bc/functions/bcscale.xml b/reference/bc/functions/bcscale.xml
index 4136f86aed..0ad9f72927 100644
--- a/reference/bc/functions/bcscale.xml
+++ b/reference/bc/functions/bcscale.xml
@@ -1,5 +1,5 @@
-
+
@@ -19,7 +19,9 @@
bc math functions that do not explicitly specify a scale
parameter. &return.success;
-
+
+
+ &reftitle.examples;
bcscale example
diff --git a/reference/bc/functions/bcsqrt.xml b/reference/bc/functions/bcsqrt.xml
index 9575066e2e..aeca7a38b4 100644
--- a/reference/bc/functions/bcsqrt.xml
+++ b/reference/bc/functions/bcsqrt.xml
@@ -1,5 +1,5 @@
-
+
@@ -20,10 +20,12 @@
The optional scale parameter sets the
number of digits after the decimal place in the result.
-
-
- bcsqrt example
-
+
+
+ &reftitle.examples;
+
+ bcsqrt example
+
]]>
-
-
-
+
+
+
+
+ &reftitle.seealso;
- See also bcpow.
+ bcpow.
diff --git a/reference/bc/functions/bcsub.xml b/reference/bc/functions/bcsub.xml
index 9d4e22c614..de71ec2bed 100644
--- a/reference/bc/functions/bcsub.xml
+++ b/reference/bc/functions/bcsub.xml
@@ -1,5 +1,5 @@
-
+
@@ -23,10 +23,12 @@
used to set the number of digits after the decimal place in the
result.
-
-
- bcsub example
-
+
+
+ &reftitle.examples;
+
+ bcsub example
+
]]>
-
-
-
+
+
+
+
+ &reftitle.seealso;
- See also bcadd.
+ bcadd.