@@ -25,7 +25,7 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">mat
2525 < div class ='fl pad1y space-right2 '>
2626 < span class ="strong "> 100% </ span >
2727 < span class ="quiet "> Statements</ span >
28- < span class ='fraction '> 114/114 </ span >
28+ < span class ='fraction '> 132/132 </ span >
2929 </ div >
3030
3131
@@ -46,7 +46,7 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">mat
4646 < div class ='fl pad1y space-right2 '>
4747 < span class ="strong "> 100% </ span >
4848 < span class ="quiet "> Lines</ span >
49- < span class ='fraction '> 114/114 </ span >
49+ < span class ='fraction '> 132/132 </ span >
5050 </ div >
5151
5252
@@ -177,7 +177,43 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">mat
177177< a name ='L112 '> </ a > < a href ='#L112 '> 112</ a >
178178< a name ='L113 '> </ a > < a href ='#L113 '> 113</ a >
179179< a name ='L114 '> </ a > < a href ='#L114 '> 114</ a >
180- < a name ='L115 '> </ a > < a href ='#L115 '> 115</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
180+ < a name ='L115 '> </ a > < a href ='#L115 '> 115</ a >
181+ < a name ='L116 '> </ a > < a href ='#L116 '> 116</ a >
182+ < a name ='L117 '> </ a > < a href ='#L117 '> 117</ a >
183+ < a name ='L118 '> </ a > < a href ='#L118 '> 118</ a >
184+ < a name ='L119 '> </ a > < a href ='#L119 '> 119</ a >
185+ < a name ='L120 '> </ a > < a href ='#L120 '> 120</ a >
186+ < a name ='L121 '> </ a > < a href ='#L121 '> 121</ a >
187+ < a name ='L122 '> </ a > < a href ='#L122 '> 122</ a >
188+ < a name ='L123 '> </ a > < a href ='#L123 '> 123</ a >
189+ < a name ='L124 '> </ a > < a href ='#L124 '> 124</ a >
190+ < a name ='L125 '> </ a > < a href ='#L125 '> 125</ a >
191+ < a name ='L126 '> </ a > < a href ='#L126 '> 126</ a >
192+ < a name ='L127 '> </ a > < a href ='#L127 '> 127</ a >
193+ < a name ='L128 '> </ a > < a href ='#L128 '> 128</ a >
194+ < a name ='L129 '> </ a > < a href ='#L129 '> 129</ a >
195+ < a name ='L130 '> </ a > < a href ='#L130 '> 130</ a >
196+ < a name ='L131 '> </ a > < a href ='#L131 '> 131</ a >
197+ < a name ='L132 '> </ a > < a href ='#L132 '> 132</ a >
198+ < a name ='L133 '> </ a > < a href ='#L133 '> 133</ a > </ td > < td class ="line-coverage quiet "> < span class ="cline-any cline-yes "> 1x</ span >
199+ < span class ="cline-any cline-yes "> 1x</ span >
200+ < span class ="cline-any cline-yes "> 1x</ span >
201+ < span class ="cline-any cline-yes "> 1x</ span >
202+ < span class ="cline-any cline-yes "> 1x</ span >
203+ < span class ="cline-any cline-yes "> 1x</ span >
204+ < span class ="cline-any cline-yes "> 1x</ span >
205+ < span class ="cline-any cline-yes "> 1x</ span >
206+ < span class ="cline-any cline-yes "> 1x</ span >
207+ < span class ="cline-any cline-yes "> 1x</ span >
208+ < span class ="cline-any cline-yes "> 1x</ span >
209+ < span class ="cline-any cline-yes "> 1x</ span >
210+ < span class ="cline-any cline-yes "> 1x</ span >
211+ < span class ="cline-any cline-yes "> 1x</ span >
212+ < span class ="cline-any cline-yes "> 1x</ span >
213+ < span class ="cline-any cline-yes "> 1x</ span >
214+ < span class ="cline-any cline-yes "> 1x</ span >
215+ < span class ="cline-any cline-yes "> 1x</ span >
216+ < span class ="cline-any cline-yes "> 1x</ span >
181217< span class ="cline-any cline-yes "> 1x</ span >
182218< span class ="cline-any cline-yes "> 1x</ span >
183219< span class ="cline-any cline-yes "> 1x</ span >
@@ -314,7 +350,7 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">mat
314350* 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.
315351*
316352* ```text
317- * Copyright 1984, 1991, 2000 by Stephen L. Moshier
353+ * Copyright 1984, 1987, 1988, 1992 by Stephen L. Moshier
318354*
319355* 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.
320356*
@@ -347,7 +383,25 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">mat
347383// MAIN //
348384
349385/**
350- * Returns `10` raised to the `x` power.
386+ * Returns `10` raised to the `x` power of a single-precision floating-point number.
387+ *
388+ * ## Method
389+ *
390+ * - 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
391+ *
392+ * ```tex
393+ * 1 + f * P(f)
394+ * ```
395+ *
396+ * is used to approximate \\( 10^f \\).
397+ *
398+ * ## Notes
399+ *
400+ * - Relative error:
401+ *
402+ * | arithmetic | domain | # trials | peak | rms |
403+ * |:----------:|:-----------:|:--------:|:-------:|:-------:|
404+ * | IEEE | -38,+38 | 100000 | 9.8e-8 | 2.8e-8 |
351405*
352406* @param {number} x - input value
353407* @returns {number} function value
@@ -358,7 +412,7 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">mat
358412*
359413* @example
360414* var v = exp10f( -9.0 );
361- * // returns 9.999999717180685e-10
415+ * // returns ~1.0e-9
362416*
363417* @example
364418* var v = exp10f( 0.0 );
@@ -412,7 +466,7 @@ <h1><a href="../../../../../index.html">All files</a> / <a href="index.html">mat
412466 < div class ='footer quiet pad2 space-top1 center small '>
413467 Code coverage generated by
414468 < a href ="https://istanbul.js.org/ " target ="_blank " rel ="noopener noreferrer "> istanbul</ a >
415- at 2025-06-27T10:53:47.899Z
469+ at 2025-06-27T12:09:46.393Z
416470 </ div >
417471 < script src ="../../../../../prettify.js "> </ script >
418472 < script >
0 commit comments