Comparison of Two Algorithms for calculating natural logarithm, calculation logarithm AlgorithmIntroduction
Some time ago, I wrote two essays about algorithms used to calculate the natural logarithm, using the elliptic θ function-arithmetic
Introduction
In 1982, tateaki. Sasaki and yasumasa Kanada published a paper: practically Fast Multiple-Precision Evaluation of log (X ). In this four-page paper, they introduced a quick way to calculate the natural logarithm.Algorithm. C #
Program
Introduction
Some time ago, I wrote two articles to calculate the natural logarithmAlgorithmUsing the elliptic θ function-arithmetic geometric mean and Taylor series expansion respectively. What is the performance of these two algorithms? The
The main reason is that the teacher used different methods to calculate the natural logarithm and understand the characteristics of different parallel languages. So I used multithreading. After OpenMP, I want to use opencl to implement the following.
IntroductionSome time ago, I wrote two essays on algorithms for calculating natural logarithms, using the elliptical θ function-arithmetic geometric averaging and Taylor series expansions-to calculate. What about the performance of the two
IntroductionSome time ago. I wrote two essays on algorithms for calculating natural logarithms, using the elliptical θ function-arithmetic geometric averaging and Taylor series expansions.So what about the performance of the two algorithms? In the
Like this common "ordinary" calculator, in fact everything can be counted (with the limit, what can become subtraction). Among them, the natural logarithm is especially good, this article will provide a method, mainly using the calculator's Open
The log () method used to calculate the logarithm in Python
This article mainly introduces the log () method used to calculate the logarithm in Python. It is a required method for getting started with Python. For more information, see
The log ()
Java logarithmic functions and Java logarithm operations2010-05-17 10:32 China it lab anonymous Keyword: Java
Java logarithmic functions are computationally problematic, but there are amazing errors in the API. But if you use the following method,
The R language is very powerful and can be used to calculate various types of exponential functions.For example, suppose Y=a^x, seeking x.Function:Log (P1 [, p2])Where P1 is the power, P2 is the base, if P2 does not exist, then the base is E, the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.