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
Using the natural logarithm ln method in JavaScript, javascriptln
This returns the natural logarithm of 10 to approximately 2.302.Syntax
Math. LN10
Example:
JavaScript Math LN10 Property
This produces the following results:
Property
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
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,
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
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
This will return 10 of the natural logarithm of about 2.302.
Grammar
1
Math.ln10
Example:
1 2 3 4 5 6 7 8 9 10 11
javascript Math LN10 property var property_value = math.ln10 document.write ("Property
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.