diff options
author | Andi Gutmans <andi@php.net> | 2002-11-20 19:48:12 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2002-11-20 19:48:12 +0000 |
commit | e6b7ab9db86710ca0c90d320bd43dcd4c2c06ed4 (patch) | |
tree | 93d192743b05e18f3402a8e131b0b4009b180f9d /ext/bcmath/libbcmath/src/raise.c | |
parent | 33d0e4e1fbacd3acce5fab6bd3cc4c120223c46f (diff) | |
download | php-git-e6b7ab9db86710ca0c90d320bd43dcd4c2c06ed4.tar.gz |
- Intermediate commit which works on making bcmath thread-safe.
Diffstat (limited to 'ext/bcmath/libbcmath/src/raise.c')
-rw-r--r-- | ext/bcmath/libbcmath/src/raise.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bcmath/libbcmath/src/raise.c b/ext/bcmath/libbcmath/src/raise.c index 5f2f03c208..b259e22882 100644 --- a/ext/bcmath/libbcmath/src/raise.c +++ b/ext/bcmath/libbcmath/src/raise.c @@ -66,7 +66,7 @@ bc_raise (num1, num2, result, scale) if (exponent == 0) { bc_free_num (result); - *result = bc_copy_num (_one_); + *result = bc_copy_num (BCG(_one_)); return; } @@ -111,7 +111,7 @@ bc_raise (num1, num2, result, scale) /* Assign the value. */ if (neg) { - bc_divide (_one_, temp, result, rscale); + bc_divide (BCG(_one_), temp, result, rscale); bc_free_num (&temp); } else |