diff options
Diffstat (limited to 'ext/bcmath/libbcmath/src')
-rw-r--r-- | ext/bcmath/libbcmath/src/raise.c | 4 | ||||
-rw-r--r-- | ext/bcmath/libbcmath/src/raisemod.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/bcmath/libbcmath/src/raise.c b/ext/bcmath/libbcmath/src/raise.c index e00a62e215..700a50f50c 100644 --- a/ext/bcmath/libbcmath/src/raise.c +++ b/ext/bcmath/libbcmath/src/raise.c @@ -54,10 +54,10 @@ bc_raise (bc_num num1, bc_num num2, bc_num *result, int scale) /* Check the exponent for scale digits and convert to a long. */ if (num2->n_scale != 0) - php_error_docref (NULL, E_WARNING, "non-zero scale in exponent"); + php_error_docref (NULL, E_WARNING, "Non-zero scale in exponent"); exponent = bc_num2long (num2); if (exponent == 0 && (num2->n_len > 1 || num2->n_value[0] != 0)) - php_error_docref (NULL, E_WARNING, "exponent too large"); + php_error_docref (NULL, E_WARNING, "Exponent too large"); /* Special case if exponent is a zero. */ if (exponent == 0) diff --git a/ext/bcmath/libbcmath/src/raisemod.c b/ext/bcmath/libbcmath/src/raisemod.c index 58f9532545..2865903940 100644 --- a/ext/bcmath/libbcmath/src/raisemod.c +++ b/ext/bcmath/libbcmath/src/raisemod.c @@ -79,21 +79,21 @@ bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale) /* Check the base for scale digits. */ if (power->n_scale != 0) { - php_error_docref (NULL, E_WARNING, "non-zero scale in base"); + php_error_docref (NULL, E_WARNING, "Non-zero scale in base"); _bc_truncate (&power); } /* Check the exponent for scale digits. */ if (exponent->n_scale != 0) { - php_error_docref (NULL, E_WARNING, "non-zero scale in exponent"); + php_error_docref (NULL, E_WARNING, "Non-zero scale in exponent"); _bc_truncate (&exponent); } /* Check the modulus for scale digits. */ if (modulus->n_scale != 0) { - php_error_docref (NULL, E_WARNING, "non-zero scale in modulus"); + php_error_docref (NULL, E_WARNING, "Non-zero scale in modulus"); _bc_truncate (&modulus); } |