You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/math/base/special/exp10f/lib/main.js
+23-5Lines changed: 23 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
* See the License for the specific language governing permissions and
16
16
* limitations under the License.
17
17
*
18
+
*
18
19
* ## Notice
19
20
*
20
21
* The original C code, long comment, copyright, license, and constants are from [Cephes]{@link http://www.netlib.org/cephes}. The implementation follows the original, but has been modified for JavaScript.
@@ -51,12 +52,25 @@ var MAXL10 = 38.230809449325611792;
51
52
// MAIN //
52
53
53
54
/**
54
-
* Computes `10^x` for a single-precision floating-point number.
55
+
* Returns `10` raised to the `x` power.
55
56
*
56
57
* ## Method
57
58
*
58
-
* - Range reduction is accomplished by expressing the argument as \\( 10^x = 2^n 10^f \\), with \\( |f| < 0.5 \\log_{10}(2) \\).
59
-
* - A polynomial is used to approximate \\( 10^f \\).
59
+
* - Range reduction is accomplished by expressing the argument as \\( 10^x = 2^n 10^f \\), with \\( |f| < 0.5 log_{10}(2) \\). The Pade' form
Copy file name to clipboardExpand all lines: lib/node_modules/@stdlib/math/base/special/exp10f/src/main.c
+53-17Lines changed: 53 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,19 @@
15
15
* See the License for the specific language governing permissions and
16
16
* limitations under the License.
17
17
*
18
+
*
18
19
* ## Notice
19
20
*
20
-
* The original C code, long comment, copyright, license, and constants are from [Cephes]{@link http://www.netlib.org/cephes}.
21
-
* The implementation follows the original, but has been modified according to project conventions.
21
+
* The original C code, long comment, copyright, license, and constants are from [Cephes]{@link http://www.netlib.org/cephes}. The implementation follows the original, but has been modified according to project conventions.
22
+
*
23
+
* ```text
24
+
* Copyright 1984, 1991, 2000 by Stephen L. Moshier
25
+
*
26
+
* Some software in this archive may be from the book _Methods and Programs for Mathematical Functions_ (Prentice-Hall or Simon & Schuster International, 1989) or from the Cephes Mathematical Library, a commercial product. In either event, it is copyrighted by the author. What you see here may be used freely but it comes with no support or guarantee.
0 commit comments