diff options
author | Stanislav Malyshev <stas@php.net> | 2015-01-03 01:22:58 -0800 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2015-01-10 15:07:38 -0800 |
commit | b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc (patch) | |
tree | 0e09490075ee4f9a75a77ef4168d8ee254c52e5b /ext/bcmath/libbcmath/src | |
parent | 773c8b0c092a0e9ad5c5548815bcb9991d54d5c1 (diff) | |
download | php-git-b7a7b1a624c97945c0aaa49d46ae996fc0bdb6bc.tar.gz |
trailing whitespace removal
Diffstat (limited to 'ext/bcmath/libbcmath/src')
25 files changed, 30 insertions, 30 deletions
diff --git a/ext/bcmath/libbcmath/src/add.c b/ext/bcmath/libbcmath/src/add.c index 3b09af22b2..ade5b5969a 100644 --- a/ext/bcmath/libbcmath/src/add.c +++ b/ext/bcmath/libbcmath/src/add.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/bcmath.h b/ext/bcmath/libbcmath/src/bcmath.h index f091f8ba31..513725f5c2 100644 --- a/ext/bcmath/libbcmath/src/bcmath.h +++ b/ext/bcmath/libbcmath/src/bcmath.h @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #ifndef _BCMATH_H_ diff --git a/ext/bcmath/libbcmath/src/compare.c b/ext/bcmath/libbcmath/src/compare.c index 2f094a6917..6217ef1af3 100644 --- a/ext/bcmath/libbcmath/src/compare.c +++ b/ext/bcmath/libbcmath/src/compare.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/debug.c b/ext/bcmath/libbcmath/src/debug.c index 0e3b64ac01..0ff7d652cd 100644 --- a/ext/bcmath/libbcmath/src/debug.c +++ b/ext/bcmath/libbcmath/src/debug.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/div.c b/ext/bcmath/libbcmath/src/div.c index 61d9496617..3da8874431 100644 --- a/ext/bcmath/libbcmath/src/div.c +++ b/ext/bcmath/libbcmath/src/div.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/divmod.c b/ext/bcmath/libbcmath/src/divmod.c index 09d43756c2..d7aaa3509d 100644 --- a/ext/bcmath/libbcmath/src/divmod.c +++ b/ext/bcmath/libbcmath/src/divmod.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/doaddsub.c b/ext/bcmath/libbcmath/src/doaddsub.c index 5458fc5dfc..cef0fdbf1b 100644 --- a/ext/bcmath/libbcmath/src/doaddsub.c +++ b/ext/bcmath/libbcmath/src/doaddsub.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/init.c b/ext/bcmath/libbcmath/src/init.c index 6ceb480d8c..e1aeeddf89 100644 --- a/ext/bcmath/libbcmath/src/init.c +++ b/ext/bcmath/libbcmath/src/init.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/int2num.c b/ext/bcmath/libbcmath/src/int2num.c index 34419c138f..a8965f6040 100644 --- a/ext/bcmath/libbcmath/src/int2num.c +++ b/ext/bcmath/libbcmath/src/int2num.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/nearzero.c b/ext/bcmath/libbcmath/src/nearzero.c index ae16b65d8a..1f2f0708cc 100644 --- a/ext/bcmath/libbcmath/src/nearzero.c +++ b/ext/bcmath/libbcmath/src/nearzero.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/neg.c b/ext/bcmath/libbcmath/src/neg.c index c864d77f1d..619a59bb05 100644 --- a/ext/bcmath/libbcmath/src/neg.c +++ b/ext/bcmath/libbcmath/src/neg.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/num2long.c b/ext/bcmath/libbcmath/src/num2long.c index 0a6e0836ad..be84986d23 100644 --- a/ext/bcmath/libbcmath/src/num2long.c +++ b/ext/bcmath/libbcmath/src/num2long.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/num2str.c b/ext/bcmath/libbcmath/src/num2str.c index e38bf87797..5f3911e47c 100644 --- a/ext/bcmath/libbcmath/src/num2str.c +++ b/ext/bcmath/libbcmath/src/num2str.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/outofmem.c b/ext/bcmath/libbcmath/src/outofmem.c index 799a32d2ae..bcbf4cfd1d 100644 --- a/ext/bcmath/libbcmath/src/outofmem.c +++ b/ext/bcmath/libbcmath/src/outofmem.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/output.c b/ext/bcmath/libbcmath/src/output.c index 9358c6b1f5..1759dc68f2 100644 --- a/ext/bcmath/libbcmath/src/output.c +++ b/ext/bcmath/libbcmath/src/output.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/private.h b/ext/bcmath/libbcmath/src/private.h index f8f1048ab7..dedf2b8918 100644 --- a/ext/bcmath/libbcmath/src/private.h +++ b/ext/bcmath/libbcmath/src/private.h @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ /* "Private" routines to bcmath. */ diff --git a/ext/bcmath/libbcmath/src/raise.c b/ext/bcmath/libbcmath/src/raise.c index ee454fa5d2..c625d4e526 100644 --- a/ext/bcmath/libbcmath/src/raise.c +++ b/ext/bcmath/libbcmath/src/raise.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/raisemod.c b/ext/bcmath/libbcmath/src/raisemod.c index 4c3c417760..72a838a364 100644 --- a/ext/bcmath/libbcmath/src/raisemod.c +++ b/ext/bcmath/libbcmath/src/raisemod.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/recmul.c b/ext/bcmath/libbcmath/src/recmul.c index 65e3a623c5..bc1682edcd 100644 --- a/ext/bcmath/libbcmath/src/recmul.c +++ b/ext/bcmath/libbcmath/src/recmul.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> @@ -122,7 +122,7 @@ _bc_shift_addsub (bc_num accum, bc_num val, int shift, int sub) if (val->n_value[0] == 0) count--; assert (accum->n_len+accum->n_scale >= shift+count); - + /* Set up pointers and others */ accp = (signed char *)(accum->n_value + accum->n_len + accum->n_scale - shift - 1); @@ -170,8 +170,8 @@ _bc_shift_addsub (bc_num accum, bc_num val, int shift, int sub) } } -/* Recursive divide and conquer multiply algorithm. - Based on +/* Recursive divide and conquer multiply algorithm. + Based on Let u = u0 + u1*(b^n) Let v = v0 + v1*(b^n) Then uv = (B^2n+B^n)*u1*v1 + B^n*(u1-u0)*(v0-v1) + (B^n+1)*u0*v0 @@ -181,7 +181,7 @@ _bc_shift_addsub (bc_num accum, bc_num val, int shift, int sub) static void _bc_rec_mul (bc_num u, int ulen, bc_num v, int vlen, bc_num *prod, int full_scale) -{ +{ bc_num u0, u1, v0, v1; bc_num m1, m2, m3, d1, d2; int n, prodlen, m1zero; @@ -277,7 +277,7 @@ _bc_rec_mul (bc_num u, int ulen, bc_num v, int vlen, bc_num *prod, void bc_multiply (bc_num n1, bc_num n2, bc_num *prod, int scale) { - bc_num pval; + bc_num pval; int len1, len2; int full_scale, prod_scale; diff --git a/ext/bcmath/libbcmath/src/rmzero.c b/ext/bcmath/libbcmath/src/rmzero.c index 63f7a0cb79..1b81601b20 100644 --- a/ext/bcmath/libbcmath/src/rmzero.c +++ b/ext/bcmath/libbcmath/src/rmzero.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/rt.c b/ext/bcmath/libbcmath/src/rt.c index 5a98b68f7e..5f4d46527c 100644 --- a/ext/bcmath/libbcmath/src/rt.c +++ b/ext/bcmath/libbcmath/src/rt.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/sqrt.c b/ext/bcmath/libbcmath/src/sqrt.c index 61d3d9484f..265d75b5fb 100644 --- a/ext/bcmath/libbcmath/src/sqrt.c +++ b/ext/bcmath/libbcmath/src/sqrt.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/str2num.c b/ext/bcmath/libbcmath/src/str2num.c index 18776c6308..ef505e86e1 100644 --- a/ext/bcmath/libbcmath/src/str2num.c +++ b/ext/bcmath/libbcmath/src/str2num.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/sub.c b/ext/bcmath/libbcmath/src/sub.c index 2dd8eb5ecc..b63f1bc90a 100644 --- a/ext/bcmath/libbcmath/src/sub.c +++ b/ext/bcmath/libbcmath/src/sub.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> diff --git a/ext/bcmath/libbcmath/src/zero.c b/ext/bcmath/libbcmath/src/zero.c index 4a7589eb96..ffb5497546 100644 --- a/ext/bcmath/libbcmath/src/zero.c +++ b/ext/bcmath/libbcmath/src/zero.c @@ -26,7 +26,7 @@ Computer Science Department, 9062 Western Washington University Bellingham, WA 98226-9062 - + *************************************************************************/ #include <config.h> |