Lines Matching +full:- +full:math
3 This `bc` uses the math algorithms below:
64 Newton-Raphson Method, or the [Babylonian Method][5]) to perform the square root
70 ### Sine and Cosine (`bc` Math Library Only)
75 x - x^3/3! + x^5/5! - x^7/7! + ...
94 ### Exponentiation (`bc` Math Library Only)
116 ### Natural Logarithm (`bc` Math Library Only)
124 (where `a` is equal to `(x - 1)/(x + 1)`) to calculate `ln(x)` when `x` is small
139 ### Arctangent (`bc` Math Library Only)
144 x - x^3/3 + x^5/5 - x^7/7 + ...
150 atan(x) = atan(c) + atan((x - c)/(1 + x * c))
159 ### Bessel (`bc` Math Library Only)
164 x^n/(2^n * n!) * (1 - x^2 * 2 * 1! * (n + 1)) + x^4/(2^4 * 2! * (n + 1) * (n + 2)) - ...
172 j(-n,x) = (-1)^n * j(n,x)
183 This `dc` uses the [Memory-efficient method][8] to compute modular
188 ### Non-Integer Exponentiation (`bc` Math Library 2 Only)
216 if it was an integer). We also save the number in `z`; being non-zero is a flag
221 relationship `l(x) == -l(1/x)`; we negated the exponent, which is equivalent to
252 calculate `e((y - a) * l(x))`, where `a` is the integer portion of `y`. It's
253 easy to see that `y - a` will be just the fractional portion of `y` (the
264 ### Rounding (`bc` Math Library 2 Only)
273 ### Ceiling (`bc` Math Library 2 Only)
281 ### Factorial (`bc` Math Library 2 Only)
290 ### Permutations (`bc` Math Library 2 Only)
294 The algorithm is to use the formula `n!/(n-k)!`.
298 ### Combinations (`bc` Math Library 2 Only)
302 The algorithm is to use the formula `n!/r!*(n-r)!`.
306 ### Logarithm of Any Base (`bc` Math Library 2 Only)
316 ### Logarithm of Base 2 (`bc` Math Library 2 Only)
322 ### Logarithm of Base 10 (`bc` Math Library 2 Only)
328 ### Root (`bc` Math Library 2 Only)
338 ### Cube Root (`bc` Math Library 2 Only)
344 ### Greatest Common Divisor (`bc` Math Library 2 Only)
355 ### Least Common Multiple (`bc` Math Library 2 Only)
363 ### Pi (`bc` Math Library 2 Only)
371 ### Tangent (`bc` Math Library 2 Only)
379 ### Atan2 (`bc` Math Library 2 Only)
394 [8]: https://en.wikipedia.org/wiki/Modular_exponentiation#Memory-efficient_method
395 [9]: https://en.wikipedia.org/wiki/Root-finding_algorithms#Newton's_method_(and_similar_derivative-…