diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/LICENSE b/lib/node_modules/@stdlib/math/base/special/erfcinvf/LICENSE new file mode 100644 index 000000000000..05757b1b8026 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/LICENSE @@ -0,0 +1,209 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + +DEPENDENCIES & ATTRIBUTION + +The library links against the following external libraries or contains +implementations from the following external libraries, which have their own +licenses: + +* Boost + +Boost Software License - Version 1.0 - August 17th, 2003 + +Permission is hereby granted, free of charge, to any person or organization +obtaining a copy of the software and accompanying documentation covered by +this license (the "Software") to use, reproduce, display, distribute, +execute, and transmit the Software, and to prepare derivative works of the +Software, and to permit third-parties to whom the Software is furnished to +do so, all subject to the following: + +The copyright notices in the Software and this entire statement, including +the above license grant, this restriction and the following disclaimer, +must be included in all copies of the Software, in whole or in part, and +all derivative works of the Software, unless such copies or derivative +works are solely in the form of machine-executable object code generated by +a source language processor. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT +SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE +FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, +ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/README.md b/lib/node_modules/@stdlib/math/base/special/erfcinvf/README.md new file mode 100644 index 000000000000..10a1c25cdc61 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/README.md @@ -0,0 +1,222 @@ + + +# erfcinvf + +> Inverse complementary error function (single-precision). + +
+ +The inverse complementary error function is defined as + + + +```math +\mathop{\mathrm{erfc}}(y) = x +\quad \Longleftrightarrow \quad +y = \mathop{\mathrm{erfc}}^{-1}(x) +``` + + + + + + +
+ + + +
+ +## Usage + +```javascript +var erfcinvf = require( '@stdlib/math/base/special/erfcinvf' ); +``` + +#### erfcinvf( x ) + +Evaluates the inverse complementary error function (single-precision). + +```javascript +var y = erfcinvf( 0.5 ); +// returns 0.47693634033203125 + +y = erfcinvf( 0.8 ); +// returns 0.17914344370365143 + +y = erfcinvf( 0.0 ); +// returns Infinity + +y = erfcinvf( 2.0 ); +// returns -Infinity +``` + +The domain of `x` is restricted to `[0,2]`. If `x` is outside this interval, the function returns `NaN`. + +```javascript +var y = erfcinvf( -3.14 ); +// returns NaN +``` + +If provided `NaN`, the function returns `NaN`. + +```javascript +var y = erfcinvf( NaN ); +// returns NaN +``` + +
+ + + +
+ +## Examples + + + +```javascript +var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var erfcinvf = require( '@stdlib/math/base/special/erfcinvf' ); + +var opts = { + 'dtype': 'float32' +}; +var x = uniform( 100, 0.0, 2.0, opts ); + +logEachMap( 'x: %0.4f, erfcinvf(x): %0.4f', x, erfcinvf ); +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/erfcinvf.h" +``` + +#### stdlib_base_erfcinvf( x ) + +Evaluates the inverse complementary error function (single-precision). + +```c +float out = stdlib_base_erfcinvf( 0.5f ); +// returns 0.47693634f + +out = stdlib_base_erfcinvf( 0.8f ); +// returns 0.17914344f +``` + +The function accepts the following arguments: + +- **x**: `[in] float` input value. + +```c +float stdlib_base_erfcinvf( const float x ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/erfcinvf.h" +#include + +int main( void ) { + const float x[] = { 0.0f, 0.22f, 0.44f, 0.67f, 0.89f, 1.11f, 1.33f, 1.56f, 1.78f, 2.0f }; + + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_erfcinvf( x[ i ] ); + printf( "x: %f, erfcinvf(x): %f\n", x[ i ], v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/benchmark.js new file mode 100644 index 000000000000..0004dbae9570 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/benchmark.js @@ -0,0 +1,52 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var pkg = require( './../package.json' ).name; +var erfcinvf = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, 0.0, 2.0 ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = erfcinvf( x[ i%x.length ] ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/benchmark.native.js new file mode 100644 index 000000000000..13487251bc86 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/benchmark.native.js @@ -0,0 +1,62 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var bench = require( '@stdlib/bench' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var format = require( '@stdlib/string/format' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var erfcinvf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( erfcinvf instanceof Error ) +}; + + +// MAIN // + +bench( format( '%s::native', pkg ), opts, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, 0.0, 2.0 ); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = erfcinvf( x[ i%x.length ] ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/c/native/Makefile new file mode 100644 index 000000000000..979768abbcec --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/c/native/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +# Determine the OS ([1][1], [2][2]). +# +# [1]: https://en.wikipedia.org/wiki/Uname#Examples +# [2]: http://stackoverflow.com/a/27776822/2225624 +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + +# Define the program used for compiling C source files: +ifdef C_COMPILER + CC := $(C_COMPILER) +else + CC := gcc +endif + +# Define the command-line options when compiling C files: +CFLAGS ?= \ + -std=c99 \ + -O3 \ + -Wall \ + -pedantic + +# Determine whether to generate position independent code ([1][1], [2][2]). +# +# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options +# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option +ifeq ($(OS), WINNT) + fPIC ?= +else + fPIC ?= -fPIC +endif + +# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`): +INCLUDE ?= + +# List of source files: +SOURCE_FILES ?= + +# List of libraries (e.g., `-lopenblas -lpthread`): +LIBRARIES ?= + +# List of library paths (e.g., `-L /foo/bar -L /beep/boop`): +LIBPATH ?= + +# List of C targets: +c_targets := benchmark.out + + +# RULES # + +#/ +# Compiles source files. +# +# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`) +# @param {string} [CFLAGS] - C compiler options +# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`) +# @param {string} [SOURCE_FILES] - list of source files +# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`) +# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`) +# +# @example +# make +# +# @example +# make all +#/ +all: $(c_targets) + +.PHONY: all + +#/ +# Compiles C source files. +# +# @private +# @param {string} CC - C compiler (e.g., `gcc`) +# @param {string} CFLAGS - C compiler options +# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`) +# @param {string} SOURCE_FILES - list of source files +# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`) +# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`) +#/ +$(c_targets): %.out: %.c + $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES) + +#/ +# Runs compiled benchmarks. +# +# @example +# make run +#/ +run: $(c_targets) + $(QUIET) ./$< + +.PHONY: run + +#/ +# Removes generated files. +# +# @example +# make clean +#/ +clean: + $(QUIET) -rm -f *.o *.out + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/c/native/benchmark.c new file mode 100644 index 000000000000..b37467b53fd1 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/benchmark/c/native/benchmark.c @@ -0,0 +1,136 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/math/base/special/erfcinvf.h" +#include +#include +#include +#include +#include + +#define NAME "erfcinvf" +#define ITERATIONS 1000000 +#define REPEATS 3 + +/** +* Prints the TAP version. +*/ +static void print_version( void ) { + printf( "TAP version 13\n" ); +} + +/** +* Prints the TAP summary. +* +* @param total total number of tests +* @param passing total number of passing tests +*/ +static void print_summary( int total, int passing ) { + printf( "#\n" ); + printf( "1..%d\n", total ); // TAP plan + printf( "# total %d\n", total ); + printf( "# pass %d\n", passing ); + printf( "#\n" ); + printf( "# ok\n" ); +} + +/** +* Prints benchmarks results. +* +* @param elapsed elapsed time in seconds +*/ +static void print_results( double elapsed ) { + double rate = (double)ITERATIONS / elapsed; + printf( " ---\n" ); + printf( " iterations: %d\n", ITERATIONS ); + printf( " elapsed: %0.9f\n", elapsed ); + printf( " rate: %0.9f\n", rate ); + printf( " ...\n" ); +} + +/** +* Returns a clock time. +* +* @return clock time +*/ +static double tic( void ) { + struct timeval now; + gettimeofday( &now, NULL ); + return (double)now.tv_sec + (double)now.tv_usec/1.0e6; +} + +/** +* Generates a random number on the interval [0,1). +* +* @return random number +*/ +static double rand_double( void ) { + int r = rand(); + return (double)r / ( (double)RAND_MAX + 1.0 ); +} + +/** +* Runs a benchmark. +* +* @return elapsed time in seconds +*/ +static double benchmark( void ) { + double elapsed; + float x[ 100 ]; + float y; + double t; + int i; + + for ( i = 0; i < 100; i++ ) { + x[ i ] = ( 2.0f * (float)rand_double() ) - 0.0f; + } + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + y = stdlib_base_erfcinvf( x[ i%100 ] ); + if ( y != y ) { + printf( "should not return NaN\n" ); + break; + } + } + elapsed = tic() - t; + if ( y != y ) { + printf( "should not return NaN\n" ); + } + return elapsed; +} + +/** +* Main execution sequence. +*/ +int main( void ) { + double elapsed; + int i; + + // Use the current time to seed the random number generator: + srand( time( NULL ) ); + + print_version(); + for ( i = 0; i < REPEATS; i++ ) { + printf( "# c::native::%s\n", NAME ); + elapsed = benchmark(); + print_results( elapsed ); + printf( "ok %d benchmark finished\n", i+1 ); + } + print_summary( REPEATS, REPEATS ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/erfcinvf/binding.gyp new file mode 100644 index 000000000000..0d6508a12e99 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/binding.gyp @@ -0,0 +1,170 @@ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# A `.gyp` file for building a Node.js native add-on. +# +# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md +# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md +{ + # List of files to include in this file: + 'includes': [ + './include.gypi', + ], + + # Define variables to be used throughout the configuration for all targets: + 'variables': { + # Target name should match the add-on export name: + 'addon_target_name%': 'addon', + + # Set variables based on the host OS: + 'conditions': [ + [ + 'OS=="win"', + { + # Define the object file suffix: + 'obj': 'obj', + }, + { + # Define the object file suffix: + 'obj': 'o', + } + ], # end condition (OS=="win") + ], # end conditions + }, # end variables + + # Define compile targets: + 'targets': [ + + # Target to generate an add-on: + { + # The target name should match the add-on export name: + 'target_name': '<(addon_target_name)', + + # Define dependencies: + 'dependencies': [], + + # Define directories which contain relevant include headers: + 'include_dirs': [ + # Local include directory: + '<@(include_dirs)', + ], + + # List of source files: + 'sources': [ + '<@(src_files)', + ], + + # Settings which should be applied when a target's object files are used as linker input: + 'link_settings': { + # Define libraries: + 'libraries': [ + '<@(libraries)', + ], + + # Define library directories: + 'library_dirs': [ + '<@(library_dirs)', + ], + }, + + # C/C++ compiler flags: + 'cflags': [ + # Enable commonly used warning options: + '-Wall', + + # Aggressive optimization: + '-O3', + ], + + # C specific compiler flags: + 'cflags_c': [ + # Specify the C standard to which a program is expected to conform: + '-std=c99', + ], + + # C++ specific compiler flags: + 'cflags_cpp': [ + # Specify the C++ standard to which a program is expected to conform: + '-std=c++11', + ], + + # Linker flags: + 'ldflags': [], + + # Apply conditions based on the host OS: + 'conditions': [ + [ + 'OS=="mac"', + { + # Linker flags: + 'ldflags': [ + '-undefined dynamic_lookup', + '-Wl,-no-pie', + '-Wl,-search_paths_first', + ], + }, + ], # end condition (OS=="mac") + [ + 'OS!="win"', + { + # C/C++ flags: + 'cflags': [ + # Generate platform-independent code: + '-fPIC', + ], + }, + ], # end condition (OS!="win") + ], # end conditions + }, # end target <(addon_target_name) + + # Target to copy a generated add-on to a standard location: + { + 'target_name': 'copy_addon', + + # Declare that the output of this target is not linked: + 'type': 'none', + + # Define dependencies: + 'dependencies': [ + # Require that the add-on be generated before building this target: + '<(addon_target_name)', + ], + + # Define a list of actions: + 'actions': [ + { + 'action_name': 'copy_addon', + 'message': 'Copying addon...', + + # Explicitly list the inputs in the command-line invocation below: + 'inputs': [], + + # Declare the expected outputs: + 'outputs': [ + '<(addon_output_dir)/<(addon_target_name).node', + ], + + # Define the command-line invocation: + 'action': [ + 'cp', + '<(PRODUCT_DIR)/<(addon_target_name).node', + '<(addon_output_dir)/<(addon_target_name).node', + ], + }, + ], # end actions + }, # end target copy_addon + ], # end targets +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/img/equation_inverse_complementary_error_function.svg b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/img/equation_inverse_complementary_error_function.svg new file mode 100644 index 000000000000..818345d4399d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/img/equation_inverse_complementary_error_function.svg @@ -0,0 +1,43 @@ + +e r f c Superscript negative 1 Baseline left-parenthesis 1 minus z right-parenthesis equals e r f Superscript negative 1 Baseline left-parenthesis z right-parenthesis + + + \ No newline at end of file diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/repl.txt new file mode 100644 index 000000000000..dd968beda76b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/repl.txt @@ -0,0 +1,33 @@ +{{alias}}( x ) + Evaluates the inverse complementary error function (single-precision). + + The domain of `x` is restricted to `[0,2]`. If `x` is outside this interval, + the function returns `NaN`. + + If provided `NaN`, the function returns `NaN`. + + Parameters + ---------- + x: number + Input value. + + Returns + ------- + y: number + Function value. + + Examples + -------- + > var y = {{alias}}( 0.5 ) + ~0.4769 + > y = {{alias}}( 0.8 ) + ~0.1791 + > y = {{alias}}( 0.0 ) + Infinity + > y = {{alias}}( 2.0 ) + -Infinity + > y = {{alias}}( NaN ) + NaN + + See Also + -------- diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/types/index.d.ts new file mode 100644 index 000000000000..3c859fd1fe57 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/types/index.d.ts @@ -0,0 +1,56 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Evaluates the inverse complementary error function (single-precision). +* +* ## Notes +* +* - The domain of `x` is restricted to `[0,2]`. If `x` is outside this interval, the function returns `NaN`. +* +* @param x - input value +* @returns function value +* +* @example +* var y = erfcinvf( 0.5 ); +* // returns ~0.4769 +* +* @example +* var y = erfcinvf( 0.8 ); +* // returns ~0.1791 +* +* @example +* var y = erfcinvf( 0.0 ); +* // returns Infinity +* +* @example +* var y = erfcinvf( 2.0 ); +* // returns -Infinity +* +* @example +* var y = erfcinvf( NaN ); +* // returns NaN +*/ +declare function erfcinvf( x: number ): number; + + +// EXPORTS // + +export = erfcinvf; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/types/test.ts new file mode 100644 index 000000000000..09bc47760d01 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/docs/types/test.ts @@ -0,0 +1,44 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import erfcinvf = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + erfcinvf( 1.8 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + erfcinvf( true ); // $ExpectError + erfcinvf( false ); // $ExpectError + erfcinvf( null ); // $ExpectError + erfcinvf( undefined ); // $ExpectError + erfcinvf( '5' ); // $ExpectError + erfcinvf( [] ); // $ExpectError + erfcinvf( {} ); // $ExpectError + erfcinvf( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + erfcinvf(); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/c/Makefile new file mode 100644 index 000000000000..c8f8e9a1517b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/c/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +# Determine the OS ([1][1], [2][2]). +# +# [1]: https://en.wikipedia.org/wiki/Uname#Examples +# [2]: http://stackoverflow.com/a/27776822/2225624 +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + +# Define the program used for compiling C source files: +ifdef C_COMPILER + CC := $(C_COMPILER) +else + CC := gcc +endif + +# Define the command-line options when compiling C files: +CFLAGS ?= \ + -std=c99 \ + -O3 \ + -Wall \ + -pedantic + +# Determine whether to generate position independent code ([1][1], [2][2]). +# +# [1]: https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#Code-Gen-Options +# [2]: http://stackoverflow.com/questions/5311515/gcc-fpic-option +ifeq ($(OS), WINNT) + fPIC ?= +else + fPIC ?= -fPIC +endif + +# List of includes (e.g., `-I /foo/bar -I /beep/boop/include`): +INCLUDE ?= + +# List of source files: +SOURCE_FILES ?= + +# List of libraries (e.g., `-lopenblas -lpthread`): +LIBRARIES ?= + +# List of library paths (e.g., `-L /foo/bar -L /beep/boop`): +LIBPATH ?= + +# List of C targets: +c_targets := example.out + + +# RULES # + +#/ +# Compiles source files. +# +# @param {string} [C_COMPILER] - C compiler (e.g., `gcc`) +# @param {string} [CFLAGS] - C compiler options +# @param {(string|void)} [fPIC] - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} [INCLUDE] - list of includes (e.g., `-I /foo/bar -I /beep/boop/include`) +# @param {string} [SOURCE_FILES] - list of source files +# @param {string} [LIBPATH] - list of library paths (e.g., `-L /foo/bar -L /beep/boop`) +# @param {string} [LIBRARIES] - list of libraries (e.g., `-lopenblas -lpthread`) +# +# @example +# make +# +# @example +# make all +#/ +all: $(c_targets) + +.PHONY: all + +#/ +# Compiles C source files. +# +# @private +# @param {string} CC - C compiler (e.g., `gcc`) +# @param {string} CFLAGS - C compiler options +# @param {(string|void)} fPIC - compiler flag determining whether to generate position independent code (e.g., `-fPIC`) +# @param {string} INCLUDE - list of includes (e.g., `-I /foo/bar`) +# @param {string} SOURCE_FILES - list of source files +# @param {string} LIBPATH - list of library paths (e.g., `-L /foo/bar`) +# @param {string} LIBRARIES - list of libraries (e.g., `-lopenblas`) +#/ +$(c_targets): %.out: %.c + $(QUIET) $(CC) $(CFLAGS) $(fPIC) $(INCLUDE) -o $@ $(SOURCE_FILES) $< $(LIBPATH) -lm $(LIBRARIES) + +#/ +# Runs compiled examples. +# +# @example +# make run +#/ +run: $(c_targets) + $(QUIET) ./$< + +.PHONY: run + +#/ +# Removes generated files. +# +# @example +# make clean +#/ +clean: + $(QUIET) -rm -f *.o *.out + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/c/example.c new file mode 100644 index 000000000000..83dc549a5fdc --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/c/example.c @@ -0,0 +1,31 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/math/base/special/erfcinvf.h" +#include + +int main( void ) { + const float x[] = { 0.0f, 0.22f, 0.44f, 0.67f, 0.89f, 1.11f, 1.33f, 1.56f, 1.78f, 2.0f }; + + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_erfcinvf( x[ i ] ); + printf( "x: %f, erfcinvf(x): %f\n", x[ i ], v ); + } +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/index.js new file mode 100644 index 000000000000..5205c704f1d7 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/examples/index.js @@ -0,0 +1,30 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var erfcinvf = require( './../lib' ); + +var opts = { + 'dtype': 'float32' +}; +var x = uniform( 100, 0.0, 2.0, opts ); + +logEachMap( 'x: %0.4f, erfcinvf(x): %0.4f', x, erfcinvf ); diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/include.gypi b/lib/node_modules/@stdlib/math/base/special/erfcinvf/include.gypi new file mode 100644 index 000000000000..bee8d41a2caf --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/include.gypi @@ -0,0 +1,53 @@ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# A GYP include file for building a Node.js native add-on. +# +# Main documentation: +# +# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md +# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md +{ + # Define variables to be used throughout the configuration for all targets: + 'variables': { + # Source directory: + 'src_dir': './src', + + # Include directories: + 'include_dirs': [ + ' --> +* +* Max error \\(2.001849\mbox{e-}18\\). Maximum deviation found (error term at infinite precision) \\(8.030\mbox{e-}21\\). +* +* +* +* 2. For \\(0.5 > 1-|x| \geq 0\\), we evaluate the inverse error function using the rational approximation +* +* ```tex +* \operatorname{erf^{-1}} = \frac{\sqrt{-2 \cdot \ln(1-x)}}{\mathrm{Y} + \operatorname{R}(1-x)} +* ``` +* +* where \\(Y\\) is a constant, and \\(\operatorname{R}(q)\\) is optimized for a low absolute error compared to \\(Y\\). +* +* +* +* Max error \\(7.403372\mbox{e-}17\\). Maximum deviation found (error term at infinite precision) \\(4.811\mbox{e-}20\\). +* +* +* +* 3. For \\(1-|x| < 0.25\\), we have a series of rational approximations all of the general form +* +* ```tex +* p = \sqrt{-\ln(1-x)} +* ``` +* +* Accordingly, result is given by +* +* ```tex +* \operatorname{erf^{-1}}(x) = p(\mathrm{Y} + \operatorname{R}(p-B)) +* ``` +* +* where \\(Y\\) is a constant, \\(B\\) is the lowest value of \\(p\\) for which the approximation is valid, and \\(\operatorname{R}(x-B)\\) is optimized for a low absolute error compared to \\(Y\\). +* +* +* +* Almost all code will only go through the first or maybe second approximation. After that we are dealing with very small input values. +* +* - If \\(p < 3\\), max error \\(1.089051\mbox{e-}20\\). +* - If \\(p < 6\\), max error \\(8.389174\mbox{e-}21\\). +* - If \\(p < 18\\), max error \\(1.481312\mbox{e-}19\\). +* - If \\(p < 44\\), max error \\(5.697761\mbox{e-}20\\). +* +* +* +* +* +* The Boost library can accommodate \\(80\\) and \\(128\\) bit long doubles. JavaScript only supports a \\(64\\) bit double (IEEE 754). Accordingly, the smallest \\(p\\) (in JavaScript at the time of this writing) is \\(\sqrt{-\ln(\sim5\mbox{e-}324)} = 27.284429111150214\\). +* +* +* +* @param {number} x - input value +* @returns {number} function value +* +* @example +* var y = erfcinvf( 0.5 ); +* // returns ~0.4769 +* +* @example +* var y = erfcinvf( 0.8 ); +* // returns ~0.1791 +* +* @example +* var y = erfcinvf( 0.0 ); +* // returns Infinity +* +* @example +* var y = erfcinvf( 2.0 ); +* // returns -Infinity +* +* @example +* var y = erfcinvf( NaN ); +* // returns NaN +*/ +function erfcinvf( x ) { + var sign; + var qs; + var q; + var g; + var r; + + x = f32( x ); + + // Special case: NaN + if ( isnanf( x ) ) { + return NaN; + } + // Special case: 0 + if ( x === ZERO ) { + return PINF; + } + // Special case: 2 + if ( x === TWO ) { + return NINF; + } + // Special case: 1 + if ( x === ONE ) { + return 0.0; + } + if ( x > TWO || x < ZERO ) { + return NaN; + } + // Argument reduction (reduce to interval [0,1]). If `x` is outside [0,1], we can take advantage of the complementary error function reflection formula: `erfc(-z) = 2 - erfc(z)`, by negating the result once finished. + if ( x > ONE ) { + sign = NEG_ONE; + q = f32( TWO - x ); + } else { + sign = ONE; + q = x; + } + x = f32( ONE - q ); + + // x = 1-q <= 0.5 + if ( x <= HALF ) { + g = f32( x * ( x + TEN ) ); + r = rationalFcnR1( x ); + return f32( sign * ( f32(g*Y1) + f32(g*r) ) ); + } + // q >= 0.25 + if ( q >= QUARTER ) { + g = sqrtf( f32( -2.0 * lnf( q ) ) ); + q = f32( q - QUARTER ); + r = rationalFcnR2( q ); + return f32( sign * ( g / f32(Y2+r) ) ); + } + q = sqrtf( f32( -lnf( q ) ) ); + + // q < 3 + if ( q < THREE ) { + qs = f32( q - ONE_TWO_FIVE ); + r = rationalFcnR3( qs ); + return f32( sign * ( f32(Y3*q) + f32(r*q) ) ); + } + // q < 6 + if ( q < SIX ) { + qs = f32( q - THREE ); + r = rationalFcnR4( qs ); + return f32( sign * ( f32(Y4*q) + f32(r*q) ) ); + } + // q < 18 + qs = f32( q - SIX ); + r = rationalFcnR5( qs ); + return f32( sign * ( f32(Y5*q) + f32(r*q) ) ); +} + + +// EXPORTS // + +module.exports = erfcinvf; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/native.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/native.js new file mode 100644 index 000000000000..52696037cede --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/native.js @@ -0,0 +1,62 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var addon = require( './../src/addon.node' ); + + +// MAIN // + +/** +* Evaluates the inverse complementary error function (single-precision). +* +* @private +* @param {number} x - input value +* @returns {number} function value +* +* @example +* var v = erfcinvf( 0.5 ); +* // returns ~0.4769 +* +* @example +* var v = erfcinvf( 0.8 ); +* // returns ~0.1791 +* +* @example +* var v = erfcinvf( 0.0 ); +* // returns Infinity +* +* @example +* var v = erfcinvf( 2.0 ); +* // returns -Infinity +* +* @example +* var v = erfcinvf( NaN ); +* // returns NaN +*/ +function erfcinvf( x ) { + return addon( x ); +} + + +// EXPORTS // + +module.exports = erfcinvf; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p1q1.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p1q1.js new file mode 100644 index 000000000000..f06948690f3b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p1q1.js @@ -0,0 +1,69 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.0005087819299660623; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = float64ToFloat32(-0.0005087819299660623 + float64ToFloat32(x * float64ToFloat32(-0.008368748240172863 + float64ToFloat32(x * float64ToFloat32(0.03348066285252571 + float64ToFloat32(x * float64ToFloat32(-0.012692615389823914 + float64ToFloat32(x * float64ToFloat32(-0.036563798785209656 + float64ToFloat32(x * float64ToFloat32(0.02198786847293377 + float64ToFloat32(x * float64ToFloat32(0.008226878941059113 + float64ToFloat32(x * float64ToFloat32(-0.005387729499489069 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(-0.9700050354003906 + float64ToFloat32(x * float64ToFloat32(-1.56574547290802 + float64ToFloat32(x * float64ToFloat32(1.5622155666351318 + float64ToFloat32(x * float64ToFloat32(0.6622884273529053 + float64ToFloat32(x * float64ToFloat32(-0.712289035320282 + float64ToFloat32(x * float64ToFloat32(-0.05273963883519173 + float64ToFloat32(x * float64ToFloat32(0.07952836900949478 + float64ToFloat32(x * float64ToFloat32(-0.0023339376784861088 + float64ToFloat32(x * 0.0008862164104357362)))))))))))))))))); // eslint-disable-line max-len + } else { + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(-0.005387729499489069 + float64ToFloat32(x * float64ToFloat32(0.008226878941059113 + float64ToFloat32(x * float64ToFloat32(0.02198786847293377 + float64ToFloat32(x * float64ToFloat32(-0.036563798785209656 + float64ToFloat32(x * float64ToFloat32(-0.012692615389823914 + float64ToFloat32(x * float64ToFloat32(0.03348066285252571 + float64ToFloat32(x * float64ToFloat32(-0.008368748240172863 + float64ToFloat32(x * -0.0005087819299660623)))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0008862164104357362 + float64ToFloat32(x * float64ToFloat32(-0.0023339376784861088 + float64ToFloat32(x * float64ToFloat32(0.07952836900949478 + float64ToFloat32(x * float64ToFloat32(-0.05273963883519173 + float64ToFloat32(x * float64ToFloat32(-0.712289035320282 + float64ToFloat32(x * float64ToFloat32(0.6622884273529053 + float64ToFloat32(x * float64ToFloat32(1.5622155666351318 + float64ToFloat32(x * float64ToFloat32(-1.56574547290802 + float64ToFloat32(x * float64ToFloat32(-0.9700050354003906 + float64ToFloat32(x * 1.0)))))))))))))))))); // eslint-disable-line max-len + } + return float64ToFloat32( s1 / s2 ); +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p2q2.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p2q2.js new file mode 100644 index 000000000000..e8f76ccde358 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p2q2.js @@ -0,0 +1,69 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.2024334967136383; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = float64ToFloat32(-0.2024334967136383 + float64ToFloat32(x * float64ToFloat32(0.10526470094919205 + float64ToFloat32(x * float64ToFloat32(8.370503425598145 + float64ToFloat32(x * float64ToFloat32(17.644729614257812 + float64ToFloat32(x * float64ToFloat32(-18.851064682006836 + float64ToFloat32(x * float64ToFloat32(-44.63823318481445 + float64ToFloat32(x * float64ToFloat32(17.44538688659668 + float64ToFloat32(x * float64ToFloat32(21.129465103149414 + float64ToFloat32(x * -3.671922445297241)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(6.242640972137451 + float64ToFloat32(x * float64ToFloat32(3.971343755722046 + float64ToFloat32(x * float64ToFloat32(-28.660818099975586 + float64ToFloat32(x * float64ToFloat32(-20.14326286315918 + float64ToFloat32(x * float64ToFloat32(48.56092071533203 + float64ToFloat32(x * float64ToFloat32(10.82686710357666 + float64ToFloat32(x * float64ToFloat32(-22.643693923950195 + float64ToFloat32(x * 1.7211476564407349)))))))))))))))); // eslint-disable-line max-len + } else { + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(-3.671922445297241 + float64ToFloat32(x * float64ToFloat32(21.129465103149414 + float64ToFloat32(x * float64ToFloat32(17.44538688659668 + float64ToFloat32(x * float64ToFloat32(-44.63823318481445 + float64ToFloat32(x * float64ToFloat32(-18.851064682006836 + float64ToFloat32(x * float64ToFloat32(17.644729614257812 + float64ToFloat32(x * float64ToFloat32(8.370503425598145 + float64ToFloat32(x * float64ToFloat32(0.10526470094919205 + float64ToFloat32(x * -0.2024334967136383)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.7211476564407349 + float64ToFloat32(x * float64ToFloat32(-22.643693923950195 + float64ToFloat32(x * float64ToFloat32(10.82686710357666 + float64ToFloat32(x * float64ToFloat32(48.56092071533203 + float64ToFloat32(x * float64ToFloat32(-20.14326286315918 + float64ToFloat32(x * float64ToFloat32(-28.660818099975586 + float64ToFloat32(x * float64ToFloat32(3.971343755722046 + float64ToFloat32(x * float64ToFloat32(6.242640972137451 + float64ToFloat32(x * 1.0)))))))))))))))); // eslint-disable-line max-len + } + return float64ToFloat32( s1 / s2 ); +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p3q3.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p3q3.js new file mode 100644 index 000000000000..118e1aff38f5 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p3q3.js @@ -0,0 +1,69 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.1311028003692627; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = float64ToFloat32(-0.1311028003692627 + float64ToFloat32(x * float64ToFloat32(-0.16379399597644806 + float64ToFloat32(x * float64ToFloat32(0.11703020334243774 + float64ToFloat32(x * float64ToFloat32(0.3870796859264374 + float64ToFloat32(x * float64ToFloat32(0.3377855122089386 + float64ToFloat32(x * float64ToFloat32(0.1428695023059845 + float64ToFloat32(x * float64ToFloat32(0.029015790671110153 + float64ToFloat32(x * float64ToFloat32(0.002145590027794242 + float64ToFloat32(x * float64ToFloat32(-6.794655860176135e-7 + float64ToFloat32(x * float64ToFloat32(2.8522530115537847e-8 + float64ToFloat32(x * -6.81150025272359e-10)))))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(3.4662539958953857 + float64ToFloat32(x * float64ToFloat32(5.381682872772217 + float64ToFloat32(x * float64ToFloat32(4.77846622467041 + float64ToFloat32(x * float64ToFloat32(2.5930190086364746 + float64ToFloat32(x * float64ToFloat32(0.8488543033599854 + float64ToFloat32(x * float64ToFloat32(0.1522642970085144 + float64ToFloat32(x * float64ToFloat32(0.011059240438044071 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))))))))); // eslint-disable-line max-len + } else { + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(-6.81150025272359e-10 + float64ToFloat32(x * float64ToFloat32(2.8522530115537847e-8 + float64ToFloat32(x * float64ToFloat32(-6.794655860176135e-7 + float64ToFloat32(x * float64ToFloat32(0.002145590027794242 + float64ToFloat32(x * float64ToFloat32(0.029015790671110153 + float64ToFloat32(x * float64ToFloat32(0.1428695023059845 + float64ToFloat32(x * float64ToFloat32(0.3377855122089386 + float64ToFloat32(x * float64ToFloat32(0.3870796859264374 + float64ToFloat32(x * float64ToFloat32(0.11703020334243774 + float64ToFloat32(x * float64ToFloat32(-0.16379399597644806 + float64ToFloat32(x * -0.1311028003692627)))))))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.011059240438044071 + float64ToFloat32(x * float64ToFloat32(0.1522642970085144 + float64ToFloat32(x * float64ToFloat32(0.8488543033599854 + float64ToFloat32(x * float64ToFloat32(2.5930190086364746 + float64ToFloat32(x * float64ToFloat32(4.77846622467041 + float64ToFloat32(x * float64ToFloat32(5.381682872772217 + float64ToFloat32(x * float64ToFloat32(3.4662539958953857 + float64ToFloat32(x * 1.0)))))))))))))))))))); // eslint-disable-line max-len + } + return float64ToFloat32( s1 / s2 ); +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p4q4.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p4q4.js new file mode 100644 index 000000000000..5246c1d8e597 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p4q4.js @@ -0,0 +1,69 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.035035375505685806; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = float64ToFloat32(-0.035035375505685806 + float64ToFloat32(x * float64ToFloat32(-0.0022242648992687464 + float64ToFloat32(x * float64ToFloat32(0.01855733059346676 + float64ToFloat32(x * float64ToFloat32(0.009508047252893448 + float64ToFloat32(x * float64ToFloat32(0.0018712349701672792 + float64ToFloat32(x * float64ToFloat32(0.00015754459309391677 + float64ToFloat32(x * float64ToFloat32(4.6046991220016764e-10 + float64ToFloat32(x * 2.663392076329707e-12)))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(1.3653349876403809 + float64ToFloat32(x * float64ToFloat32(0.762059211730957 + float64ToFloat32(x * float64ToFloat32(0.2200911045074463 + float64ToFloat32(x * float64ToFloat32(0.03415891155600548 + float64ToFloat32(x * float64ToFloat32(0.0026386170648038387 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))); // eslint-disable-line max-len + } else { + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(2.663392076329707e-12 + float64ToFloat32(x * float64ToFloat32(4.6046991220016764e-10 + float64ToFloat32(x * float64ToFloat32(0.00015754459309391677 + float64ToFloat32(x * float64ToFloat32(0.0018712349701672792 + float64ToFloat32(x * float64ToFloat32(0.009508047252893448 + float64ToFloat32(x * float64ToFloat32(0.01855733059346676 + float64ToFloat32(x * float64ToFloat32(-0.0022242648992687464 + float64ToFloat32(x * -0.035035375505685806)))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0026386170648038387 + float64ToFloat32(x * float64ToFloat32(0.03415891155600548 + float64ToFloat32(x * float64ToFloat32(0.2200911045074463 + float64ToFloat32(x * float64ToFloat32(0.762059211730957 + float64ToFloat32(x * float64ToFloat32(1.3653349876403809 + float64ToFloat32(x * 1.0)))))))))))))); // eslint-disable-line max-len + } + return float64ToFloat32( s1 / s2 ); +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p5q5.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p5q5.js new file mode 100644 index 000000000000..0ad10981c62a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/lib/rational_p5q5.js @@ -0,0 +1,69 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* This is a generated file. Do not edit directly. */ +'use strict'; + +// MODULES // + +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); + + +// MAIN // + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @private +* @param {number} x - value at which to evaluate the rational function +* @returns {number} evaluated rational function +*/ +function evalrational( x ) { + var ax; + var s1; + var s2; + if ( x === 0.0 ) { + return -0.016743101179599762; + } + if ( x < 0.0 ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0 ) { + s1 = float64ToFloat32(-0.016743101179599762 + float64ToFloat32(x * float64ToFloat32(-0.0011295144213363528 + float64ToFloat32(x * float64ToFloat32(0.0010562886018306017 + float64ToFloat32(x * float64ToFloat32(0.00020938630041200668 + float64ToFloat32(x * float64ToFloat32(0.000014962500245019328 + float64ToFloat32(x * float64ToFloat32(4.4969999635213753e-7 + float64ToFloat32(x * float64ToFloat32(4.599999936516497e-9 + float64ToFloat32(x * float64ToFloat32(-2.811287444157151e-14 + float64ToFloat32(x * 9.905571215128252e-17)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(1.0 + float64ToFloat32(x * float64ToFloat32(0.5914293527603149 + float64ToFloat32(x * float64ToFloat32(0.1381518691778183 + float64ToFloat32(x * float64ToFloat32(0.016074609011411667 + float64ToFloat32(x * float64ToFloat32(0.0009640118223614991 + float64ToFloat32(x * float64ToFloat32(0.000027533500542631373 + float64ToFloat32(x * float64ToFloat32(2.822000055857643e-7 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * 0.0)))))))))))))))); // eslint-disable-line max-len + } else { + x = float64ToFloat32( 1.0 / x ); + s1 = float64ToFloat32(9.905571215128252e-17 + float64ToFloat32(x * float64ToFloat32(-2.811287444157151e-14 + float64ToFloat32(x * float64ToFloat32(4.599999936516497e-9 + float64ToFloat32(x * float64ToFloat32(4.4969999635213753e-7 + float64ToFloat32(x * float64ToFloat32(0.000014962500245019328 + float64ToFloat32(x * float64ToFloat32(0.00020938630041200668 + float64ToFloat32(x * float64ToFloat32(0.0010562886018306017 + float64ToFloat32(x * float64ToFloat32(-0.0011295144213363528 + float64ToFloat32(x * -0.016743101179599762)))))))))))))))); // eslint-disable-line max-len + s2 = float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(0.0 + float64ToFloat32(x * float64ToFloat32(2.822000055857643e-7 + float64ToFloat32(x * float64ToFloat32(0.000027533500542631373 + float64ToFloat32(x * float64ToFloat32(0.0009640118223614991 + float64ToFloat32(x * float64ToFloat32(0.016074609011411667 + float64ToFloat32(x * float64ToFloat32(0.1381518691778183 + float64ToFloat32(x * float64ToFloat32(0.5914293527603149 + float64ToFloat32(x * 1.0)))))))))))))))); // eslint-disable-line max-len + } + return float64ToFloat32( s1 / s2 ); +} + + +// EXPORTS // + +module.exports = evalrational; diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/manifest.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/manifest.json new file mode 100644 index 000000000000..70e8f13b95d9 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/manifest.json @@ -0,0 +1,84 @@ +{ + "options": { + "task": "build" + }, + "fields": [ + { + "field": "src", + "resolve": true, + "relative": true + }, + { + "field": "include", + "resolve": true, + "relative": true + }, + { + "field": "libraries", + "resolve": false, + "relative": false + }, + { + "field": "libpath", + "resolve": true, + "relative": false + } + ], + "confs": [ + { + "task": "build", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/napi/unary", + "@stdlib/math/base/assert/is-nanf", + "@stdlib/constants/float32/ninf", + "@stdlib/constants/float32/pinf", + "@stdlib/math/base/special/sqrtf", + "@stdlib/math/base/special/lnf" + ] + }, + { + "task": "benchmark", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nanf", + "@stdlib/constants/float32/ninf", + "@stdlib/constants/float32/pinf", + "@stdlib/math/base/special/sqrtf", + "@stdlib/math/base/special/lnf" + ] + }, + { + "task": "examples", + "src": [ + "./src/main.c" + ], + "include": [ + "./include" + ], + "libraries": [], + "libpath": [], + "dependencies": [ + "@stdlib/math/base/assert/is-nanf", + "@stdlib/constants/float32/ninf", + "@stdlib/constants/float32/pinf", + "@stdlib/math/base/special/sqrtf", + "@stdlib/math/base/special/lnf" + ] + } + ] +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/package.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/package.json new file mode 100644 index 000000000000..4751aa40d8b8 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/package.json @@ -0,0 +1,149 @@ +{ + "name": "@stdlib/math/base/special/erfcinvf", + "version": "0.0.0", + "description": "Inverse complementary error function (single-precision).", + "license": "Apache-2.0 AND BSL-1.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "gypfile": true, + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "include": "./include", + "lib": "./lib", + "scripts": "./scripts", + "src": "./src", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "mathematics", + "math", + "special function", + "error function", + "inverse", + "complementary", + "erfcinv", + "scalar", + "number", + "single-precision", + "float32" + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "erfcinvf", + "alias": "erfcinvf", + "pkg_desc": "evaluate the inverse complementary error function for a single-precision floating-point number", + "desc": "evaluates the inverse complementary error function for a single-precision floating-point number", + "short_desc": "inverse complementary error function (single-precision)", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "0", + "max": "2" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0, + 2 + ] + }, + "example_values": [ + 0, + 0.1, + 0.2, + 0.3, + 0.4, + 0.5, + 0.6, + 0.7, + 0.8, + 0.9, + 1, + 1.1, + 1.2, + 1.3, + 1.4, + 1.5, + 1.6, + 1.7, + 1.8, + 1.9, + 2 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "function value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "error function", + "inverse", + "complementary", + "erfcinv", + "scalar", + "number", + "single-precision", + "float32" + ], + "extra_keywords": [] + } + } +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/scripts/evalrational.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/scripts/evalrational.js new file mode 100644 index 000000000000..38765d4f590c --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/scripts/evalrational.js @@ -0,0 +1,269 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +/* +* This script compiles modules for evaluating polynomial functions. If any polynomial coefficients change, this script should be rerun to update the compiled files. +*/ +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var readFileSync = require( '@stdlib/fs/read-file' ).sync; +var writeFileSync = require( '@stdlib/fs/write-file' ).sync; +var currentYear = require( '@stdlib/time/current-year' ); +var substringBefore = require( '@stdlib/string/substring-before' ); +var substringAfter = require( '@stdlib/string/substring-after' ); +var format = require( '@stdlib/string/format' ); +var licenseHeader = require( '@stdlib/_tools/licenses/header' ); +var compile = require( '@stdlib/math/base/tools/evalrational-compile' ); +var compileC = require( '@stdlib/math/base/tools/evalrational-compile-c' ); + + +// VARIABLES // + +// Polynomial coefficients ordered in ascending degree... + +// Coefficients for erfinvf on [0, 0.5]: +var P1 = [ + -5.0878195e-4, + -8.3687482e-3, + 3.3480663e-2, + -1.2692615e-2, + -3.6563797e-2, + 2.1987868e-2, + 8.2268787e-3, + -5.3877297e-3, + 0.0, + 0.0 +]; +var Q1 = [ + 1.0, + -9.7000504e-1, + -1.5657455, + 1.5622156, + 6.6228840e-1, + -7.1228902e-1, + -5.2739638e-2, + 7.9528369e-2, + -2.3339376e-3, + 8.8621639e-4 +]; + +// Coefficients for erfinvf for 0.5 > 1-x >= 0: +var P2 = [ + -0.2024335, + 0.1052647, + 8.3705033, + 17.6447298, + -18.8510648, + -44.6382324, + 17.4453860, + 21.1294655, + -3.6719225 +]; +var Q2 = [ + 1.0, + 6.2426412, + 3.9713438, + -28.6608180, + -20.1432635, + 48.5609213, + 10.8268667, + -22.6436933, + 1.7211477 +]; + +// Coefficients for erfinvf for sqrt( -log(1-x) ); +var P3 = [ + -0.1311028, + -0.163794, + 0.1170302, + 0.3870797, + 0.3377855, + 0.1428695, + 0.02901579, + 0.00214559, + -6.794656e-7, + 2.852253e-8, + -6.8115e-10 +]; +var Q3 = [ + 1.0, + 3.466254, + 5.381683, + 4.778466, + 2.593019, + 0.8488543, + 0.1522643, + 0.01105924, + 0.0, + 0.0, + 0.0 +]; + +var P4 = [ + -3.5035375e-2, + -2.2242649e-3, + 1.8557330e-2, + 9.5080472e-3, + 1.8712350e-3, + 1.5754459e-4, + 4.6046991e-10, + 2.6633921e-12 +]; +var Q4 = [ + 1.0, + 1.365335, + 0.7620592, + 0.2200911, + 0.03415891, + 0.002638617, + 0.0, + 0.0 +]; + +var P5 = [ + -0.0167431005, + -0.0011295144, + 0.0010562886, + 0.0002093863, + 0.0000149625, + 0.0000004497, + 0.0000000046, + -2.8112874e-14, + 9.9055710e-17 +]; +var Q5 = [ + 1.0, + 0.59142934, + 0.13815187, + 0.016074609, + 0.0009640118, + 0.0000275335, + 0.0000002822, + 0.0, + 0.0 +]; + +// Header to add to output files: +var header = licenseHeader( 'Apache-2.0', 'js', { + 'year': currentYear(), + 'copyright': 'The Stdlib Authors' +}); +header += '\n/* This is a generated file. Do not edit directly. */\n'; + + +// FUNCTIONS // + +/** +* Inserts a compiled function into file content. +* +* @private +* @param {string} text - source content +* @param {string} id - function identifier +* @param {string} str - function string +* @returns {string} updated content +*/ +function insert( text, id, str ) { + var before; + var after; + var begin; + var end; + + begin = '// BEGIN: '+id; + end = '// END: '+id; + + before = substringBefore( text, begin ); + after = substringAfter( text, end ); + + return format( '%s// BEGIN: %s\n\n%s\n%s%s', before, id, str, end, after ); +} + + +// MAIN // + +/** +* Main execution sequence. +* +* @private +*/ +function main() { + var fpath; + var copts; + var opts; + var file; + var str; + + opts = { + 'encoding': 'utf8', + 'dtype': 'float32' + }; + + fpath = resolve( __dirname, '..', 'lib', 'rational_p1q1.js' ); + str = header + compile( P1, Q1, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p2q2.js' ); + str = header + compile( P2, Q2, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p3q3.js' ); + str = header + compile( P3, Q3, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p4q4.js' ); + str = header + compile( P4, Q4, opts ); + writeFileSync( fpath, str, opts ); + + fpath = resolve( __dirname, '..', 'lib', 'rational_p5q5.js' ); + str = header + compile( P5, Q5, opts ); + writeFileSync( fpath, str, opts ); + + copts = { + 'dtype': 'float', + 'name': '' + }; + + fpath = resolve( __dirname, '..', 'src', 'main.c' ); + file = readFileSync( fpath, opts ); + + copts.name = 'rational_p1q1'; + str = compileC( P1, Q1, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p2q2'; + str = compileC( P2, Q2, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p3q3'; + str = compileC( P3, Q3, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p4q4'; + str = compileC( P4, Q4, copts ); + file = insert( file, copts.name, str ); + + copts.name = 'rational_p5q5'; + str = compileC( P5, Q5, copts ); + file = insert( file, copts.name, str ); + + writeFileSync( fpath, file, opts ); +} + +main(); diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/Makefile new file mode 100644 index 000000000000..2caf905cedbe --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/Makefile @@ -0,0 +1,70 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#/ + +# VARIABLES # + +ifndef VERBOSE + QUIET := @ +else + QUIET := +endif + +# Determine the OS ([1][1], [2][2]). +# +# [1]: https://en.wikipedia.org/wiki/Uname#Examples +# [2]: http://stackoverflow.com/a/27776822/2225624 +OS ?= $(shell uname) +ifneq (, $(findstring MINGW,$(OS))) + OS := WINNT +else +ifneq (, $(findstring MSYS,$(OS))) + OS := WINNT +else +ifneq (, $(findstring CYGWIN,$(OS))) + OS := WINNT +else +ifneq (, $(findstring Windows_NT,$(OS))) + OS := WINNT +endif +endif +endif +endif + + +# RULES # + +#/ +# Removes generated files for building an add-on. +# +# @example +# make clean-addon +#/ +clean-addon: + $(QUIET) -rm -f *.o *.node + +.PHONY: clean-addon + +#/ +# Removes generated files. +# +# @example +# make clean +#/ +clean: clean-addon + +.PHONY: clean diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/addon.c new file mode 100644 index 000000000000..7cb9317eea00 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/addon.c @@ -0,0 +1,22 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +#include "stdlib/math/base/special/erfcinvf.h" +#include "stdlib/math/base/napi/unary.h" + +STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_erfcinvf ) diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/main.c b/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/main.c new file mode 100644 index 000000000000..25ec9cba4c9e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/src/main.c @@ -0,0 +1,405 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +* +* +* ## Notice +* +* The original C++ code and copyright notice are from the [Boost library]{@link http://www.boost.org/doc/libs/1_81_0/boost/math/special_functions/detail/erf_inv.hpp}. The erfcinvf implementation follows the inverse error function implementation, but has been adapted for single-precision floating-point numbers and modified according to project conventions. +* +* ```text +* (C) Copyright John Maddock 2006. +* +* Use, modification and distribution are subject to the +* Boost Software License, Version 1.0. (See accompanying file +* LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt) +* ``` +*/ + +#include "stdlib/math/base/special/erfcinvf.h" +#include "stdlib/math/base/assert/is_nanf.h" +#include "stdlib/math/base/special/sqrtf.h" +#include "stdlib/math/base/special/lnf.h" +#include "stdlib/constants/float32/pinf.h" +#include "stdlib/constants/float32/ninf.h" +#include + +static const float Y1 = 8.91314744949340820313e-2f; +static const float Y2 = 2.249481201171875f; +static const float Y3 = 8.07220458984375e-1f; +static const float Y4 = 9.3995571136474609375e-1f; +static const float Y5 = 9.8362827301025390625e-1f; + +/* Begin auto-generated functions. The following functions are auto-generated. Do not edit directly. */ + +// BEGIN: rational_p1q1 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p1q1( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.00050878195f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.00050878195f + (x * (-0.0083687482f + (x * (0.033480663f + (x * (-0.012692615f + (x * (-0.036563797f + (x * (0.021987868f + (x * (0.0082268787f + (x * (-0.0053877297f + (x * (0.0f + (x * 0.0f))))))))))))))))); + s2 = 1.0f + (x * (-0.97000504f + (x * (-1.5657455f + (x * (1.5622156f + (x * (0.6622884f + (x * (-0.71228902f + (x * (-0.052739638f + (x * (0.079528369f + (x * (-0.0023339376f + (x * 0.00088621639f))))))))))))))))); + } else { + ix = 1.0f / x; + s1 = 0.0f + (ix * (0.0f + (ix * (-0.0053877297f + (ix * (0.0082268787f + (ix * (0.021987868f + (ix * (-0.036563797f + (ix * (-0.012692615f + (ix * (0.033480663f + (ix * (-0.0083687482f + (ix * -0.00050878195f))))))))))))))))); + s2 = 0.00088621639f + (ix * (-0.0023339376f + (ix * (0.079528369f + (ix * (-0.052739638f + (ix * (-0.71228902f + (ix * (0.6622884f + (ix * (1.5622156f + (ix * (-1.5657455f + (ix * (-0.97000504f + (ix * 1.0f))))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p1q1 + +// BEGIN: rational_p2q2 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p2q2( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.2024335f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.2024335f + (x * (0.1052647f + (x * (8.3705033f + (x * (17.6447298f + (x * (-18.8510648f + (x * (-44.6382324f + (x * (17.445386f + (x * (21.1294655f + (x * -3.6719225f))))))))))))))); + s2 = 1.0f + (x * (6.2426412f + (x * (3.9713438f + (x * (-28.660818f + (x * (-20.1432635f + (x * (48.5609213f + (x * (10.8268667f + (x * (-22.6436933f + (x * 1.7211477f))))))))))))))); + } else { + ix = 1.0f / x; + s1 = -3.6719225f + (ix * (21.1294655f + (ix * (17.445386f + (ix * (-44.6382324f + (ix * (-18.8510648f + (ix * (17.6447298f + (ix * (8.3705033f + (ix * (0.1052647f + (ix * -0.2024335f))))))))))))))); + s2 = 1.7211477f + (ix * (-22.6436933f + (ix * (10.8268667f + (ix * (48.5609213f + (ix * (-20.1432635f + (ix * (-28.660818f + (ix * (3.9713438f + (ix * (6.2426412f + (ix * 1.0f))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p2q2 + +// BEGIN: rational_p3q3 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p3q3( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.1311028f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.1311028f + (x * (-0.163794f + (x * (0.1170302f + (x * (0.3870797f + (x * (0.3377855f + (x * (0.1428695f + (x * (0.02901579f + (x * (0.00214559f + (x * (-6.794656e-7f + (x * (2.852253e-8f + (x * -6.8115e-10f))))))))))))))))))); + s2 = 1.0f + (x * (3.466254f + (x * (5.381683f + (x * (4.778466f + (x * (2.593019f + (x * (0.8488543f + (x * (0.1522643f + (x * (0.01105924f + (x * (0.0f + (x * (0.0f + (x * 0.0f))))))))))))))))))); + } else { + ix = 1.0f / x; + s1 = -6.8115e-10f + (ix * (2.852253e-8f + (ix * (-6.794656e-7f + (ix * (0.00214559f + (ix * (0.02901579f + (ix * (0.1428695f + (ix * (0.3377855f + (ix * (0.3870797f + (ix * (0.1170302f + (ix * (-0.163794f + (ix * -0.1311028f))))))))))))))))))); + s2 = 0.0f + (ix * (0.0f + (ix * (0.0f + (ix * (0.01105924f + (ix * (0.1522643f + (ix * (0.8488543f + (ix * (2.593019f + (ix * (4.778466f + (ix * (5.381683f + (ix * (3.466254f + (ix * 1.0f))))))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p3q3 + +// BEGIN: rational_p4q4 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p4q4( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.035035375f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.035035375f + (x * (-0.0022242649f + (x * (0.01855733f + (x * (0.0095080472f + (x * (0.001871235f + (x * (0.00015754459f + (x * (4.6046991e-10f + (x * 2.6633921e-12f))))))))))))); + s2 = 1.0f + (x * (1.365335f + (x * (0.7620592f + (x * (0.2200911f + (x * (0.03415891f + (x * (0.002638617f + (x * (0.0f + (x * 0.0f))))))))))))); + } else { + ix = 1.0f / x; + s1 = 2.6633921e-12f + (ix * (4.6046991e-10f + (ix * (0.00015754459f + (ix * (0.001871235f + (ix * (0.0095080472f + (ix * (0.01855733f + (ix * (-0.0022242649f + (ix * -0.035035375f))))))))))))); + s2 = 0.0f + (ix * (0.0f + (ix * (0.002638617f + (ix * (0.03415891f + (ix * (0.2200911f + (ix * (0.7620592f + (ix * (1.365335f + (ix * 1.0f))))))))))))); + } + return s1 / s2; +} + +// END: rational_p4q4 + +// BEGIN: rational_p5q5 + +/** +* Evaluates a rational function (i.e., the ratio of two polynomials described by the coefficients stored in \\(P\\) and \\(Q\\)). +* +* ## Notes +* +* - Coefficients should be sorted in ascending degree. +* - The implementation uses [Horner's rule][horners-method] for efficient computation. +* +* [horners-method]: https://en.wikipedia.org/wiki/Horner%27s_method +* +* @param x value at which to evaluate the rational function +* @return evaluated rational function +*/ +static float rational_p5q5( const float x ) { + float ax; + float ix; + float s1; + float s2; + if ( x == 0.0f ) { + return -0.0167431005f; + } + if ( x < 0.0f ) { + ax = -x; + } else { + ax = x; + } + if ( ax <= 1.0f ) { + s1 = -0.0167431005f + (x * (-0.0011295144f + (x * (0.0010562886f + (x * (0.0002093863f + (x * (0.0000149625f + (x * (4.497e-7f + (x * (4.6e-9f + (x * (-2.8112874e-14f + (x * 9.905571e-17f))))))))))))))); + s2 = 1.0f + (x * (0.59142934f + (x * (0.13815187f + (x * (0.016074609f + (x * (0.0009640118f + (x * (0.0000275335f + (x * (2.822e-7f + (x * (0.0f + (x * 0.0f))))))))))))))); + } else { + ix = 1.0f / x; + s1 = 9.905571e-17f + (ix * (-2.8112874e-14f + (ix * (4.6e-9f + (ix * (4.497e-7f + (ix * (0.0000149625f + (ix * (0.0002093863f + (ix * (0.0010562886f + (ix * (-0.0011295144f + (ix * -0.0167431005f))))))))))))))); + s2 = 0.0f + (ix * (0.0f + (ix * (2.822e-7f + (ix * (0.0000275335f + (ix * (0.0009640118f + (ix * (0.016074609f + (ix * (0.13815187f + (ix * (0.59142934f + (ix * 1.0f))))))))))))))); + } + return s1 / s2; +} + +// END: rational_p5q5 + +/* End auto-generated functions. */ + +/** +* Evaluates the inverse complementary error function for a single-precision floating-point number. +* +* ## Method +* +* 1. For \\(|x| \leq 0.5\\), we evaluate the inverse error function using rational approximation +* +* ```tex +* \operatorname{erf^{-1}}(x) = x(x+10)(\mathrm{Y} + \operatorname{R}(x)) +* ``` +* +* +* +* Max error \\(2.001849\mbox{e-}18\\). Maximum deviation found (error term at infinite precision) \\(8.030\mbox{e-}21\\). +* +* +* +* 2. For \\(0.5 > 1-|x| \geq 0\\), we evaluate the inverse error function using rational approximation +* +* ```tex +* \operatorname{erf^{-1}} = \frac{\sqrt{-2 \cdot \ln(1-x)}}{\mathrm{Y} + \operatorname{R}(1-x)} +* ``` +* +* where \\(Y\\) is a constant, and \\(\operatorname{R}(q)\\) is optimized for a low absolute error compared to \\(Y\\). +* +* +* +* Max error \\(7.403372\mbox{e-}17\\). Maximum deviation found (error term at infinite precision) \\(4.811\mbox{e-}20\\). +* +* +* +* 3. For \\(1-|x| < 0.25\\), we have a series of rational approximations all of the general form +* +* ```tex +* p = \sqrt{-\ln(1-x)} +* ``` +* +* Accordingly, the result is given by +* +* ```tex +* \operatorname{erf^{-1}}(x) = p(\mathrm{Y} + \operatorname{R}(p-B)) +* ``` +* +* where \\(Y\\) is a constant, \\(B\\) is the lowest value of \\(p\\) for which the approximation is valid, and \\(\operatorname{R}(x-B)\\) is optimized for a low absolute error compared to \\(Y\\). +* +* +* +* Almost all code will only go through the first or maybe second approximation. After that we are dealing with very small input values. +* +* - If \\(p < 3\\), max error \\(1.089051\mbox{e-}20\\). +* - If \\(p < 6\\), max error \\(8.389174\mbox{e-}21\\). +* - If \\(p < 18\\), max error \\(1.481312\mbox{e-}19\\). +* - If \\(p < 44\\), max error \\(5.697761\mbox{e-}20\\). +* - If \\(p \geq 44\\), max error \\(1.279746\mbox{e-}20\\). +* +* +* +* ## Special Cases +* +* ```tex +* \begin{align*} +* \operatorname{erfc^{-1}}(\mathrm{NaN}) &= \mathrm{NaN} \\ +* \operatorname{erfc^{-1}}(0) &= \infty \\ +* \operatorname{erfc^{-1}}(2) &= -\infty \\ +* \operatorname{erfc^{-1}}(1) &= 0 \\ +* \operatorname{erfc^{-1}}(x) &= \mathrm{NaN} \text{ for } x < 0 \text{ or } x > 2 +* \end{align*} +* ``` +* +* ## Notes +* +* - Note that \\(\operatorname{erfc^{-1}}(1-z) = \operatorname{erf^{-1}}(z)\\). +* - The hexadecimal values included in the source code are the intended ones for the used constants. Decimal values may be used, provided that the compiler will convert from decimal to binary accurately enough to produce the intended hexadecimal values. +* +* @param x input value +* @return output value +* +* @example +* float out = stdlib_base_erfcinvf( 0.5f ); +* // returns ~0.4769f +*/ +float stdlib_base_erfcinvf( const float x ) { + float sign; + float xc; + float qs; + float q; + float g; + float r; + + // Special case: NaN + if ( stdlib_base_is_nanf( x ) ) { + return 0.0f / 0.0f; // NaN + } + // Special case: 0 + if ( x == 0.0f ) { + return STDLIB_CONSTANT_FLOAT32_PINF; + } + // Special case: 2 + if ( x == 2.0f ) { + return STDLIB_CONSTANT_FLOAT32_NINF; + } + // Special case: 1 + if ( x == 1.0f ) { + return 0.0f; + } + // Special case: x < 0 or x > 2 (range error) + if ( x > 2.0f || x < 0.0f ) { + return 0.0f / 0.0f; // NaN + } + // Argument reduction (reduce to interval [0,1]). If `x` is outside [0,1], we can take advantage of the complementary error function reflection formula: `erfc(-z) = 2 - erfc(z)`, by negating the result once finished. + if ( x > 1.0f ) { + sign = -1.0f; + q = 2.0f - x; + } else { + sign = 1.0f; + q = x; + } + xc = 1.0f - q; + + // x = 1-q <= 0.5 + if ( xc <= 0.5f ) { + g = xc * ( xc + 10.0f ); + r = rational_p1q1( xc ); + return sign * ( ( g * Y1 ) + ( g * r ) ); + } + // q >= 0.25 + if ( q >= 0.25f ) { + g = stdlib_base_sqrtf( -2.0f * stdlib_base_lnf( q ) ); + q -= 0.25f; + r = rational_p2q2( q ); + return sign * ( g / ( Y2 + r ) ); + } + q = stdlib_base_sqrtf( -stdlib_base_lnf( q ) ); + + // q < 3 + if ( q < 3.0f ) { + qs = q - 1.125f; + r = rational_p3q3( qs ); + return sign * ( ( Y3 * q ) + ( r * q ) ); + } + // q < 6 + if ( q < 6.0f ) { + qs = q - 3.0f; + r = rational_p4q4( qs ); + return sign * ( ( Y4 * q ) + ( r * q ) ); + } + // q < 18 + qs = q - 6.0f; + r = rational_p5q5( qs ); + return sign * ( ( Y5 * q ) + ( r * q ) ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000000..06bfe7391215 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/REQUIRE @@ -0,0 +1,3 @@ +julia 1.5 +JSON 0.21 +SpecialFunctions 0.10.3 diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/runner.jl new file mode 100644 index 000000000000..392ab147b715 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/runner.jl @@ -0,0 +1,77 @@ +#!/usr/bin/env julia +# +# @license Apache-2.0 +# +# Copyright (c) 2026 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#!/usr/bin/env julia + +import JSON +using SpecialFunctions + +function gen(x, filepath) + y = Array{Float32}(undef, length(x)) + for i in eachindex(x) + y[i] = Float32(SpecialFunctions.erfcinv(Float64(x[i]))) + end + + data = Dict([ + ("x", x), + ("expected", y) + ]) + + outfile = open(filepath, "w") + write(outfile, JSON.json(data)) + write(outfile, "\n") + close(outfile) +end + +file = @__FILE__ +dir = dirname(file) + +# 0.5 <= x <= 1.5 +x = range(Float32(0.5), stop=Float32(1.5), length=3000) +out = joinpath(dir, "x_0.5_1.5.json") +gen(x, out) + +# 0.25 < 2-x < 0.5 +x = range(Float32(1.5), stop=Float32(1.75), length=500) +out = joinpath(dir, "x_1.5_1.75.json") +gen(x, out) + +# 0.25 < x < 0.5 +x = range(Float32(0.25), stop=Float32(0.5), length=500) +out = joinpath(dir, "x_0.25_0.5.json") +gen(x, out) + +# 0.25 < 2-x < 0.00012340980408664937 +x = range(Float32(1.75), stop=Float32(1.9998), length=500) +out = joinpath(dir, "x_1.75_1.9998.json") +gen(x, out) + +# 0.00012340980408664937 < x < 0.25 +x = range(Float32(0.0002), stop=Float32(0.25), length=500) +out = joinpath(dir, "x_0.0002_0.25.json") +gen(x, out) + +# 0.00012340980408664937 < 2-x < 2.220446049250313e-16 +x = range(Float32(1.9998), stop=Float32(1.99999994f0), length=500) +out = joinpath(dir, "x_1.9998_1.9999..8.json") +gen(x, out) + +# 2.220446049250313e-16 < 2-x < 0 +x = range(Float32(1.9999999f0), stop=Float32(1.99999994f0), length=500) +out = joinpath(dir, "x_1.9999..8_2.json") +gen(x, out) diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.0002_0.25.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.0002_0.25.json new file mode 100644 index 000000000000..7e88c24939c6 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.0002_0.25.json @@ -0,0 +1 @@ +{"expected":[2.6297417,2.396628,2.2900321,2.2188091,2.1647983,2.1210644,2.0841932,2.0522437,2.0240037,1.9986644,1.9756579,1.95457,1.9350893,1.9169751,1.9000378,1.8841251,1.869113,1.8548989,1.8413969,1.8285347,1.8162504,1.8044912,1.7932106,1.7823688,1.7719305,1.7618645,1.7521435,1.7427427,1.7336402,1.7248162,1.7162529,1.7079343,1.6998454,1.6919731,1.684305,1.67683,1.6695379,1.6624192,1.655465,1.6486673,1.6420187,1.6355121,1.6291412,1.6228998,1.6167824,1.6107836,1.6048986,1.5991226,1.5934515,1.587881,1.5824074,1.577027,1.5717362,1.5665321,1.5614116,1.5563716,1.5514094,1.5465225,1.5417084,1.5369647,1.5322891,1.5276796,1.5231341,1.5186508,1.5142276,1.5098629,1.505555,1.5013022,1.4971031,1.4929562,1.4888599,1.484813,1.4808141,1.4768621,1.4729557,1.4690937,1.465275,1.4614986,1.4577634,1.4540685,1.4504129,1.4467956,1.4432158,1.4396726,1.4361652,1.4326928,1.4292545,1.4258498,1.4224777,1.4191378,1.4158292,1.4125513,1.4093034,1.406085,1.4028956,1.3997344,1.3966008,1.3934946,1.390415,1.3873615,1.3843337,1.3813311,1.3783531,1.3753994,1.3724695,1.369563,1.3666794,1.3638184,1.3609796,1.3581625,1.3553668,1.3525921,1.3498381,1.3471044,1.3443907,1.3416967,1.339022,1.3363664,1.3337294,1.3311108,1.3285105,1.3259279,1.323363,1.3208152,1.3182845,1.3157706,1.3132733,1.3107922,1.3083271,1.3058779,1.3034441,1.3010259,1.2986226,1.2962343,1.2938607,1.2915015,1.2891567,1.2868259,1.2845091,1.2822058,1.2799163,1.27764,1.2753768,1.2731267,1.2708894,1.2686647,1.2664526,1.2642528,1.262065,1.2598894,1.2577256,1.2555735,1.253433,1.2513038,1.249186,1.2470794,1.2449838,1.242899,1.2408249,1.2387615,1.2367086,1.2346661,1.2326337,1.2306116,1.2285994,1.2265972,1.2246047,1.222622,1.2206488,1.218685,1.2167306,1.2147855,1.2128495,1.2109225,1.2090045,1.2070954,1.205195,1.2033032,1.2014201,1.1995454,1.1976792,1.1958212,1.1939714,1.1921299,1.1902963,1.1884707,1.186653,1.1848431,1.1830409,1.1812464,1.1794595,1.17768,1.175908,1.1741433,1.1723859,1.1706358,1.1688927,1.1671568,1.1654279,1.163706,1.1619908,1.1602825,1.1585809,1.156886,1.1551977,1.1535159,1.1518408,1.150172,1.1485096,1.1468536,1.1452037,1.1435602,1.1419227,1.1402915,1.1386662,1.1370468,1.1354334,1.133826,1.1322243,1.1306286,1.1290385,1.127454,1.1258752,1.124302,1.1227344,1.1211723,1.1196157,1.1180644,1.1165185,1.1149778,1.1134425,1.1119125,1.1103876,1.1088679,1.1073532,1.1058437,1.104339,1.1028395,1.1013448,1.0998552,1.0983703,1.0968902,1.095415,1.0939444,1.0924788,1.0910176,1.0895612,1.0881094,1.086662,1.0852194,1.0837811,1.0823474,1.080918,1.079493,1.0780725,1.0766563,1.0752444,1.0738368,1.0724335,1.0710342,1.0696392,1.0682484,1.0668616,1.065479,1.0641005,1.0627259,1.0613554,1.0599887,1.0586262,1.0572675,1.0559127,1.0545617,1.0532147,1.0518714,1.0505319,1.0491961,1.0478641,1.0465358,1.0452112,1.0438902,1.0425729,1.0412592,1.039949,1.0386425,1.0373394,1.03604,1.0347439,1.0334513,1.0321622,1.0308765,1.0295942,1.0283153,1.0270398,1.0257674,1.0244986,1.0232329,1.0219705,1.0207114,1.0194556,1.0182029,1.0169533,1.015707,1.0144639,1.0132238,1.0119869,1.010753,1.0095222,1.0082945,1.0070698,1.0058482,1.0046295,1.0034137,1.002201,1.0009912,0.9997843,0.9985803,0.9973792,0.99618095,0.9949856,0.9937931,0.9926033,0.9914164,0.9902323,0.9890509,0.98787236,0.9866965,0.98552334,0.9843529,0.9831852,0.9820201,0.9808577,0.97969794,0.9785408,0.97738624,0.9762343,0.975085,0.9739382,0.97279406,0.9716523,0.9705132,0.9693766,0.96824247,0.9671108,0.96598166,0.96485496,0.9637307,0.9626088,0.9614894,0.9603724,0.9592578,0.95814556,0.95703566,0.9559281,0.95482296,0.9537201,0.95261955,0.9515213,0.9504253,0.9493317,0.9482403,0.9471511,0.9460642,0.94497955,0.94389707,0.9428168,0.9417387,0.94066286,0.9395892,0.93851763,0.93744826,0.936381,0.9353159,0.9342529,0.933192,0.9321332,0.93107647,0.9300219,0.9289693,0.9279188,0.9268703,0.92582387,0.9247795,0.92373705,0.92269665,0.9216582,0.9206219,0.9195874,0.9185549,0.9175244,0.9164958,0.91546917,0.91444445,0.91342163,0.9124007,0.9113818,0.9103646,0.90934944,0.90833604,0.9073246,0.9063149,0.9053071,0.90430117,0.903297,0.90229475,0.90129423,0.9002955,0.8992986,0.8983035,0.89731014,0.89631855,0.8953287,0.89434063,0.8933543,0.89236975,0.89138687,0.8904057,0.8894263,0.88844854,0.8874725,0.88649815,0.88552547,0.8845545,0.88358516,0.8826175,0.88165146,0.88068706,0.8797243,0.8787632,0.8778037,0.87684584,0.87588954,0.87493485,0.8739818,0.87303025,0.8720804,0.871132,0.8701852,0.86924,0.8682963,0.8673542,0.8664136,0.8654745,0.86453694,0.86360097,0.8626664,0.86173344,0.8608019,0.85987186,0.85894334,0.8580163,0.8570907,0.8561666,0.8552439,0.85432273,0.853403,0.85248464,0.85156775,0.85065234,0.8497383,0.8488257,0.84791446,0.8470047,0.84609634,0.84518933,0.8442837,0.8433795,0.84247667,0.84157515,0.84067506,0.8397763,0.8388789,0.83798283,0.83708817,0.83619475,0.8353027,0.83441204,0.8335227,0.83263457,0.83174783,0.8308624,0.8299782,0.82909536,0.8282138,0.8273335,0.8264546,0.82557684,0.82470036,0.8238252,0.82295126,0.8220786,0.82120717,0.820337,0.819468,0.81860036,0.8177339,0.81686866,0.81600463,0.81514186,0.8142802,0.8134198],"x":[0.0002,0.0007006012,0.0012012024,0.0017018036,0.002202405,0.002703006,0.0032036072,0.0037042084,0.0042048097,0.004705411,0.005206012,0.0057066134,0.006207214,0.0067078155,0.0072084167,0.007709018,0.00820962,0.00871022,0.009210821,0.009711423,0.010212024,0.010712625,0.011213226,0.011713828,0.012214429,0.01271503,0.013215631,0.013716232,0.014216834,0.0147174345,0.015218036,0.015718637,0.016219238,0.01671984,0.017220441,0.017721042,0.018221643,0.018722244,0.019222846,0.019723447,0.020224048,0.020724649,0.021225251,0.021725852,0.022226453,0.022727054,0.023227654,0.023728257,0.024228858,0.024729459,0.02523006,0.025730662,0.026231263,0.026731864,0.027232464,0.027733067,0.028233668,0.028734269,0.02923487,0.02973547,0.030236073,0.030736674,0.031237274,0.031737875,0.032238476,0.032739077,0.033239678,0.033740282,0.034240883,0.034741484,0.035242084,0.035742685,0.036243286,0.036743887,0.037244488,0.03774509,0.038245693,0.038746294,0.039246894,0.039747495,0.040248096,0.040748697,0.041249298,0.0417499,0.042250503,0.042751104,0.043251704,0.043752305,0.044252906,0.044753507,0.045254108,0.04575471,0.04625531,0.046755914,0.047256514,0.047757115,0.048257716,0.048758317,0.049258918,0.04975952,0.05026012,0.05076072,0.051261324,0.051761925,0.052262526,0.052763127,0.053263728,0.05376433,0.05426493,0.05476553,0.05526613,0.055766735,0.056267336,0.056767937,0.057268538,0.05776914,0.05826974,0.05877034,0.05927094,0.05977154,0.060272146,0.060772747,0.061273348,0.06177395,0.06227455,0.06277515,0.063275754,0.06377635,0.064276956,0.06477755,0.06527816,0.065778755,0.06627936,0.066779956,0.06728056,0.067781165,0.06828176,0.06878237,0.069282964,0.06978357,0.070284165,0.07078477,0.071285374,0.07178597,0.072286576,0.07278717,0.07328778,0.073788375,0.07428898,0.074789576,0.07529018,0.075790785,0.07629138,0.07679199,0.077292584,0.07779319,0.078293785,0.07879439,0.07929499,0.07979559,0.080296196,0.08079679,0.0812974,0.081797995,0.0822986,0.082799196,0.0832998,0.0838004,0.084301,0.08480161,0.085302204,0.08580281,0.086303405,0.08680401,0.08730461,0.08780521,0.08830581,0.08880641,0.08930702,0.089807615,0.09030822,0.090808816,0.09130942,0.09181002,0.09231062,0.09281122,0.093311824,0.09381243,0.094313025,0.09481363,0.09531423,0.09581483,0.09631543,0.09681603,0.09731663,0.097817235,0.09831784,0.098818436,0.09931904,0.09981964,0.10032024,0.10082084,0.101321444,0.10182204,0.102322645,0.10282325,0.10332385,0.10382445,0.10432505,0.10482565,0.10532625,0.105826855,0.10632745,0.10682806,0.10732866,0.10782926,0.10832986,0.10883046,0.109331064,0.10983166,0.110332265,0.11083286,0.11133347,0.11183407,0.11233467,0.11283527,0.11333587,0.113836475,0.11433707,0.11483768,0.11533827,0.11583888,0.11633948,0.11684008,0.117340684,0.11784128,0.118341886,0.11884248,0.11934309,0.119843684,0.12034429,0.12084489,0.12134549,0.121846095,0.12234669,0.1228473,0.12334789,0.1238485,0.124349095,0.1248497,0.1253503,0.1258509,0.1263515,0.12685211,0.1273527,0.1278533,0.12835391,0.12885451,0.1293551,0.1298557,0.13035631,0.13085692,0.13135752,0.13185811,0.13235871,0.13285932,0.13335992,0.13386053,0.13436112,0.13486172,0.13536233,0.13586293,0.13636352,0.13686413,0.13736473,0.13786533,0.13836594,0.13886653,0.13936713,0.13986774,0.14036834,0.14086893,0.14136954,0.14187014,0.14237075,0.14287135,0.14337194,0.14387254,0.14437315,0.14487375,0.14537434,0.14587495,0.14637555,0.14687616,0.14737676,0.14787735,0.14837795,0.14887856,0.14937916,0.14987975,0.15038036,0.15088096,0.15138157,0.15188217,0.15238276,0.15288337,0.15338397,0.15388457,0.15438516,0.15488577,0.15538637,0.15588698,0.15638758,0.15688817,0.15738878,0.15788938,0.15838999,0.15889058,0.15939118,0.15989178,0.16039239,0.160893,0.16139358,0.16189419,0.16239479,0.1628954,0.16339599,0.16389659,0.1643972,0.1648978,0.1653984,0.165899,0.1663996,0.1669002,0.1674008,0.1679014,0.168402,0.1689026,0.16940321,0.16990381,0.1704044,0.17090501,0.17140561,0.17190622,0.17240681,0.17290741,0.17340802,0.17390862,0.17440923,0.17490982,0.17541042,0.17591102,0.17641163,0.17691222,0.17741282,0.17791343,0.17841403,0.17891464,0.17941523,0.17991583,0.18041644,0.18091704,0.18141763,0.18191823,0.18241884,0.18291944,0.18342005,0.18392064,0.18442124,0.18492185,0.18542245,0.18592304,0.18642364,0.18692425,0.18742485,0.18792546,0.18842605,0.18892665,0.18942726,0.18992786,0.19042845,0.19092906,0.19142966,0.19193026,0.19243087,0.19293146,0.19343206,0.19393267,0.19443327,0.19493386,0.19543447,0.19593507,0.19643568,0.19693628,0.19743687,0.19793747,0.19843808,0.19893868,0.19943927,0.19993988,0.20044048,0.20094109,0.20144169,0.20194228,0.20244288,0.20294349,0.2034441,0.20394468,0.20444529,0.20494589,0.2054465,0.2059471,0.20644769,0.2069483,0.2074489,0.2079495,0.2084501,0.2089507,0.2094513,0.2099519,0.21045251,0.2109531,0.2114537,0.21195431,0.21245492,0.2129555,0.21345611,0.21395671,0.21445732,0.21495792,0.21545851,0.21595912,0.21645972,0.21696033,0.21746092,0.21796152,0.21846212,0.21896273,0.21946333,0.21996392,0.22046453,0.22096513,0.22146574,0.22196633,0.22246693,0.22296754,0.22346814,0.22396874,0.22446933,0.22496994,0.22547054,0.22597115,0.22647174,0.22697234,0.22747295,0.22797355,0.22847416,0.22897474,0.22947535,0.22997595,0.23047656,0.23097715,0.23147775,0.23197836,0.23247896,0.23297957,0.23348016,0.23398076,0.23448136,0.23498197,0.23548256,0.23598316,0.23648377,0.23698437,0.23748498,0.23798557,0.23848617,0.23898678,0.23948738,0.23998797,0.24048857,0.24098918,0.24148978,0.24199039,0.24249098,0.24299158,0.24349219,0.24399279,0.24449338,0.24499398,0.24549459,0.2459952,0.2464958,0.24699639,0.24749699,0.2479976,0.2484982,0.24899879,0.2494994,0.25]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.25_0.5.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.25_0.5.json new file mode 100644 index 000000000000..5691d21bb278 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.25_0.5.json @@ -0,0 +1 @@ +{"expected":[0.8134198,0.81255996,0.8117013,0.8108438,0.80998755,0.80913246,0.80827856,0.8074258,0.8065742,0.8057238,0.8048746,0.80402654,0.8031796,0.80233383,0.8014892,0.8006457,0.79980344,0.7989622,0.7981221,0.7972832,0.7964453,0.7956086,0.794773,0.7939385,0.7931051,0.7922728,0.7914416,0.7906115,0.7897825,0.78895456,0.7881277,0.78730196,0.7864772,0.7856536,0.78483105,0.7840095,0.78318906,0.7823697,0.7815513,0.780734,0.7799177,0.77910256,0.77828836,0.7774752,0.77666306,0.7758519,0.7750418,0.7742328,0.77342474,0.77261764,0.7718116,0.7710065,0.7702025,0.76939946,0.7685974,0.76779634,0.7669962,0.7661971,0.765399,0.7646018,0.7638056,0.76301044,0.76221615,0.7614229,0.7606305,0.7598392,0.7590487,0.75825924,0.75747067,0.75668305,0.7558964,0.7551107,0.75432587,0.753542,0.75275904,0.751977,0.7511959,0.75041574,0.7496365,0.7488581,0.7480806,0.7473041,0.7465284,0.74575365,0.7449798,0.74420685,0.7434347,0.7426635,0.7418932,0.74112374,0.74035525,0.73958755,0.73882073,0.73805475,0.73728967,0.7365254,0.7357621,0.7349996,0.7342379,0.7334771,0.73271716,0.73195803,0.7311998,0.73044235,0.7296858,0.72893,0.72817504,0.727421,0.72666776,0.7259153,0.72516364,0.72441286,0.72366285,0.7229137,0.72216535,0.7214178,0.720671,0.71992505,0.7191799,0.7184355,0.71769196,0.7169493,0.71620727,0.7154661,0.7147257,0.71398604,0.71324724,0.7125092,0.7117719,0.7110354,0.7102996,0.7095646,0.7088304,0.70809704,0.7073643,0.70663244,0.70590127,0.7051708,0.7044412,0.7037123,0.7029841,0.7022567,0.70153,0.70080405,0.70007885,0.6993544,0.6986307,0.6979077,0.6971854,0.6964639,0.695743,0.69502294,0.6943036,0.6935849,0.692867,0.69214976,0.6914332,0.6907174,0.6900023,0.6892879,0.6885742,0.6878612,0.6871489,0.6864373,0.68572646,0.6850162,0.6843067,0.68359786,0.6828897,0.68218225,0.6814755,0.6807694,0.68006396,0.6793592,0.67865515,0.67795175,0.677249,0.676547,0.67584556,0.67514485,0.67444474,0.67374533,0.67304665,0.67234856,0.6716511,0.6709543,0.67025816,0.6695627,0.6688679,0.6681737,0.6674801,0.6667872,0.66609496,0.6654033,0.6647123,0.66402197,0.6633322,0.66264313,0.66195464,0.6612668,0.6605796,0.65989304,0.65920705,0.6585217,0.657837,0.65715283,0.65646935,0.65578645,0.6551042,0.6544225,0.6537415,0.653061,0.6523811,0.6517019,0.65102327,0.6503452,0.64966774,0.64899087,0.64831465,0.647639,0.6469639,0.6462894,0.6456155,0.64494216,0.64426947,0.64359736,0.64292574,0.64225477,0.64158434,0.6409145,0.64024526,0.63957655,0.6389085,0.63824093,0.63757396,0.6369075,0.6362417,0.63557637,0.6349117,0.63424754,0.63358396,0.6329209,0.6322584,0.63159645,0.63093513,0.6302743,0.629614,0.6289543,0.62829506,0.62763643,0.6269784,0.62632084,0.6256638,0.62500733,0.6243514,0.623696,0.6230412,0.6223869,0.62173307,0.6210798,0.6204271,0.6197749,0.6191232,0.61847204,0.61782146,0.61717135,0.6165217,0.6158727,0.6152242,0.6145761,0.6139286,0.6132816,0.61263514,0.61198914,0.6113437,0.61069876,0.6100543,0.60941035,0.6087669,0.60812396,0.60748154,0.60683966,0.60619825,0.6055573,0.6049169,0.6042769,0.60363746,0.60299855,0.60236007,0.6017221,0.60108465,0.60044765,0.59981114,0.59917516,0.59853965,0.59790456,0.59727,0.59663594,0.5960023,0.5953692,0.5947366,0.5941044,0.59347266,0.59284145,0.5922107,0.59158045,0.5909506,0.59032124,0.58969235,0.58906394,0.588436,0.58780855,0.5871815,0.58655494,0.58592886,0.58530325,0.58467805,0.5840533,0.58342904,0.5828052,0.5821819,0.58155894,0.5809365,0.58031446,0.57969296,0.5790718,0.57845116,0.5778309,0.57721114,0.5765918,0.575973,0.5753545,0.5747365,0.5741189,0.57350177,0.57288504,0.57226884,0.571653,0.5710376,0.57042265,0.56980807,0.56919396,0.5685803,0.5679671,0.56735426,0.5667419,0.5661299,0.5655184,0.56490725,0.56429654,0.56368625,0.56307644,0.562467,0.56185794,0.5612493,0.56064117,0.5600334,0.559426,0.55881906,0.5582125,0.5576064,0.5570007,0.55639535,0.5557905,0.555186,0.5545819,0.5539782,0.55337495,0.55277205,0.55216956,0.5515675,0.5509658,0.5503645,0.5497637,0.54916316,0.54856306,0.5479634,0.54736406,0.54676515,0.54616666,0.5455685,0.5449708,0.54437345,0.54377645,0.5431799,0.5425837,0.54198796,0.5413925,0.5407975,0.54020286,0.53960854,0.5390147,0.5384212,0.5378281,0.5372353,0.5366429,0.5360509,0.53545934,0.5348681,0.5342772,0.5336867,0.5330966,0.5325068,0.53191745,0.53132844,0.5307398,0.53015155,0.5295636,0.528976,0.52838886,0.52780205,0.5272156,0.5266295,0.5260438,0.5254584,0.5248734,0.5242888,0.52370447,0.5231205,0.52253693,0.5219537,0.5213708,0.5207884,0.5202062,0.5196244,0.5190429,0.5184618,0.51788104,0.51730067,0.5167206,0.5161409,0.5155615,0.5149825,0.5144038,0.5138255,0.51324755,0.5126699,0.5120926,0.5115156,0.510939,0.51036274,0.5097868,0.5092112,0.50863594,0.508061,0.5074864,0.5069121,0.50633824,0.50576466,0.5051914,0.50461847,0.50404584,0.5034736,0.5029017,0.50233006,0.50175875,0.5011878,0.5006172,0.50004685,0.49947694,0.49890727,0.49833795,0.49776894,0.49720025,0.4966319,0.49606386,0.49549615,0.49492875,0.49436167,0.4937949,0.49322844,0.4926623,0.4920965,0.491531,0.4909658,0.49040094,0.4898364,0.48927215,0.48870823,0.4881446,0.48758128,0.48701826,0.48645556,0.48589316,0.48533112,0.48476934,0.48420787,0.4836467,0.48308584,0.48252526,0.48196504,0.48140508,0.48084542,0.4802861,0.47972703,0.47916827,0.47860986,0.4780517,0.47749382,0.47693628],"x":[0.25,0.250501,0.251002,0.25150302,0.252004,0.252505,0.253006,0.25350702,0.25400802,0.25450903,0.25501,0.25551102,0.25601202,0.25651303,0.25701404,0.25751504,0.25801602,0.25851703,0.25901803,0.25951904,0.26002005,0.26052105,0.26102203,0.26152304,0.26202404,0.26252505,0.26302606,0.26352707,0.26402804,0.26452905,0.26503006,0.26553106,0.26603207,0.26653308,0.26703405,0.26753506,0.26803607,0.26853707,0.26903808,0.2695391,0.2700401,0.27054107,0.27104208,0.2715431,0.2720441,0.2725451,0.2730461,0.27354708,0.2740481,0.2745491,0.2750501,0.2755511,0.27605212,0.2765531,0.2770541,0.2775551,0.27805611,0.27855712,0.27905813,0.2795591,0.2800601,0.28056112,0.28106213,0.28156313,0.28206414,0.28256512,0.28306612,0.28356713,0.28406814,0.28456914,0.28507015,0.28557113,0.28607213,0.28657314,0.28707415,0.28757516,0.28807616,0.28857717,0.28907815,0.28957915,0.29008016,0.29058117,0.29108217,0.29158318,0.29208416,0.29258516,0.29308617,0.29358718,0.29408818,0.2945892,0.29509017,0.29559118,0.29609218,0.2965932,0.2970942,0.2975952,0.29809618,0.2985972,0.2990982,0.2995992,0.3001002,0.3006012,0.3011022,0.3016032,0.3021042,0.3026052,0.30310622,0.30360723,0.3041082,0.3046092,0.30511022,0.30561122,0.30611223,0.30661324,0.3071142,0.30761522,0.30811623,0.30861723,0.30911824,0.30961925,0.31012025,0.31062123,0.31112224,0.31162325,0.31212425,0.31262526,0.31312627,0.31362724,0.31412825,0.31462926,0.31513026,0.31563127,0.31613228,0.31663325,0.31713426,0.31763527,0.31813627,0.31863728,0.3191383,0.31963927,0.32014027,0.32064128,0.3211423,0.3216433,0.3221443,0.32264528,0.32314628,0.3236473,0.3241483,0.3246493,0.3251503,0.3256513,0.3261523,0.3266533,0.3271543,0.32765532,0.32815632,0.32865733,0.3291583,0.3296593,0.33016032,0.33066133,0.33116233,0.33166334,0.33216432,0.33266532,0.33316633,0.33366734,0.33416834,0.33466935,0.33517033,0.33567134,0.33617234,0.33667335,0.33717436,0.33767536,0.33817634,0.33867735,0.33917835,0.33967936,0.34018037,0.34068137,0.34118235,0.34168336,0.34218436,0.34268537,0.34318638,0.3436874,0.34418836,0.34468937,0.34519038,0.34569138,0.3461924,0.3466934,0.3471944,0.34769538,0.3481964,0.3486974,0.3491984,0.3496994,0.3502004,0.3507014,0.3512024,0.3517034,0.3522044,0.35270542,0.35320643,0.3537074,0.3542084,0.35470942,0.35521042,0.35571143,0.35621244,0.3567134,0.35721442,0.35771543,0.35821643,0.35871744,0.35921845,0.35971943,0.36022043,0.36072144,0.36122245,0.36172345,0.36222446,0.36272544,0.36322644,0.36372745,0.36422846,0.36472946,0.36523047,0.36573148,0.36623245,0.36673346,0.36723447,0.36773548,0.36823648,0.3687375,0.36923847,0.36973947,0.37024048,0.3707415,0.3712425,0.3717435,0.37224448,0.37274548,0.3732465,0.3737475,0.3742485,0.3747495,0.3752505,0.3757515,0.3762525,0.3767535,0.37725452,0.37775552,0.3782565,0.3787575,0.3792585,0.37975952,0.38026053,0.38076153,0.3812625,0.38176352,0.38226452,0.38276553,0.38326654,0.38376755,0.38426852,0.38476953,0.38527054,0.38577154,0.38627255,0.38677356,0.38727456,0.38777554,0.38827655,0.38877755,0.38927856,0.38977957,0.39028057,0.39078155,0.39128256,0.39178357,0.39228457,0.39278558,0.3932866,0.39378756,0.39428857,0.39478958,0.39529058,0.3957916,0.3962926,0.39679357,0.39729458,0.3977956,0.3982966,0.3987976,0.3992986,0.3997996,0.4003006,0.4008016,0.4013026,0.4018036,0.40230462,0.4028056,0.4033066,0.4038076,0.40430862,0.40480962,0.40531063,0.40581164,0.4063126,0.40681362,0.40731463,0.40781564,0.40831664,0.40881765,0.40931863,0.40981963,0.41032064,0.41082165,0.41132265,0.41182366,0.41232464,0.41282564,0.41332665,0.41382766,0.41432866,0.41482967,0.41533065,0.41583166,0.41633266,0.41683367,0.41733468,0.41783568,0.41833666,0.41883767,0.41933867,0.41983968,0.4203407,0.4208417,0.42134267,0.42184368,0.42234468,0.4228457,0.4233467,0.4238477,0.4243487,0.4248497,0.4253507,0.4258517,0.4263527,0.42685372,0.42735472,0.4278557,0.4283567,0.4288577,0.42935872,0.42985973,0.43036073,0.4308617,0.43136272,0.43186373,0.43236473,0.43286574,0.43336675,0.43386772,0.43436873,0.43486974,0.43537074,0.43587175,0.43637276,0.43687373,0.43737474,0.43787575,0.43837675,0.43887776,0.43937877,0.43987975,0.44038075,0.44088176,0.44138277,0.44188377,0.44238478,0.4428858,0.44338676,0.44388777,0.44438878,0.44488978,0.4453908,0.4458918,0.44639277,0.44689378,0.4473948,0.4478958,0.4483968,0.4488978,0.4493988,0.4498998,0.4504008,0.4509018,0.4514028,0.45190382,0.4524048,0.4529058,0.4534068,0.45390782,0.45440882,0.45490983,0.4554108,0.45591182,0.45641282,0.45691383,0.45741484,0.45791584,0.45841682,0.45891783,0.45941883,0.45991984,0.46042085,0.46092185,0.46142283,0.46192384,0.46242484,0.46292585,0.46342686,0.46392787,0.46442887,0.46492985,0.46543086,0.46593186,0.46643287,0.46693388,0.46743488,0.46793586,0.46843687,0.46893787,0.46943888,0.4699399,0.4704409,0.47094187,0.47144288,0.47194389,0.4724449,0.4729459,0.4734469,0.47394788,0.4744489,0.4749499,0.4754509,0.4759519,0.47645292,0.4769539,0.4774549,0.4779559,0.4784569,0.47895792,0.47945893,0.4799599,0.4804609,0.48096192,0.48146293,0.48196393,0.48246494,0.48296595,0.48346692,0.48396793,0.48446894,0.48496994,0.48547095,0.48597196,0.48647293,0.48697394,0.48747495,0.48797596,0.48847696,0.48897797,0.48947895,0.48997995,0.49048096,0.49098197,0.49148297,0.49198398,0.49248496,0.49298596,0.49348697,0.49398798,0.49448898,0.49499,0.49549097,0.49599198,0.49649298,0.496994,0.497495,0.497996,0.49849698,0.498998,0.499499,0.5]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.5_1.5.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.5_1.5.json new file mode 100644 index 000000000000..1d9ad464f3b7 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_0.5_1.5.json @@ -0,0 +1 @@ +{"expected":[0.47693628,0.47656536,0.47619453,0.4758239,0.47545338,0.47508302,0.4747127,0.47434258,0.4739726,0.47360274,0.47323292,0.47286335,0.47249386,0.47212446,0.47175524,0.47138616,0.4710172,0.47064832,0.4702796,0.46991104,0.4695426,0.4691742,0.46880603,0.46843797,0.46807003,0.46770215,0.46733448,0.46696693,0.4665994,0.46623212,0.46586493,0.46549788,0.4651309,0.4647641,0.4643974,0.46403086,0.46366435,0.46329805,0.46293187,0.46256578,0.46219984,0.461834,0.46146834,0.46110272,0.4607373,0.46037197,0.46000677,0.45964164,0.4592767,0.45891187,0.45854712,0.45818254,0.45781806,0.45745373,0.45708945,0.45672536,0.45636138,0.45599753,0.45563373,0.45527014,0.45490664,0.45454326,0.45417997,0.45381683,0.4534538,0.45309088,0.4527281,0.45236543,0.4520029,0.45164043,0.45127812,0.45091596,0.4505539,0.4501919,0.44983006,0.44946837,0.4491067,0.44874525,0.4483839,0.44802263,0.44766146,0.44730046,0.4469396,0.4465788,0.44621807,0.44585755,0.44549713,0.44513682,0.44477656,0.4444165,0.44405654,0.44369662,0.4433369,0.44297728,0.44261777,0.44225833,0.44189906,0.4415399,0.44118086,0.44082186,0.44046304,0.44010434,0.4397457,0.4393872,0.43902886,0.4386706,0.43831238,0.43795437,0.43759644,0.43723866,0.4368809,0.43652332,0.43616584,0.43580842,0.43545118,0.43509406,0.43473703,0.43438005,0.43402326,0.43366656,0.43330997,0.43295345,0.4325971,0.43224084,0.4318847,0.4315286,0.4311727,0.4308169,0.4304611,0.4301055,0.42975003,0.42939466,0.42903933,0.42868418,0.4283291,0.42797416,0.42761928,0.42726454,0.42690992,0.42655534,0.42620093,0.42584664,0.42549244,0.4251383,0.4247843,0.42443043,0.42407668,0.42372295,0.4233694,0.42301595,0.42266256,0.4223093,0.42195618,0.42160314,0.42125016,0.42089733,0.42054462,0.42019203,0.41983947,0.41948706,0.41913477,0.41878256,0.41843042,0.41807845,0.41772658,0.41737473,0.41702306,0.41667148,0.41632003,0.4159686,0.41561732,0.41526616,0.4149151,0.4145641,0.41421324,0.4138625,0.41351178,0.41316125,0.4128108,0.41246045,0.41211015,0.41176,0.41140997,0.41106004,0.41071013,0.4103604,0.41001076,0.40966114,0.4093117,0.40896237,0.40861315,0.40826392,0.4079149,0.40756595,0.40721712,0.4068683,0.40651968,0.4061711,0.4058227,0.40547428,0.40512604,0.40477788,0.40442976,0.40408182,0.40373394,0.4033862,0.40303847,0.40269092,0.40234345,0.40199608,0.40164873,0.40130156,0.40095448,0.40060744,0.40026057,0.39991376,0.39956707,0.3992204,0.39887393,0.3985275,0.3981812,0.39783493,0.3974888,0.3971428,0.3967968,0.39645097,0.39610523,0.39575958,0.39541396,0.39506853,0.39472315,0.3943779,0.39403266,0.39368758,0.39334258,0.3929977,0.39265284,0.39230815,0.39196354,0.39161894,0.3912745,0.3909302,0.39058596,0.39024174,0.3898977,0.38955373,0.38920987,0.388866,0.38852233,0.38817874,0.38783517,0.38749176,0.38714844,0.3868052,0.386462,0.38611898,0.385776,0.38543314,0.38509032,0.38474762,0.38440505,0.38406253,0.38372007,0.38337773,0.3830355,0.3826933,0.38235125,0.38200927,0.3816674,0.38132554,0.38098386,0.38064224,0.38030073,0.37995923,0.3796179,0.37927663,0.37893543,0.37859434,0.37825334,0.37791246,0.37757158,0.37723085,0.3768902,0.37654966,0.37620914,0.37586877,0.37552845,0.3751882,0.3748481,0.37450805,0.37416813,0.3738282,0.37348843,0.37314874,0.37280914,0.37246957,0.37213016,0.37179083,0.37145156,0.37111235,0.37077326,0.37043425,0.37009528,0.36975646,0.36941773,0.36907905,0.3687404,0.36840194,0.36806354,0.36772522,0.3673869,0.36704877,0.3667107,0.36637264,0.36603475,0.36569694,0.3653592,0.3650215,0.36468393,0.36434644,0.36400902,0.36367166,0.36333442,0.36299726,0.36266014,0.36232316,0.36198625,0.36164942,0.36131263,0.36097595,0.3606394,0.3603029,0.35996643,0.35963008,0.35929382,0.35895765,0.3586215,0.35828552,0.35794958,0.35761368,0.3572779,0.35694224,0.3566066,0.35627103,0.3559356,0.35560024,0.35526493,0.3549297,0.35459456,0.35425952,0.35392448,0.3535896,0.3532548,0.35292006,0.35258535,0.35225078,0.35191628,0.35158187,0.3512475,0.35091323,0.35057905,0.3502449,0.34991089,0.34957695,0.34924307,0.34890923,0.34857553,0.3482419,0.34790835,0.3475748,0.3472414,0.3469081,0.34657484,0.34624162,0.34590852,0.3455755,0.3452425,0.34490964,0.34457687,0.34424415,0.34391147,0.3435789,0.34324643,0.34291402,0.34258163,0.3422494,0.34191722,0.34158504,0.341253,0.34092107,0.3405892,0.34025735,0.33992562,0.33959398,0.3392624,0.33893082,0.3385994,0.33826804,0.33793676,0.3376055,0.33727437,0.33694333,0.33661228,0.33628136,0.33595052,0.33561978,0.33528903,0.3349584,0.33462787,0.3342974,0.33396694,0.3336366,0.33330637,0.33297613,0.33264604,0.332316,0.33198604,0.3316561,0.33132628,0.33099654,0.33066687,0.3303372,0.33000767,0.32967824,0.32934877,0.32901946,0.32869023,0.32836106,0.3280319,0.32770288,0.32737392,0.32704502,0.32671615,0.3263874,0.32605875,0.32573014,0.32540154,0.32507306,0.32474467,0.3244163,0.32408804,0.32375985,0.32343176,0.32310364,0.32277566,0.32244778,0.32211992,0.3217921,0.32146442,0.32113677,0.32080916,0.32048166,0.32015425,0.3198269,0.31949955,0.31917235,0.31884518,0.3185181,0.31819105,0.3178641,0.31753722,0.31721035,0.31688362,0.31655693,0.31623033,0.31590375,0.31557727,0.31525087,0.31492454,0.3145982,0.31427202,0.31394586,0.3136198,0.31329376,0.3129678,0.31264195,0.3123161,0.31199035,0.31166467,0.31133908,0.3110135,0.31068802,0.3103626,0.31003726,0.30971193,0.30938673,0.3090616,0.30873644,0.30841142,0.30808648,0.3077616,0.30743673,0.30711198,0.30678728,0.30646268,0.30613804,0.30581355,0.30548912,0.3051647,0.3048404,0.30451617,0.30419198,0.30386782,0.30354378,0.3032198,0.30289587,0.30257195,0.30224818,0.30192444,0.30160078,0.30127713,0.3009536,0.30063012,0.30030665,0.2999833,0.29966,0.2993368,0.29901356,0.29869047,0.2983674,0.29804444,0.29772148,0.29739863,0.29707584,0.29675305,0.2964304,0.2961078,0.29578525,0.29546273,0.2951403,0.29481792,0.29449564,0.29417336,0.29385117,0.29352906,0.29320702,0.29288498,0.29256305,0.29224116,0.2919193,0.29159755,0.29127586,0.29095423,0.2906326,0.2903111,0.28998965,0.28966826,0.28934687,0.28902563,0.28870443,0.28838322,0.28806213,0.2877411,0.28742012,0.28709915,0.2867783,0.2864575,0.28613678,0.28581604,0.28549543,0.28517488,0.28485432,0.28453386,0.28421348,0.28389317,0.28357285,0.28325263,0.2829325,0.28261238,0.2822923,0.28197232,0.28165242,0.28133255,0.28101268,0.28069293,0.28037325,0.28005356,0.279734,0.27941447,0.27909502,0.27877557,0.2784562,0.27813694,0.2778177,0.27749845,0.27717933,0.27686027,0.27654123,0.27622226,0.27590337,0.27558455,0.2752657,0.274947,0.2746283,0.2743097,0.27399108,0.27367258,0.27335414,0.27303568,0.27271736,0.27239907,0.27208084,0.2717626,0.2714445,0.27112642,0.27080843,0.2704904,0.27017254,0.2698547,0.26953688,0.2692191,0.26890144,0.2685838,0.26826617,0.26794866,0.2676312,0.26731378,0.26699638,0.26667908,0.26636183,0.26604465,0.26572746,0.26541036,0.26509333,0.2647763,0.26445937,0.26414248,0.26382568,0.26350886,0.26319215,0.26287547,0.26255888,0.26224226,0.26192576,0.2616093,0.26129285,0.2609765,0.2606602,0.26034397,0.2600277,0.25971156,0.25939548,0.25907946,0.25876343,0.2584475,0.25813162,0.25781578,0.25749996,0.25718424,0.25686854,0.25655288,0.2562373,0.25592178,0.25560632,0.25529084,0.25497547,0.25466016,0.25434488,0.2540296,0.25371444,0.25339934,0.2530842,0.2527692,0.25245422,0.25213933,0.2518244,0.25150958,0.25119483,0.25088012,0.25056538,0.2502508,0.24993621,0.24962163,0.24930717,0.24899276,0.24867839,0.248364,0.24804974,0.24773552,0.24742134,0.24710716,0.24679309,0.24647906,0.24616508,0.2458511,0.24553722,0.24522339,0.24490955,0.24459581,0.24428213,0.24396849,0.24365485,0.2433413,0.2430278,0.24271436,0.2424009,0.24208754,0.24177425,0.24146093,0.24114771,0.24083455,0.24052145,0.24020831,0.2398953,0.23958232,0.23926939,0.23895645,0.23864362,0.23833084,0.2380181,0.23770535,0.2373927,0.2370801,0.23676749,0.23645498,0.23614252,0.2358301,0.23551768,0.23520535,0.23489307,0.23458084,0.2342686,0.23395646,0.23364437,0.23333226,0.23302026,0.23270829,0.23239638,0.23208445,0.23177263,0.23146085,0.23114912,0.23083737,0.23052573,0.23021413,0.22990252,0.22959101,0.22927955,0.22896813,0.2286567,0.22834536,0.22803408,0.22772284,0.22741158,0.22710043,0.22678931,0.22647825,0.22616717,0.22585618,0.22554526,0.22523431,0.22492346,0.22461265,0.22430189,0.22399111,0.22368044,0.2233698,0.22305922,0.22274862,0.22243811,0.22212766,0.22181718,0.2215068,0.22119647,0.22088619,0.22057588,0.22026569,0.21995552,0.2196454,0.21933527,0.21902524,0.21871524,0.21840523,0.21809532,0.21778546,0.21747564,0.2171658,0.21685605,0.21654636,0.2162367,0.21592702,0.21561745,0.2153079,0.21499841,0.21468891,0.21437949,0.21407013,0.21376075,0.21345146,0.2131422,0.212833,0.21252377,0.21221465,0.21190557,0.21159652,0.21128747,0.21097851,0.21066958,0.21036065,0.21005179,0.209743,0.20943423,0.20912546,0.20881677,0.20850813,0.20819953,0.2078909,0.20758238,0.2072739,0.2069654,0.20665699,0.20634863,0.2060403,0.20573196,0.2054237,0.2051155,0.20480733,0.20449914,0.20419104,0.20388299,0.20357497,0.20326693,0.202959,0.2026511,0.20234318,0.20203535,0.20172757,0.20141983,0.20111206,0.2008044,0.20049676,0.20018916,0.19988155,0.19957404,0.19926655,0.19895905,0.19865164,0.19834428,0.19803695,0.1977296,0.19742234,0.19711512,0.19680795,0.19650075,0.19619364,0.19588657,0.19557953,0.19527248,0.19496553,0.19465859,0.19435166,0.19404481,0.193738,0.19343121,0.19312441,0.19281772,0.19251105,0.19220442,0.19189776,0.1915912,0.19128469,0.19097814,0.19067168,0.19036527,0.19005889,0.18975249,0.18944618,0.18913992,0.18883367,0.18852742,0.18822125,0.18791512,0.18760897,0.1873029,0.18699688,0.18669088,0.18638487,0.18607895,0.18577307,0.18546721,0.18516135,0.18485557,0.18454981,0.1842441,0.18393837,0.18363272,0.18332711,0.18302149,0.18271594,0.18241043,0.18210496,0.18179947,0.18149406,0.18118869,0.18088335,0.180578,0.18027271,0.17996748,0.17966223,0.17935705,0.17905192,0.17874682,0.17844169,0.17813665,0.17783165,0.17752668,0.17722169,0.17691678,0.17661192,0.17630702,0.1760022,0.17569743,0.17539269,0.17508793,0.17478326,0.1744786,0.174174,0.17386937,0.17356482,0.1732603,0.17295583,0.17265132,0.1723469,0.17204252,0.1717381,0.17143379,0.1711295,0.17082524,0.17052096,0.17021675,0.16991259,0.16960846,0.16930431,0.16900024,0.1686962,0.16839214,0.16808815,0.16778421,0.1674803,0.16717637,0.1668725,0.16656868,0.16626489,0.16596109,0.16565736,0.16535366,0.16504993,0.16474628,0.16444269,0.1641391,0.1638355,0.16353199,0.1632285,0.16292503,0.16262156,0.16231817,0.1620148,0.16171145,0.1614081,0.16110481,0.16080157,0.16049829,0.16019511,0.15989195,0.15958881,0.15928566,0.15898259,0.15867954,0.15837653,0.1580735,0.15777054,0.15746762,0.15716466,0.1568618,0.15655896,0.15625614,0.1559533,0.15565056,0.15534782,0.15504514,0.1547424,0.15443976,0.15413716,0.15383457,0.15353197,0.15322943,0.15292694,0.15262441,0.15232196,0.15201956,0.15171717,0.15141475,0.15111242,0.15081012,0.15050784,0.15020554,0.14990331,0.14960112,0.14929889,0.14899676,0.14869465,0.14839256,0.14809045,0.14778842,0.1474864,0.14718443,0.14688243,0.1465805,0.1462786,0.14597668,0.14567484,0.14537302,0.14507122,0.1447694,0.14446767,0.14416596,0.14386427,0.14356256,0.14326093,0.14295931,0.14265774,0.14235613,0.1420546,0.14175309,0.14145157,0.1411501,0.14084868,0.14054728,0.14024585,0.1399445,0.13964318,0.13934188,0.13904054,0.1387393,0.13843808,0.13813682,0.13783565,0.1375345,0.13723338,0.13693222,0.13663115,0.1363301,0.13602908,0.13572803,0.13542706,0.1351261,0.13482513,0.13452423,0.13422334,0.13392249,0.1336216,0.13332081,0.13302003,0.13271926,0.13241848,0.13211778,0.13181709,0.13151643,0.13121574,0.13091512,0.13061453,0.13031392,0.13001338,0.12971285,0.12941235,0.12911183,0.12881139,0.12851095,0.12821056,0.12791012,0.12760977,0.12730944,0.12700906,0.12670879,0.12640852,0.12610827,0.125808,0.1255078,0.12520763,0.124907486,0.1246073,0.1243072,0.12400711,0.123707,0.12340696,0.12310694,0.12280695,0.122506924,0.12220697,0.12190704,0.12160714,0.1213072,0.12100734,0.1207075,0.12040768,0.12010782,0.11980805,0.119508296,0.11920851,0.11890879,0.11860911,0.11830944,0.11800974,0.117710106,0.1174105,0.117110915,0.116811305,0.11651176,0.11621224,0.11591268,0.11561321,0.115313746,0.11501431,0.11471484,0.11441544,0.114116065,0.11381671,0.113517314,0.113218,0.112918705,0.11261938,0.112320125,0.11202089,0.11172167,0.11142243,0.11112325,0.11082409,0.11052496,0.11022579,0.10992669,0.10962762,0.10932857,0.10902947,0.10873046,0.10843146,0.10813243,0.10783347,0.10753453,0.10723561,0.106936656,0.106637776,0.10633891,0.10604007,0.10574119,0.10544238,0.10514359,0.10484477,0.10454602,0.10424729,0.10394858,0.10364983,0.10335115,0.1030525,0.102753855,0.102455184,0.10215658,0.101858,0.10155943,0.10126083,0.1009623,0.10066379,0.100365244,0.100066766,0.09976831,0.09946987,0.09917139,0.09887299,0.0985746,0.09827623,0.097977825,0.09767949,0.097381175,0.097082816,0.09678454,0.09648627,0.09618802,0.09588974,0.09559152,0.09529333,0.09499515,0.09469693,0.09439878,0.094100654,0.09380249,0.09350439,0.09320631,0.09290825,0.09261015,0.09231212,0.092014104,0.0917161,0.09141807,0.09112011,0.09082216,0.09052423,0.090226255,0.08992835,0.08963047,0.08933255,0.08903469,0.088736854,0.08843904,0.08814118,0.08784339,0.08754561,0.087247856,0.086950056,0.08665233,0.08635461,0.086056866,0.085759185,0.08546152,0.08516387,0.08486617,0.08456855,0.08427095,0.083973356,0.08367573,0.083378166,0.08308062,0.08278303,0.08248551,0.08218801,0.08189052,0.08159299,0.081295535,0.080998085,0.08070066,0.08040319,0.08010578,0.0798084,0.079511024,0.07921361,0.07891626,0.07861893,0.07832156,0.07802425,0.07772696,0.07742969,0.07713237,0.07683512,0.076537885,0.07624066,0.0759434,0.07564621,0.075349025,0.0750518,0.07475464,0.074457504,0.074160375,0.0738632,0.0735661,0.07326901,0.07297193,0.07267481,0.07237776,0.072080724,0.07178365,0.07148663,0.07118963,0.07089264,0.070595615,0.07029865,0.0700017,0.06970476,0.06940778,0.06911087,0.068813965,0.068517074,0.068220146,0.06792328,0.067626424,0.06732953,0.0670327,0.066735886,0.06643908,0.06614223,0.065845445,0.06554867,0.06525192,0.064955115,0.06465837,0.064361654,0.06406488,0.06376818,0.06347149,0.06317481,0.06287809,0.06258143,0.06228478,0.061988145,0.061691467,0.06139485,0.061098248,0.060801655,0.060505018,0.060208447,0.059911888,0.059615284,0.059318744,0.059022214,0.058725696,0.058429133,0.058132634,0.057836145,0.057539668,0.057243146,0.056946687,0.05665024,0.056353748,0.05605732,0.0557609,0.055464495,0.055168044,0.054871652,0.054575272,0.054278903,0.05398249,0.05368614,0.0533898,0.053093415,0.05279709,0.052500777,0.05220447,0.051908124,0.05161184,0.05131556,0.051019292,0.050722983,0.050426733,0.05013049,0.04983426,0.049537983,0.049241766,0.04894556,0.04864931,0.04835312,0.04805694,0.04776077,0.047464553,0.047168396,0.04687225,0.04657611,0.046279926,0.045983803,0.04568769,0.04539153,0.04509543,0.04479934,0.044503257,0.04420713,0.043911062,0.043615002,0.04331895,0.043022852,0.042726815,0.042430785,0.04213471,0.041838698,0.04154269,0.04124669,0.040950645,0.04065466,0.04035868,0.040062707,0.03976669,0.039470732,0.039174784,0.03887884,0.03858285,0.03828692,0.037990995,0.037695028,0.037399117,0.037103213,0.036807317,0.036511373,0.036215488,0.03591961,0.03562374,0.035327822,0.035031963,0.034736108,0.03444021,0.034144368,0.03384853,0.033552703,0.03325683,0.03296101,0.0326652,0.032369394,0.03207354,0.031777747,0.031481955,0.03118612,0.030890342,0.030594569,0.030298803,0.030002987,0.02970723,0.02941148,0.029115733,0.02881994,0.028524203,0.028228471,0.027932744,0.027636971,0.027341254,0.027045542,0.026749782,0.02645408,0.026158381,0.025862688,0.025566947,0.025271263,0.024975583,0.024679909,0.024384184,0.024088517,0.023792855,0.023497144,0.023201488,0.022905838,0.022610193,0.022314496,0.02201886,0.021723224,0.021427594,0.021131914,0.02083629,0.02054067,0.020245055,0.01994939,0.01965378,0.019358173,0.01906252,0.01876692,0.018471325,0.018175732,0.01788009,0.017584503,0.01728892,0.01699334,0.01669771,0.016402137,0.016106565,0.015810944,0.015515378,0.015219815,0.014924254,0.014628644,0.014333089,0.014037536,0.013741986,0.013446385,0.01315084,0.012855297,0.012559703,0.012264164,0.011968628,0.011673093,0.011377508,0.011081977,0.010786449,0.010490922,0.010195345,0.009899821,0.0096043,0.009308781,0.0090132095,0.008717693,0.008422178,0.008126612,0.0078311,0.0075355894,0.00724008,0.006944519,0.006649012,0.0063535064,0.006058002,0.0057624453,0.005466943,0.0051714415,0.004875888,0.0045803883,0.004284889,0.003989391,0.0036938405,0.0033983435,0.0031028471,0.0028073513,0.0025118033,0.0022163084,0.0019208139,0.0016252669,0.0013297731,0.0010342795,0.000738786,0.00044323984,0.0001477466,-0.00014779942,-0.00044329267,-0.000738786,-0.0010342795,-0.0013297731,-0.0016252669,-0.0019207611,-0.0022163612,-0.0025118561,-0.0028073513,-0.0031028471,-0.0033983435,-0.0036938405,-0.003989338,-0.0042848364,-0.004580441,-0.0048759407,-0.0051714415,-0.005466943,-0.0057624453,-0.0060579493,-0.0063534537,-0.006649065,-0.0069445716,-0.00724008,-0.0075355894,-0.0078311,-0.008126612,-0.008422125,-0.00871764,-0.009013263,-0.009308781,-0.0096043,-0.009899821,-0.010195345,-0.010490869,-0.0107863955,-0.01108203,-0.011377561,-0.011673093,-0.011968628,-0.012264164,-0.012559703,-0.012855244,-0.013150892,-0.013446438,-0.013741986,-0.014037536,-0.014333089,-0.014628644,-0.014924202,-0.015219762,-0.015515431,-0.015810996,-0.016106565,-0.016402137,-0.01669771,-0.016993288,-0.017288867,-0.017584557,-0.017880142,-0.018175732,-0.018471325,-0.01876692,-0.01906252,-0.01935812,-0.019653726,-0.019949442,-0.020245055,-0.02054067,-0.02083629,-0.021131914,-0.02142754,-0.021723172,-0.022018911,-0.02231455,-0.022610193,-0.022905838,-0.023201488,-0.023497144,-0.023792801,-0.02408857,-0.024384236,-0.024679909,-0.024975583,-0.025271263,-0.025566947,-0.025862636,-0.02615833,-0.026454132,-0.026749834,-0.027045542,-0.027341254,-0.027636971,-0.027932692,-0.028228419,-0.028524255,-0.028819991,-0.029115733,-0.02941148,-0.02970723,-0.030002987,-0.030298749,-0.030594517,-0.030890396,-0.031186173,-0.031481955,-0.031777747,-0.03207354,-0.03236934,-0.032665145,-0.032961063,-0.03325688,-0.033552703,-0.03384853,-0.034144368,-0.03444021,-0.034736056,-0.035032015,-0.035327874,-0.03562374,-0.03591961,-0.036215488,-0.036511373,-0.03680726,-0.03710316,-0.03739917,-0.03769508,-0.037990995,-0.03828692,-0.03858285,-0.038878787,-0.039174728,-0.039470788,-0.039766744,-0.040062707,-0.04035868,-0.04065466,-0.040950645,-0.041246638,-0.041542634,-0.04183875,-0.042134766,-0.042430785,-0.042726815,-0.043022852,-0.043318897,-0.04361495,-0.043911114,-0.04420718,-0.044503257,-0.04479934,-0.04509543,-0.04539153,-0.045687634,-0.04598375,-0.046279978,-0.04657611,-0.04687225,-0.047168396,-0.047464553,-0.047760714,-0.04805689,-0.048353173,-0.048649363,-0.04894556,-0.049241766,-0.049537983,-0.049834207,-0.050130438,-0.050426785,-0.050723035,-0.051019292,-0.05131556,-0.05161184,-0.051908124,-0.05220442,-0.052500725,-0.052797142,-0.053093467,-0.0533898,-0.05368614,-0.05398249,-0.05427885,-0.05457522,-0.054871704,-0.055168096,-0.055464495,-0.0557609,-0.05605732,-0.056353748,-0.056650188,-0.056946635,-0.0572432,-0.057539668,-0.057836145,-0.058132634,-0.058429133,-0.05872564,-0.059022162,-0.059318796,-0.059615336,-0.059911888,-0.060208447,-0.060505018,-0.060801603,-0.061098196,-0.061394904,-0.06169152,-0.061988145,-0.06228478,-0.06258143,-0.06287809,-0.063174754,-0.06347144,-0.06376823,-0.064064935,-0.064361654,-0.06465837,-0.064955115,-0.065251864,-0.06554862,-0.0658455,-0.06614228,-0.06643908,-0.066735886,-0.0670327,-0.06732953,-0.06762637,-0.067923225,-0.0682202,-0.068517074,-0.068813965,-0.06911087,-0.06940778,-0.069704704,-0.07000165,-0.0702987,-0.07059567,-0.07089264,-0.07118963,-0.07148663,-0.07178365,-0.07208067,-0.072377816,-0.07267487,-0.07297193,-0.07326901,-0.0735661,-0.0738632,-0.07416032,-0.07445745,-0.0747547,-0.07505185,-0.075349025,-0.07564621,-0.0759434,-0.07624061,-0.07653783,-0.07683517,-0.077132426,-0.07742969,-0.07772696,-0.07802425,-0.07832156,-0.07861888,-0.07891621,-0.079213664,-0.079511024,-0.0798084,-0.08010578,-0.08040319,-0.080700606,-0.08099803,-0.08129559,-0.081593044,-0.08189052,-0.08218801,-0.08248551,-0.08278303,-0.08308056,-0.08337822,-0.08367578,-0.083973356,-0.08427095,-0.08456855,-0.08486617,-0.08516381,-0.08546147,-0.08575924,-0.08605692,-0.08635461,-0.08665233,-0.086950056,-0.087247804,-0.08754556,-0.08784344,-0.08814123,-0.08843904,-0.088736854,-0.08903469,-0.08933255,-0.08963042,-0.0899283,-0.09022631,-0.09052423,-0.09082216,-0.09112011,-0.09141807,-0.09171605,-0.09201405,-0.09231217,-0.0926102,-0.09290825,-0.09320631,-0.09350439,-0.09380249,-0.0941006,-0.094398834,-0.09469698,-0.09499515,-0.09529333,-0.09559152,-0.09588974,-0.09618797,-0.09648622,-0.09678459,-0.097082876,-0.097381175,-0.09767949,-0.097977825,-0.098276176,-0.09857455,-0.09887304,-0.099171445,-0.09946987,-0.09976831,-0.100066766,-0.100365244,-0.10066374,-0.100962244,-0.101260886,-0.10155943,-0.101858,-0.10215658,-0.102455184,-0.1027538,-0.103052445,-0.103351206,-0.103649884,-0.10394858,-0.10424729,-0.10454602,-0.10484477,-0.10514354,-0.105442435,-0.10574124,-0.10604007,-0.10633891,-0.106637776,-0.106936656,-0.10723556,-0.107534476,-0.10783352,-0.10813248,-0.10843146,-0.10873046,-0.10902947,-0.10932851,-0.10962757,-0.10992675,-0.11022585,-0.11052496,-0.11082409,-0.11112325,-0.11142243,-0.11172162,-0.112020835,-0.11232018,-0.11261943,-0.112918705,-0.113218,-0.113517314,-0.11381665,-0.114116006,-0.11441549,-0.11471489,-0.11501431,-0.115313746,-0.11561321,-0.11591268,-0.11621218,-0.116511814,-0.11681136,-0.117110915,-0.1174105,-0.117710106,-0.11800974,-0.118309386,-0.11860905,-0.11890885,-0.11920856,-0.119508296,-0.11980805,-0.12010782,-0.12040762,-0.120707445,-0.12100739,-0.121307254,-0.12160714,-0.12190704,-0.12220697,-0.122506924,-0.12280689,-0.12310689,-0.12340701,-0.12370705,-0.12400711,-0.1243072,-0.1246073,-0.124907434,-0.12520759,-0.12550786,-0.12580806,-0.12610827,-0.12640852,-0.12670879,-0.12700906,-0.12730938,-0.12760982,-0.12791018,-0.12821056,-0.12851095,-0.12881139,-0.12911183,-0.12941231,-0.1297128,-0.13001342,-0.13031396,-0.13061453,-0.13091512,-0.13121574,-0.13151637,-0.13181703,-0.13211782,-0.13241853,-0.13271926,-0.13302003,-0.13332081,-0.1336216,-0.13392244,-0.13422328,-0.13452427,-0.13482517,-0.1351261,-0.13542706,-0.13572803,-0.13602902,-0.13633005,-0.1366312,-0.13693228,-0.13723338,-0.1375345,-0.13783565,-0.13813682,-0.13843802,-0.13873924,-0.1390406,-0.13934188,-0.13964318,-0.1399445,-0.14024585,-0.14054723,-0.14084862,-0.14115016,-0.14145161,-0.14175309,-0.1420546,-0.14235613,-0.14265768,-0.14295927,-0.14326097,-0.14356261,-0.14386427,-0.14416596,-0.14446767,-0.1447694,-0.14507118,-0.14537296,-0.14567488,-0.14597674,-0.1462786,-0.1465805,-0.14688243,-0.14718437,-0.14748636,-0.14778847,-0.1480905,-0.14839256,-0.14869465,-0.14899676,-0.14929889,-0.14960106,-0.14990325,-0.15020558,-0.15050784,-0.15081012,-0.15111242,-0.15141475,-0.15171711,-0.1520195,-0.15232202,-0.15262447,-0.15292694,-0.15322943,-0.15353197,-0.15383452,-0.1541371,-0.15443982,-0.15474246,-0.15504514,-0.15534782,-0.15565056,-0.1559533,-0.1562561,-0.1565589,-0.15686186,-0.15716472,-0.15746762,-0.15777054,-0.1580735,-0.15837649,-0.1586795,-0.15898265,-0.15928572,-0.15958881,-0.15989195,-0.16019511,-0.16049829,-0.16080151,-0.16110477,-0.16140816,-0.16171145,-0.1620148,-0.16231817,-0.16262156,-0.16292499,-0.16322844,-0.16353203,-0.16383556,-0.1641391,-0.16444269,-0.16474628,-0.16504993,-0.1653536,-0.1656574,-0.16596113,-0.16626489,-0.16656868,-0.1668725,-0.16717637,-0.16748025,-0.16778415,-0.16808821,-0.1683922,-0.1686962,-0.16900024,-0.16930431,-0.16960841,-0.16991255,-0.17021681,-0.170521,-0.17082524,-0.1711295,-0.17143379,-0.1717381,-0.17204246,-0.17234685,-0.17265138,-0.17295583,-0.1732603,-0.17356482,-0.17386937,-0.17417395,-0.17447856,-0.1747833,-0.17508799,-0.17539269,-0.17569743,-0.1760022,-0.17630702,-0.17661186,-0.17691684,-0.17722175,-0.17752668,-0.17783165,-0.17813665,-0.17844169,-0.17874676,-0.17905186,-0.17935711,-0.17966227,-0.17996748,-0.18027271,-0.180578,-0.18088329,-0.18118863,-0.18149412,-0.18179952,-0.18210496,-0.18241043,-0.18271594,-0.18302149,-0.18332706,-0.18363267,-0.18393843,-0.1842441,-0.18454981,-0.18485557,-0.18516135,-0.18546717,-0.18577302,-0.18607901,-0.18638493,-0.18669088,-0.18699688,-0.1873029,-0.18760897,-0.18791506,-0.1882213,-0.18852746,-0.18883367,-0.18913992,-0.18944618,-0.18975249,-0.19005884,-0.19036523,-0.19067174,-0.1909782,-0.19128469,-0.1915912,-0.19189776,-0.19220436,-0.19251099,-0.19281778,-0.19312447,-0.19343121,-0.193738,-0.19404481,-0.19435166,-0.19465855,-0.19496547,-0.19527254,-0.19557953,-0.19588657,-0.19619364,-0.19650075,-0.19680789,-0.19711506,-0.1974224,-0.19772966,-0.19803695,-0.19834428,-0.19865164,-0.19895905,-0.1992665,-0.19957408,-0.19988161,-0.20018916,-0.20049676,-0.2008044,-0.20111206,-0.20141977,-0.20172752,-0.20203541,-0.20234324,-0.2026511,-0.202959,-0.20326693,-0.20357491,-0.20388293,-0.2041911,-0.20449919,-0.20480733,-0.2051155,-0.2054237,-0.20573196,-0.20604023,-0.20634857,-0.20665705,-0.20696545,-0.2072739,-0.20758238,-0.2078909,-0.20819947,-0.20850807,-0.20881683,-0.2091255,-0.20943423,-0.209743,-0.21005179,-0.21036065,-0.21066952,-0.21097855,-0.21128751,-0.21159652,-0.21190557,-0.21221465,-0.21252377,-0.21283294,-0.21314216,-0.2134515,-0.2137608,-0.21407013,-0.21437949,-0.21468891,-0.21499836,-0.21530785,-0.2156175,-0.21592708,-0.2162367,-0.21654636,-0.21685605,-0.2171658,-0.21747558,-0.2177854,-0.21809538,-0.21840529,-0.21871524,-0.21902524,-0.21933527,-0.21964535,-0.21995546,-0.22026573,-0.22057594,-0.22088619,-0.22119647,-0.2215068,-0.22181718,-0.2221276,-0.22243817,-0.22274868,-0.22305922,-0.2233698,-0.22368044,-0.22399111,-0.22430183,-0.2246126,-0.22492352,-0.22523436,-0.22554526,-0.22585618,-0.22616717,-0.22647819,-0.22678927,-0.22710049,-0.22741164,-0.22772284,-0.22803408,-0.22834536,-0.2286567,-0.22896807,-0.2292795,-0.22959107,-0.22990258,-0.23021413,-0.23052573,-0.23083737,-0.23114906,-0.2314608,-0.23177269,-0.23208451,-0.23239638,-0.23270829,-0.23302026,-0.23333226,-0.2336443,-0.2339564,-0.23426865,-0.23458084,-0.23489307,-0.23520535,-0.23551768,-0.23583005,-0.23614246,-0.23645504,-0.23676755,-0.2370801,-0.2373927,-0.23770535,-0.23801804,-0.23833078,-0.23864368,-0.23895651,-0.23926939,-0.23958232,-0.2398953,-0.24020831,-0.24052139,-0.2408345,-0.24114777,-0.24146098,-0.24177425,-0.24208754,-0.2424009,-0.2427143,-0.24302775,-0.24334136,-0.24365489,-0.24396849,-0.24428213,-0.24459581,-0.24490955,-0.24522333,-0.24553716,-0.24585116,-0.24616508,-0.24647906,-0.24679309,-0.24710716,-0.24742128,-0.24773546,-0.2480498,-0.24836406,-0.24867839,-0.24899276,-0.24930717,-0.24962163,-0.24993615,-0.25025082,-0.25056544,-0.25088012,-0.25119483,-0.25150958,-0.2518244,-0.25213927,-0.2524542,-0.25276926,-0.25308427,-0.25339934,-0.25371444,-0.2540296,-0.25434482,-0.2546601,-0.25497553,-0.2552909,-0.25560632,-0.25592178,-0.2562373,-0.25655288,-0.25686848,-0.25718418,-0.2575,-0.25781578,-0.25813162,-0.2584475,-0.25876343,-0.2590794,-0.25939542,-0.25971162,-0.26002777,-0.26034397,-0.2606602,-0.2609765,-0.26129285,-0.26160926,-0.26192582,-0.26224232,-0.26255888,-0.26287547,-0.26319215,-0.26350886,-0.26382563,-0.26414242,-0.26445943,-0.26477635,-0.26509333,-0.26541036,-0.26572746,-0.2660446,-0.26636177,-0.26667914,-0.26699644,-0.26731378,-0.2676312,-0.26794866,-0.26826617,-0.26858374,-0.26890138,-0.26921916,-0.26953688,-0.2698547,-0.27017254,-0.2704904,-0.27080837,-0.2711264,-0.27144456,-0.27176267,-0.27208084,-0.27239907,-0.27271736,-0.27303568,-0.27335408,-0.27367264,-0.27399114,-0.2743097,-0.2746283,-0.274947,-0.2752657,-0.2755845,-0.2759033,-0.27622232,-0.27654126,-0.27686027,-0.27717933,-0.27749845,-0.27781764,-0.27813688,-0.27845627,-0.2787756,-0.27909502,-0.27941447,-0.279734,-0.28005356,-0.2803732,-0.28069288,-0.28101274,-0.28133255,-0.28165242,-0.28197232,-0.2822923,-0.28261232,-0.28293243,-0.2832527,-0.28357288,-0.28389317,-0.28421348,-0.28453386,-0.28485432,-0.28517482,-0.2854955,-0.2858161,-0.28613678,-0.2864575,-0.2867783,-0.28709915,-0.28742006,-0.28774104,-0.28806219,-0.28838328,-0.28870443,-0.28902563,-0.28934687,-0.2896682,-0.2899896,-0.29031116,-0.29063267,-0.29095423,-0.29127586,-0.29159755,-0.2919193,-0.2922411,-0.292563,-0.29288504,-0.29320702,-0.29352906,-0.29385117,-0.29417336,-0.29449558,-0.2948179,-0.29514036,-0.29546276,-0.29578525,-0.2961078,-0.2964304,-0.29675305,-0.29707578,-0.2973987,-0.29772153,-0.29804444,-0.2983674,-0.29869047,-0.29901356,-0.29933673,-0.29965994,-0.29998335,-0.3003067,-0.30063012,-0.3009536,-0.30127713,-0.30160072,-0.30192438,-0.30224824,-0.302572,-0.30289587,-0.3032198,-0.30354378,-0.30386782,-0.30419192,-0.3045161,-0.30484045,-0.30516475,-0.30548912,-0.30581355,-0.30613804,-0.30646262,-0.30678722,-0.30711204,-0.3074368,-0.3077616,-0.30808648,-0.30841142,-0.30873644,-0.30906153,-0.3093868,-0.309712,-0.31003726,-0.3103626,-0.31068802,-0.3110135,-0.31133902,-0.3116646,-0.3119904,-0.31231615,-0.31264195,-0.3129678,-0.31329376,-0.31361973,-0.3139458,-0.31427208,-0.31459826,-0.31492454,-0.31525087,-0.31557727,-0.31590375,-0.31623027,-0.31655687,-0.31688368,-0.3172104,-0.31753722,-0.3178641,-0.31819105,-0.31851804,-0.31884512,-0.31917238,-0.3194996,-0.3198269,-0.32015425,-0.32048166,-0.32080916,-0.3211367,-0.32146436,-0.32179216,-0.32211992,-0.32244778,-0.32277566,-0.32310364,-0.3234317,-0.3237598,-0.3240881,-0.32441637,-0.32474467,-0.32507306,-0.32540154,-0.3257301,-0.3260587,-0.32638747,-0.3267162,-0.32704502,-0.32737392,-0.32770288,-0.3280319,-0.328361,-0.32869017,-0.32901952,-0.32934883,-0.32967824,-0.33000767,-0.3303372,-0.3306668,-0.33099648,-0.33132634,-0.33165616,-0.33198604,-0.332316,-0.33264604,-0.33297613,-0.3333063,-0.33363655,-0.333967,-0.3342974,-0.33462787,-0.3349584,-0.33528903,-0.33561972,-0.33595046,-0.33628142,-0.33661234,-0.33694333,-0.33727437,-0.3376055,-0.3379367,-0.33826798,-0.33859947,-0.33893088,-0.3392624,-0.33959398,-0.33992562,-0.34025735,-0.34058914,-0.340921,-0.34125307,-0.3415851,-0.34191722,-0.3422494,-0.34258163,-0.34291396,-0.34324637,-0.34357896,-0.34391153,-0.34424415,-0.34457687,-0.34490964,-0.3452425,-0.34557545,-0.34590846,-0.34624168,-0.34657484,-0.3469081,-0.3472414,-0.3475748,-0.3479083,-0.34824184,-0.3485756,-0.3489093,-0.34924307,-0.34957695,-0.34991089,-0.3502449,-0.350579,-0.3509133,-0.35124755,-0.35158187,-0.35191628,-0.35225078,-0.35258535,-0.35292,-0.35325474,-0.35358965,-0.35392454,-0.35425952,-0.35459456,-0.3549297,-0.35526487,-0.35560018,-0.35593566,-0.3562711,-0.3566066,-0.35694224,-0.3572779,-0.35761368,-0.35794953,-0.35828546,-0.35862157,-0.35895765,-0.35929382,-0.35963008,-0.35996643,-0.36030284,-0.36063933,-0.360976,-0.3613127,-0.36164942,-0.36198625,-0.36232316,-0.36266014,-0.3629972,-0.36333448,-0.36367172,-0.36400902,-0.36434644,-0.36468393,-0.3650215,-0.36535913,-0.36569688,-0.3660348,-0.3663727,-0.3667107,-0.36704877,-0.3673869,-0.36772513,-0.36806348,-0.368402,-0.36874047,-0.36907905,-0.36941773,-0.36975646,-0.37009528,-0.3704342,-0.3707732,-0.3711124,-0.37145156,-0.37179083,-0.37213016,-0.37246957,-0.37280908,-0.37314868,-0.3734885,-0.37382826,-0.37416813,-0.37450805,-0.3748481,-0.3751882,-0.3755284,-0.37586883,-0.3762092,-0.37654966,-0.3768902,-0.37723085,-0.37757158,-0.37791237,-0.37825328,-0.3785944,-0.3789355,-0.37927663,-0.3796179,-0.37995923,-0.38030067,-0.38064218,-0.38098392,-0.3813256,-0.3816674,-0.38200927,-0.38235125,-0.3826933,-0.38303545,-0.38337767,-0.38372013,-0.38406253,-0.38440505,-0.38474762,-0.38509032,-0.38543308,-0.38577595,-0.38611904,-0.38646206,-0.3868052,-0.38714844,-0.38749176,-0.38783517,-0.38817868,-0.3885224,-0.38886607,-0.38920987,-0.38955373,-0.3898977,-0.39024174,-0.3905859,-0.39093015,-0.3912746,-0.391619,-0.39196354,-0.39230815,-0.39265284,-0.39299765,-0.39334252,-0.39368764,-0.39403272,-0.3943779,-0.39472315,-0.39506853,-0.39541396,-0.39575952,-0.39610517,-0.39645103,-0.39679685,-0.3971428,-0.3974888,-0.39783493,-0.39818114,-0.39852744,-0.39887398,-0.3992205,-0.39956707,-0.39991376,-0.40026057,-0.40060744,-0.40095443,-0.40130162,-0.4016488,-0.40199608,-0.40234345,-0.40269092,-0.40303847,-0.40338615,-0.40373388,-0.40408188,-0.40442982,-0.40477788,-0.40512604,-0.40547428,-0.4058226,-0.40617105,-0.40651974,-0.40686837,-0.40721712,-0.40756595,-0.4079149,-0.40826392,-0.4086131,-0.4089623,-0.40931177,-0.4096612,-0.41001076,-0.4103604,-0.41071013,-0.41105998,-0.4114099,-0.41176006,-0.4121102,-0.41246045,-0.4128108,-0.41316125,-0.41351178,-0.41386244,-0.4142133,-0.41456416,-0.4149151,-0.41526616,-0.41561732,-0.4159686,-0.41631997,-0.41667143,-0.41702312,-0.4173748,-0.41772658,-0.41807845,-0.41843042,-0.4187825,-0.4191347,-0.41948712,-0.41983953,-0.42019203,-0.42054462,-0.42089733,-0.42125016,-0.42160308,-0.42195612,-0.42230937,-0.42266262,-0.42301595,-0.4233694,-0.42372295,-0.42407662,-0.42443037,-0.4247844,-0.42513835,-0.42549244,-0.42584664,-0.42620093,-0.42655534,-0.42690986,-0.42726448,-0.42761934,-0.42797416,-0.4283291,-0.42868418,-0.42903933,-0.4293946,-0.42974997,-0.43010557,-0.43046117,-0.4308169,-0.4311727,-0.4315286,-0.43188465,-0.43224078,-0.43259716,-0.4329535,-0.43330997,-0.43366656,-0.43402326,-0.43438005,-0.43473697,-0.435094,-0.43545124,-0.43580848,-0.43616584,-0.43652332,-0.4368809,-0.43723857,-0.43759638,-0.43795443,-0.43831244,-0.4386706,-0.43902886,-0.4393872,-0.4397457,-0.44010428,-0.44046298,-0.44082192,-0.44118086,-0.4415399,-0.44189906,-0.44225833,-0.4426177,-0.44297722,-0.44333696,-0.44369668,-0.44405654,-0.4444165,-0.44477656,-0.44513676,-0.44549707,-0.4458576,-0.44621816,-0.4465788,-0.4469396,-0.44730046,-0.44766146,-0.44802257,-0.4483838,-0.4487453,-0.44910678,-0.44946837,-0.44983006,-0.4501919,-0.45055383,-0.4509159,-0.4512782,-0.4516405,-0.4520029,-0.45236543,-0.4527281,-0.45309088,-0.45345375,-0.45381677,-0.45418003,-0.45454326,-0.45490664,-0.45527014,-0.45563373,-0.45599747,-0.45636132,-0.45672542,-0.4570895,-0.45745373,-0.45781806,-0.45818254,-0.45854712,-0.4589118,-0.45927677,-0.4596417,-0.46000677,-0.46037197,-0.4607373,-0.46110272,-0.46146828,-0.46183395,-0.4621999,-0.46256584,-0.46293187,-0.46329805,-0.46366435,-0.4640308,-0.46439734,-0.46476415,-0.46513095,-0.46549788,-0.46586493,-0.46623212,-0.4665994,-0.46696684,-0.4673344,-0.4677022,-0.46807003,-0.46843797,-0.46880603,-0.4691742,-0.46954253,-0.46991098,-0.47027966,-0.47064838,-0.4710172,-0.47138616,-0.47175524,-0.47212446,-0.4724938,-0.4728634,-0.473233,-0.47360274,-0.4739726,-0.47434258,-0.4747127,-0.47508293,-0.47545332,-0.47582397,-0.4761946,-0.47656536,-0.47693628],"x":[0.5,0.5003334,0.5006669,0.50100034,0.5013338,0.5016672,0.5020007,0.5023341,0.50266755,0.503001,0.50333446,0.5036679,0.5040013,0.5043348,0.50466824,0.50500166,0.5053351,0.5056686,0.506002,0.50633544,0.50666887,0.50700235,0.5073358,0.5076692,0.50800264,0.5083361,0.50866956,0.509003,0.5093365,0.5096699,0.5100033,0.51033676,0.51067024,0.5110037,0.5113371,0.51167053,0.512004,0.51233745,0.5126709,0.51300436,0.5133378,0.5136712,0.51400465,0.51433814,0.51467156,0.515005,0.5153384,0.5156719,0.51600534,0.51633877,0.51667225,0.5170057,0.5173391,0.51767254,0.518006,0.51833946,0.5186729,0.5190063,0.5193398,0.5196732,0.52000666,0.5203401,0.5206736,0.521007,0.5213404,0.5216739,0.52200735,0.5223408,0.5226742,0.5230077,0.5233411,0.52367455,0.524008,0.52434146,0.5246749,0.5250083,0.5253418,0.52567524,0.52600867,0.5263421,0.5266756,0.527009,0.52734244,0.52767587,0.52800936,0.5283428,0.5286762,0.52900964,0.5293431,0.52967656,0.53001,0.5303435,0.5306769,0.5310103,0.53134376,0.53167725,0.5320107,0.5323441,0.53267753,0.533011,0.53334445,0.5336779,0.53401136,0.5343448,0.5346782,0.53501165,0.53534514,0.53567857,0.536012,0.5363454,0.5366789,0.53701234,0.53734577,0.53767926,0.5380127,0.5383461,0.53867954,0.539013,0.53934646,0.5396799,0.5400133,0.5403468,0.5406802,0.54101366,0.5413471,0.5416806,0.542014,0.54234743,0.5426809,0.54301435,0.5433478,0.5436812,0.5440147,0.5443481,0.54468155,0.545015,0.54534847,0.5456819,0.5460153,0.5463488,0.54668224,0.54701567,0.5473491,0.5476826,0.548016,0.54834944,0.54868287,0.54901636,0.5493498,0.5496832,0.5500167,0.5503501,0.55068356,0.551017,0.5513505,0.5516839,0.55201733,0.55235076,0.55268425,0.5530177,0.5533511,0.55368453,0.554018,0.55435145,0.5546849,0.55501837,0.5553518,0.5556852,0.55601865,0.55635214,0.55668557,0.557019,0.5573524,0.5576859,0.55801934,0.55835277,0.55868626,0.5590197,0.5593531,0.55968654,0.56002,0.56035346,0.5606869,0.5610203,0.5613538,0.56168723,0.56202066,0.56235415,0.5626876,0.563021,0.56335443,0.5636879,0.56402135,0.5643548,0.5646882,0.5650217,0.5653551,0.56568855,0.566022,0.56635547,0.5666889,0.5670223,0.5673558,0.56768924,0.56802267,0.5683561,0.5686896,0.569023,0.56935644,0.56968987,0.57002336,0.5703568,0.5706902,0.5710237,0.57135713,0.57169056,0.572024,0.5723575,0.5726909,0.57302433,0.57335776,0.57369125,0.5740247,0.5743581,0.5746916,0.575025,0.57535845,0.5756919,0.57602537,0.5763588,0.5766922,0.57702565,0.57735914,0.57769257,0.578026,0.5783594,0.5786929,0.57902634,0.57935977,0.57969326,0.5800267,0.5803601,0.58069354,0.58102703,0.58136046,0.5816939,0.5820273,0.5823608,0.58269423,0.58302766,0.58336115,0.5836946,0.584028,0.58436143,0.5846949,0.58502835,0.5853618,0.5856952,0.5860287,0.5863621,0.58669555,0.587029,0.58736247,0.5876959,0.5880293,0.5883628,0.58869624,0.58902967,0.5893631,0.5896966,0.59003,0.59036344,0.5906969,0.59103036,0.5913638,0.5916972,0.5920307,0.59236413,0.59269756,0.593031,0.5933645,0.5936979,0.59403133,0.59436476,0.59469825,0.5950317,0.5953651,0.5956986,0.596032,0.59636545,0.5966989,0.59703237,0.5973658,0.5976992,0.59803265,0.59836614,0.59869957,0.599033,0.5993664,0.5996999,0.60003334,0.6003668,0.60070026,0.6010337,0.6013671,0.60170054,0.60203403,0.60236746,0.6027009,0.6030343,0.6033678,0.60370123,0.60403466,0.60436815,0.6047016,0.605035,0.60536844,0.6057019,0.60603535,0.6063688,0.6067022,0.6070357,0.6073691,0.60770255,0.60803604,0.60836947,0.6087029,0.6090363,0.6093698,0.60970324,0.6100367,0.6103701,0.6107036,0.611037,0.61137044,0.6117039,0.61203736,0.6123708,0.6127042,0.6130377,0.61337113,0.61370456,0.614038,0.6143715,0.6147049,0.61503834,0.61537176,0.61570525,0.6160387,0.6163721,0.6167056,0.617039,0.61737245,0.6177059,0.61803937,0.6183728,0.6187062,0.61903965,0.61937314,0.6197066,0.62004,0.6203735,0.6207069,0.62104034,0.6213738,0.62170726,0.6220407,0.6223741,0.62270755,0.62304103,0.62337446,0.6237079,0.6240413,0.6243748,0.62470824,0.62504166,0.62537515,0.6257086,0.626042,0.62637544,0.6267089,0.62704235,0.6273758,0.6277092,0.6280427,0.6283761,0.62870955,0.62904304,0.6293765,0.6297099,0.6300433,0.6303768,0.63071024,0.6310437,0.6313771,0.6317106,0.632044,0.63237745,0.6327109,0.63304436,0.6333778,0.6337112,0.6340447,0.63437814,0.63471156,0.635045,0.6353785,0.6357119,0.63604534,0.63637877,0.63671225,0.6370457,0.6373791,0.6377126,0.638046,0.63837945,0.6387129,0.6390464,0.6393798,0.6397132,0.64004666,0.64038014,0.6407136,0.641047,0.6413805,0.6417139,0.64204735,0.6423808,0.64271426,0.6430477,0.6433811,0.64371455,0.64404804,0.64438146,0.6447149,0.6450483,0.6453818,0.64571524,0.64604867,0.64638215,0.6467156,0.647049,0.64738244,0.6477159,0.64804935,0.6483828,0.6487162,0.6490497,0.6493831,0.64971656,0.65005004,0.6503835,0.6507169,0.6510503,0.6513838,0.65171725,0.6520507,0.6523841,0.6527176,0.653051,0.65338445,0.65371794,0.65405136,0.6543848,0.6547182,0.6550517,0.65538514,0.65571856,0.656052,0.6563855,0.6567189,0.65705234,0.65738577,0.65771925,0.6580527,0.6583861,0.6587196,0.659053,0.65938646,0.6597199,0.6600534,0.6603868,0.6607202,0.66105366,0.66138715,0.6617206,0.662054,0.6623875,0.6627209,0.66305435,0.6633878,0.66372126,0.6640547,0.6643881,0.66472155,0.66505504,0.66538846,0.6657219,0.6660554,0.6663888,0.66672224,0.66705567,0.66738915,0.6677226,0.668056,0.66838944,0.6687229,0.66905636,0.6693898,0.6697232,0.6700567,0.6703901,0.67072356,0.67105705,0.6713905,0.6717239,0.67205733,0.6723908,0.67272425,0.6730577,0.6733911,0.6737246,0.674058,0.67439145,0.67472494,0.67505836,0.6753918,0.6757252,0.6760587,0.67639214,0.67672557,0.677059,0.6773925,0.6777259,0.67805934,0.67839277,0.67872626,0.6790597,0.6793931,0.6797266,0.68006,0.68039346,0.6807269,0.6810604,0.6813938,0.68172723,0.68206066,0.68239415,0.6827276,0.683061,0.6833945,0.6837279,0.68406135,0.6843948,0.68472826,0.6850617,0.6853951,0.68572855,0.68606204,0.68639547,0.6867289,0.6870624,0.6873958,0.68772924,0.68806267,0.68839616,0.6887296,0.689063,0.68939644,0.6897299,0.69006336,0.6903968,0.6907302,0.6910637,0.69139713,0.69173056,0.69206405,0.6923975,0.6927309,0.69306433,0.6933978,0.69373125,0.6940647,0.6943981,0.6947316,0.695065,0.69539845,0.69573194,0.69606537,0.6963988,0.6967322,0.6970657,0.69739914,0.69773257,0.698066,0.6983995,0.6987329,0.69906634,0.6993998,0.69973326,0.7000667,0.7004001,0.7007336,0.70106703,0.70140046,0.7017339,0.7020674,0.7024008,0.70273423,0.70306766,0.70340115,0.7037346,0.704068,0.7044015,0.7047349,0.70506835,0.7054018,0.70573527,0.7060687,0.7064021,0.70673555,0.70706904,0.70740247,0.7077359,0.7080694,0.7084028,0.70873624,0.70906967,0.70940316,0.7097366,0.71007,0.71040344,0.71073693,0.71107036,0.7114038,0.7117373,0.7120707,0.71240413,0.71273756,0.71307105,0.7134045,0.7137379,0.71407133,0.7144048,0.71473825,0.7150717,0.7154051,0.7157386,0.716072,0.71640545,0.71673894,0.71707237,0.7174058,0.7177392,0.7180727,0.71840614,0.71873957,0.719073,0.7194065,0.7197399,0.72007334,0.72040683,0.72074026,0.7210737,0.7214071,0.7217406,0.72207403,0.72240746,0.7227409,0.7230744,0.7234078,0.72374123,0.7240747,0.72440815,0.7247416,0.725075,0.7254085,0.7257419,0.72607535,0.7264088,0.72674227,0.7270757,0.7274091,0.72774255,0.72807604,0.72840947,0.7287429,0.7290764,0.7294098,0.72974324,0.7300767,0.73041016,0.7307436,0.731077,0.73141044,0.73174393,0.73207736,0.7324108,0.7327443,0.7330777,0.73341113,0.73374456,0.73407805,0.7344115,0.7347449,0.73507833,0.7354118,0.73574525,0.7360787,0.7364121,0.7367456,0.737079,0.73741245,0.73774594,0.73807937,0.7384128,0.7387462,0.7390797,0.73941314,0.7397466,0.74008,0.7404135,0.7407469,0.74108034,0.74141383,0.74174726,0.7420807,0.7424141,0.7427476,0.74308103,0.74341446,0.7437479,0.7440814,0.7444148,0.74474823,0.7450817,0.74541515,0.7457486,0.746082,0.7464155,0.7467489,0.74708235,0.7474158,0.74774927,0.7480827,0.7484161,0.74874955,0.74908304,0.7494165,0.7497499,0.7500834,0.7504168,0.75075024,0.7510837,0.75141716,0.7517506,0.752084,0.75241745,0.75275093,0.75308436,0.7534178,0.7537513,0.7540847,0.75441813,0.75475156,0.75508505,0.7554185,0.7557519,0.75608534,0.7564188,0.75675225,0.7570857,0.75741917,0.7577526,0.758086,0.75841945,0.75875294,0.7590864,0.7594198,0.7597532,0.7600867,0.76042014,0.7607536,0.761087,0.7614205,0.7617539,0.76208735,0.76242083,0.76275426,0.7630877,0.7634211,0.7637546,0.76408803,0.76442146,0.7647549,0.7650884,0.7654218,0.76575524,0.7660887,0.76642215,0.7667556,0.767089,0.7674225,0.7677559,0.76808935,0.7684228,0.7687563,0.7690897,0.7694231,0.7697566,0.77009004,0.7704235,0.7707569,0.7710904,0.7714238,0.77175725,0.7720907,0.77242416,0.7727576,0.773091,0.77342445,0.77375793,0.77409136,0.7744248,0.7747583,0.7750917,0.77542514,0.77575856,0.77609205,0.7764255,0.7767589,0.77709234,0.7774258,0.77775925,0.7780927,0.7784262,0.7787596,0.779093,0.77942646,0.77975994,0.7800934,0.7804268,0.7807602,0.7810937,0.78142715,0.7817606,0.782094,0.7824275,0.7827609,0.78309435,0.78342783,0.78376126,0.7840947,0.7844281,0.7847616,0.78509504,0.78542846,0.7857619,0.7860954,0.7864288,0.78676224,0.7870957,0.78742915,0.7877626,0.788096,0.7884295,0.7887629,0.78909636,0.7894298,0.7897633,0.7900967,0.7904301,0.7907636,0.79109704,0.7914305,0.7917639,0.7920974,0.7924308,0.79276425,0.7930977,0.79343116,0.7937646,0.794098,0.79443145,0.79476494,0.79509836,0.7954318,0.7957653,0.7960987,0.79643214,0.79676557,0.79709905,0.7974325,0.7977659,0.79809934,0.7984328,0.79876626,0.7990997,0.7994332,0.7997666,0.8001,0.80043346,0.80076694,0.8011004,0.8014338,0.80176723,0.8021007,0.80243415,0.8027676,0.80310106,0.8034345,0.8037679,0.80410135,0.80443484,0.80476826,0.8051017,0.8054351,0.8057686,0.80610204,0.80643547,0.8067689,0.8071024,0.8074358,0.80776924,0.8081027,0.80843616,0.8087696,0.809103,0.8094365,0.8097699,0.81010336,0.8104368,0.8107703,0.8111037,0.81143713,0.8117706,0.81210405,0.8124375,0.8127709,0.8131044,0.8134378,0.81377125,0.8141047,0.81443816,0.8147716,0.815105,0.8154385,0.81577194,0.81610537,0.8164388,0.8167723,0.8171057,0.81743914,0.81777257,0.81810606,0.8184395,0.8187729,0.81910634,0.8194398,0.81977326,0.8201067,0.8204402,0.8207736,0.82110703,0.82144046,0.82177395,0.8221074,0.8224408,0.82277423,0.8231077,0.82344115,0.8237746,0.82410806,0.8244415,0.8247749,0.82510835,0.82544184,0.82577527,0.8261087,0.8264421,0.8267756,0.82710904,0.82744247,0.8277759,0.8281094,0.8284428,0.82877624,0.8291097,0.82944316,0.8297766,0.83011,0.8304435,0.83077693,0.83111036,0.8314438,0.8317773,0.8321107,0.83244413,0.8327776,0.83311105,0.8334445,0.8337779,0.8341114,0.8344448,0.83477825,0.8351117,0.83544517,0.8357786,0.836112,0.8364455,0.83677894,0.83711237,0.8374458,0.8377793,0.8381127,0.83844614,0.83877957,0.83911306,0.8394465,0.8397799,0.84011334,0.8404468,0.84078026,0.8411137,0.8414472,0.8417806,0.84211403,0.84244746,0.84278095,0.8431144,0.8434478,0.84378123,0.8441147,0.84444815,0.8447816,0.84511507,0.8454485,0.8457819,0.84611535,0.84644884,0.84678227,0.8471157,0.8474491,0.8477826,0.84811604,0.84844947,0.84878296,0.8491164,0.8494498,0.84978324,0.8501167,0.85045016,0.8507836,0.851117,0.8514505,0.85178393,0.85211736,0.8524508,0.8527843,0.8531177,0.85345113,0.8537846,0.85411805,0.8544515,0.8547849,0.8551184,0.8554518,0.85578525,0.8561187,0.85645217,0.8567856,0.857119,0.8574525,0.85778594,0.85811937,0.8584528,0.8587863,0.8591197,0.85945314,0.85978657,0.86012006,0.8604535,0.8607869,0.8611204,0.86145383,0.86178726,0.8621207,0.8624542,0.8627876,0.86312103,0.86345446,0.86378795,0.8641214,0.8644548,0.86478823,0.8651217,0.86545515,0.8657886,0.86612207,0.8664555,0.8667889,0.86712235,0.86745584,0.86778927,0.8681227,0.8684561,0.8687896,0.86912304,0.86945647,0.86978996,0.8701234,0.8704568,0.87079024,0.87112373,0.87145716,0.8717906,0.872124,0.8724575,0.87279093,0.87312436,0.87345785,0.8737913,0.8741247,0.87445813,0.8747916,0.87512505,0.8754585,0.8757919,0.8761254,0.8764588,0.87679225,0.8771257,0.87745917,0.8777926,0.878126,0.8784595,0.87879294,0.87912637,0.8794598,0.8797933,0.8801267,0.88046014,0.8807936,0.88112706,0.8814605,0.8817939,0.8821274,0.88246083,0.88279426,0.8831277,0.8834612,0.8837946,0.88412803,0.88446146,0.88479495,0.8851284,0.8854618,0.88579524,0.8861287,0.88646215,0.8867956,0.88712907,0.8874625,0.8877959,0.88812935,0.88846284,0.88879627,0.8891297,0.8894631,0.8897966,0.89013004,0.8904635,0.89079696,0.8911304,0.8914638,0.89179724,0.89213073,0.89246416,0.8927976,0.893131,0.8934645,0.89379793,0.89413136,0.89446485,0.8947983,0.8951317,0.89546514,0.8957986,0.89613205,0.8964655,0.8967989,0.8971324,0.8974658,0.89779925,0.8981327,0.89846617,0.8987996,0.899133,0.8994665,0.89979994,0.9001334,0.9004668,0.9008003,0.9011337,0.90146714,0.9018006,0.90213406,0.9024675,0.9028009,0.9031344,0.90346783,0.90380126,0.9041347,0.9044682,0.9048016,0.90513504,0.90546846,0.90580195,0.9061354,0.9064688,0.9068023,0.9071357,0.90746915,0.9078026,0.90813607,0.9084695,0.9088029,0.90913635,0.90946984,0.9098033,0.9101367,0.9104701,0.9108036,0.91113704,0.9114705,0.91180396,0.9121374,0.9124708,0.91280425,0.91313773,0.91347116,0.9138046,0.914138,0.9144715,0.91480494,0.91513836,0.91547185,0.9158053,0.9161387,0.91647214,0.9168056,0.91713905,0.9174725,0.9178059,0.9181394,0.9184728,0.91880625,0.91913974,0.9194732,0.9198066,0.92014,0.9204735,0.92080694,0.9211404,0.9214738,0.9218073,0.9221407,0.92247415,0.9228076,0.92314106,0.9234745,0.9238079,0.9241414,0.92447484,0.92480826,0.9251417,0.9254752,0.9258086,0.92614204,0.92647547,0.92680895,0.9271424,0.9274758,0.9278093,0.9281427,0.92847615,0.9288096,0.9291431,0.9294765,0.9298099,0.93014336,0.93047684,0.9308103,0.9311437,0.9314771,0.9318106,0.93214405,0.9324775,0.93281096,0.9331444,0.9334778,0.93381125,0.93414474,0.93447816,0.9348116,0.935145,0.9354785,0.93581194,0.93614537,0.93647885,0.9368123,0.9371457,0.93747914,0.9378126,0.93814605,0.9384795,0.9388129,0.9391464,0.9394798,0.93981326,0.94014674,0.9404802,0.9408136,0.941147,0.9414805,0.94181395,0.9421474,0.9424808,0.9428143,0.9431477,0.94348115,0.9438146,0.94414806,0.9444815,0.9448149,0.9451484,0.94548184,0.94581527,0.9461487,0.9464822,0.9468156,0.94714904,0.94748247,0.94781595,0.9481494,0.9484828,0.9488163,0.9491497,0.94948316,0.9498166,0.9501501,0.9504835,0.9508169,0.95115036,0.95148385,0.9518173,0.9521507,0.9524842,0.9528176,0.95315105,0.9534845,0.95381796,0.9541514,0.9544848,0.95481825,0.95515174,0.95548517,0.9558186,0.956152,0.9564855,0.95681894,0.95715237,0.95748585,0.9578193,0.9581527,0.95848614,0.9588196,0.95915306,0.9594865,0.9598199,0.9601534,0.9604868,0.96082026,0.96115375,0.9614872,0.9618206,0.96215403,0.9624875,0.96282095,0.9631544,0.9634878,0.9638213,0.9641547,0.96448815,0.96482164,0.96515507,0.9654885,0.9658219,0.9661554,0.96648884,0.96682227,0.9671557,0.9674892,0.9678226,0.96815604,0.96848947,0.96882296,0.9691564,0.9694898,0.9698233,0.9701567,0.97049016,0.9708236,0.9711571,0.9714905,0.97182393,0.97215736,0.97249085,0.9728243,0.9731577,0.9734912,0.9738246,0.97415805,0.9744915,0.97482497,0.9751584,0.9754918,0.97582525,0.97615874,0.97649217,0.9768256,0.977159,0.9774925,0.97782594,0.97815937,0.97849286,0.9788263,0.9791597,0.97949314,0.9798266,0.98016006,0.9804935,0.9808269,0.9811604,0.98149383,0.98182726,0.98216075,0.9824942,0.9828276,0.98316103,0.9834945,0.98382795,0.9841614,0.9844948,0.9848283,0.9851617,0.98549515,0.98582864,0.98616207,0.9864955,0.9868289,0.9871624,0.98749584,0.98782927,0.9881627,0.9884962,0.9888296,0.98916304,0.98949647,0.98982996,0.9901634,0.9904968,0.9908303,0.99116373,0.99149716,0.9918306,0.9921641,0.9924975,0.99283093,0.99316436,0.99349785,0.9938313,0.9941647,0.9944982,0.9948316,0.99516505,0.9954985,0.99583197,0.9961654,0.9964988,0.99683225,0.99716574,0.99749917,0.9978326,0.9981661,0.9984995,0.99883294,0.99916637,0.99949986,0.9998333,1.0001668,1.0005002,1.0008336,1.001167,1.0015005,1.0018339,1.0021673,1.0025009,1.0028343,1.0031677,1.0035012,1.0038346,1.004168,1.0045015,1.0048349,1.0051684,1.0055019,1.0058353,1.0061687,1.0065022,1.0068356,1.007169,1.0075026,1.007836,1.0081694,1.0085028,1.0088363,1.0091697,1.0095031,1.0098366,1.0101701,1.0105035,1.010837,1.0111704,1.0115038,1.0118372,1.0121707,1.0125042,1.0128376,1.0131711,1.0135045,1.0138379,1.0141714,1.0145048,1.0148383,1.0151718,1.0155052,1.0158386,1.016172,1.0165055,1.0168389,1.0171723,1.0175059,1.0178393,1.0181727,1.0185062,1.0188396,1.019173,1.0195065,1.01984,1.0201734,1.0205069,1.0208403,1.0211737,1.0215071,1.0218406,1.022174,1.0225075,1.022841,1.0231744,1.0235078,1.0238413,1.0241747,1.0245081,1.0248417,1.0251751,1.0255085,1.025842,1.0261754,1.0265088,1.0268422,1.0271758,1.0275092,1.0278426,1.0281761,1.0285095,1.0288429,1.0291764,1.0295098,1.0298433,1.0301768,1.0305102,1.0308436,1.031177,1.0315105,1.0318439,1.0321774,1.0325109,1.0328443,1.0331777,1.0335112,1.0338446,1.034178,1.0345114,1.034845,1.0351784,1.0355119,1.0358453,1.0361787,1.0365121,1.0368456,1.0371791,1.0375125,1.037846,1.0381794,1.0385128,1.0388463,1.0391797,1.0395132,1.0398467,1.0401801,1.0405135,1.040847,1.0411804,1.0415138,1.0418472,1.0421808,1.0425142,1.0428476,1.0431811,1.0435145,1.0438479,1.0441813,1.0445149,1.0448483,1.0451818,1.0455152,1.0458486,1.046182,1.0465155,1.0468489,1.0471824,1.0475159,1.0478493,1.0481827,1.0485162,1.0488496,1.049183,1.0495166,1.04985,1.0501834,1.0505168,1.0508503,1.0511837,1.0515171,1.0518506,1.0521841,1.0525175,1.052851,1.0531844,1.0535178,1.0538512,1.0541847,1.0545182,1.0548517,1.0551851,1.0555185,1.0558519,1.0561854,1.0565188,1.0568523,1.0571858,1.0575192,1.0578526,1.058186,1.0585195,1.0588529,1.0591863,1.0595199,1.0598533,1.0601867,1.0605202,1.0608536,1.061187,1.0615205,1.061854,1.0621874,1.0625209,1.0628543,1.0631877,1.0635211,1.0638546,1.064188,1.0645216,1.064855,1.0651884,1.0655218,1.0658553,1.0661887,1.0665221,1.0668557,1.0671891,1.0675225,1.067856,1.0681894,1.0685228,1.0688562,1.0691898,1.0695232,1.0698566,1.0701901,1.0705235,1.0708569,1.0711904,1.0715238,1.0718573,1.0721908,1.0725242,1.0728576,1.073191,1.0735245,1.0738579,1.0741915,1.0745249,1.0748583,1.0751917,1.0755252,1.0758586,1.076192,1.0765254,1.076859,1.0771924,1.0775259,1.0778593,1.0781927,1.0785261,1.0788596,1.0791931,1.0795265,1.07986,1.0801934,1.0805268,1.0808603,1.0811937,1.0815272,1.0818607,1.0821941,1.0825275,1.082861,1.0831944,1.0835278,1.0838612,1.0841948,1.0845282,1.0848616,1.0851951,1.0855285,1.0858619,1.0861953,1.0865289,1.0868623,1.0871958,1.0875292,1.0878626,1.088196,1.0885295,1.0888629,1.0891964,1.0895299,1.0898633,1.0901967,1.0905302,1.0908636,1.091197,1.0915306,1.091864,1.0921974,1.0925308,1.0928643,1.0931977,1.0935311,1.0938647,1.0941981,1.0945315,1.094865,1.0951984,1.0955318,1.0958652,1.0961987,1.0965322,1.0968657,1.0971991,1.0975325,1.0978659,1.0981994,1.0985328,1.0988663,1.0991998,1.0995332,1.0998666,1.1002,1.1005335,1.1008669,1.1012003,1.1015339,1.1018673,1.1022007,1.1025342,1.1028676,1.103201,1.1035345,1.103868,1.1042014,1.1045349,1.1048683,1.1052017,1.1055351,1.1058686,1.1062021,1.1065356,1.106869,1.1072024,1.1075358,1.1078693,1.1082027,1.1085361,1.1088697,1.1092031,1.1095365,1.10987,1.1102034,1.1105368,1.1108702,1.1112038,1.1115372,1.1118706,1.1122041,1.1125375,1.1128709,1.1132044,1.1135378,1.1138713,1.1142048,1.1145382,1.1148716,1.115205,1.1155385,1.1158719,1.1162055,1.1165389,1.1168723,1.1172057,1.1175392,1.1178726,1.118206,1.1185396,1.118873,1.1192064,1.1195399,1.1198733,1.1202067,1.1205401,1.1208736,1.1212071,1.1215405,1.121874,1.1222074,1.1225408,1.1228743,1.1232077,1.1235412,1.1238747,1.1242081,1.1245415,1.124875,1.1252084,1.1255418,1.1258752,1.1262088,1.1265422,1.1268756,1.1272091,1.1275425,1.1278759,1.1282094,1.1285429,1.1288763,1.1292098,1.1295432,1.1298766,1.13021,1.1305435,1.130877,1.1312104,1.1315439,1.1318773,1.1322107,1.1325442,1.1328776,1.133211,1.1335446,1.133878,1.1342114,1.1345448,1.1348783,1.1352117,1.1355451,1.1358787,1.1362121,1.1365455,1.136879,1.1372124,1.1375458,1.1378793,1.1382127,1.1385462,1.1388797,1.1392131,1.1395465,1.13988,1.1402134,1.1405468,1.1408803,1.1412138,1.1415472,1.1418806,1.1422141,1.1425475,1.1428809,1.1432145,1.1435479,1.1438813,1.1442147,1.1445482,1.1448816,1.145215,1.1455485,1.145882,1.1462154,1.1465489,1.1468823,1.1472157,1.1475492,1.1478826,1.1482161,1.1485496,1.148883,1.1492164,1.1495498,1.1498833,1.1502167,1.1505501,1.1508837,1.1512171,1.1515505,1.151884,1.1522174,1.1525508,1.1528842,1.1532178,1.1535512,1.1538846,1.1542181,1.1545515,1.1548849,1.1552184,1.1555518,1.1558853,1.1562188,1.1565522,1.1568856,1.157219,1.1575525,1.1578859,1.1582195,1.1585529,1.1588863,1.1592197,1.1595532,1.1598866,1.16022,1.1605536,1.160887,1.1612204,1.1615539,1.1618873,1.1622207,1.1625541,1.1628876,1.1632211,1.1635545,1.163888,1.1642214,1.1645548,1.1648883,1.1652217,1.1655552,1.1658887,1.1662221,1.1665555,1.166889,1.1672224,1.1675558,1.1678892,1.1682228,1.1685562,1.1688896,1.1692231,1.1695565,1.1698899,1.1702234,1.1705569,1.1708903,1.1712238,1.1715572,1.1718906,1.172224,1.1725575,1.172891,1.1732244,1.1735579,1.1738913,1.1742247,1.1745582,1.1748916,1.175225,1.1755586,1.175892,1.1762254,1.1765589,1.1768923,1.1772257,1.1775591,1.1778927,1.1782261,1.1785595,1.178893,1.1792264,1.1795598,1.1798933,1.1802267,1.1805602,1.1808937,1.1812271,1.1815605,1.181894,1.1822274,1.1825608,1.1828943,1.1832278,1.1835612,1.1838946,1.1842281,1.1845615,1.1848949,1.1852285,1.1855619,1.1858953,1.1862288,1.1865622,1.1868956,1.187229,1.1875625,1.187896,1.1882294,1.1885629,1.1888963,1.1892297,1.1895632,1.1898966,1.1902301,1.1905636,1.190897,1.1912304,1.1915638,1.1918973,1.1922307,1.1925641,1.1928977,1.1932311,1.1935645,1.193898,1.1942314,1.1945648,1.1948982,1.1952318,1.1955652,1.1958987,1.1962321,1.1965655,1.1968989,1.1972324,1.1975659,1.1978993,1.1982328,1.1985662,1.1988996,1.199233,1.1995665,1.1998999,1.2002335,1.2005669,1.2009003,1.2012337,1.2015672,1.2019006,1.202234,1.2025676,1.202901,1.2032344,1.2035679,1.2039013,1.2042347,1.2045681,1.2049016,1.2052351,1.2055686,1.205902,1.2062354,1.2065688,1.2069023,1.2072357,1.2075692,1.2079027,1.2082361,1.2085695,1.208903,1.2092364,1.2095698,1.2099034,1.2102368,1.2105702,1.2109036,1.2112371,1.2115705,1.2119039,1.2122374,1.2125709,1.2129043,1.2132378,1.2135712,1.2139046,1.214238,1.2145715,1.214905,1.2152385,1.2155719,1.2159053,1.2162387,1.2165722,1.2169056,1.217239,1.2175726,1.217906,1.2182394,1.2185729,1.2189063,1.2192397,1.2195731,1.2199067,1.2202401,1.2205735,1.220907,1.2212404,1.2215738,1.2219073,1.2222408,1.2225742,1.2229077,1.2232411,1.2235745,1.223908,1.2242414,1.2245748,1.2249084,1.2252418,1.2255752,1.2259086,1.2262421,1.2265755,1.2269089,1.2272425,1.2275759,1.2279093,1.2282428,1.2285762,1.2289096,1.229243,1.2295765,1.22991,1.2302434,1.2305769,1.2309103,1.2312437,1.2315772,1.2319106,1.2322441,1.2325776,1.232911,1.2332444,1.2335778,1.2339113,1.2342447,1.2345783,1.2349117,1.2352451,1.2355785,1.235912,1.2362454,1.2365788,1.2369123,1.2372458,1.2375792,1.2379127,1.2382461,1.2385795,1.2389129,1.2392464,1.2395799,1.2399133,1.2402468,1.2405802,1.2409136,1.241247,1.2415805,1.2419139,1.2422475,1.2425809,1.2429143,1.2432477,1.2435812,1.2439146,1.244248,1.2445816,1.244915,1.2452484,1.2455819,1.2459153,1.2462487,1.2465822,1.2469157,1.2472491,1.2475826,1.247916,1.2482494,1.2485828,1.2489163,1.2492497,1.2495832,1.2499167,1.2502501,1.2505835,1.250917,1.2512504,1.2515838,1.2519174,1.2522508,1.2525842,1.2529176,1.2532511,1.2535845,1.2539179,1.2542514,1.2545849,1.2549183,1.2552518,1.2555852,1.2559186,1.256252,1.2565855,1.256919,1.2572525,1.2575859,1.2579193,1.2582527,1.2585862,1.2589196,1.259253,1.2595866,1.25992,1.2602534,1.2605869,1.2609203,1.2612537,1.2615871,1.2619207,1.2622541,1.2625875,1.262921,1.2632544,1.2635878,1.2639213,1.2642548,1.2645882,1.2649217,1.2652551,1.2655885,1.265922,1.2662554,1.2665888,1.2669224,1.2672558,1.2675892,1.2679226,1.2682561,1.2685895,1.2689229,1.2692565,1.2695899,1.2699233,1.2702568,1.2705902,1.2709236,1.271257,1.2715905,1.271924,1.2722574,1.2725909,1.2729243,1.2732577,1.2735912,1.2739246,1.2742581,1.2745916,1.274925,1.2752584,1.2755919,1.2759253,1.2762587,1.2765923,1.2769257,1.2772591,1.2775925,1.277926,1.2782594,1.2785928,1.2789263,1.2792598,1.2795932,1.2799267,1.2802601,1.2805935,1.280927,1.2812604,1.2815939,1.2819273,1.2822608,1.2825942,1.2829276,1.2832611,1.2835945,1.2839279,1.2842615,1.2845949,1.2849283,1.2852618,1.2855952,1.2859286,1.286262,1.2865956,1.286929,1.2872624,1.2875959,1.2879293,1.2882627,1.2885962,1.2889297,1.2892631,1.2895966,1.28993,1.2902634,1.2905968,1.2909303,1.2912637,1.2915972,1.2919307,1.2922641,1.2925975,1.292931,1.2932644,1.2935978,1.2939314,1.2942648,1.2945982,1.2949317,1.2952651,1.2955985,1.2959319,1.2962654,1.2965989,1.2969323,1.2972658,1.2975992,1.2979326,1.298266,1.2985995,1.298933,1.2992665,1.2995999,1.2999333,1.3002667,1.3006002,1.3009336,1.3012671,1.3016006,1.301934,1.3022674,1.3026009,1.3029343,1.3032677,1.3036011,1.3039347,1.3042681,1.3046016,1.304935,1.3052684,1.3056018,1.3059353,1.3062688,1.3066022,1.3069357,1.3072691,1.3076025,1.307936,1.3082694,1.3086028,1.3089364,1.3092698,1.3096032,1.3099366,1.3102701,1.3106035,1.3109369,1.3112705,1.3116039,1.3119373,1.3122708,1.3126042,1.3129376,1.313271,1.3136046,1.313938,1.3142715,1.3146049,1.3149383,1.3152717,1.3156052,1.3159386,1.3162721,1.3166056,1.316939,1.3172724,1.3176059,1.3179393,1.3182727,1.3186063,1.3189397,1.3192731,1.3196065,1.31994,1.3202734,1.3206068,1.3209403,1.3212738,1.3216072,1.3219407,1.3222741,1.3226075,1.322941,1.3232744,1.3236079,1.3239413,1.3242748,1.3246082,1.3249416,1.3252751,1.3256085,1.325942,1.3262755,1.3266089,1.3269423,1.3272758,1.3276092,1.3279426,1.328276,1.3286096,1.328943,1.3292764,1.3296099,1.3299433,1.3302767,1.3306102,1.3309437,1.3312771,1.3316106,1.331944,1.3322774,1.3326108,1.3329443,1.3332777,1.3336112,1.3339447,1.3342781,1.3346115,1.334945,1.3352784,1.3356118,1.3359454,1.3362788,1.3366122,1.3369457,1.3372791,1.3376125,1.3379459,1.3382795,1.3386129,1.3389463,1.3392798,1.3396132,1.3399466,1.34028,1.3406135,1.340947,1.3412805,1.3416139,1.3419473,1.3422807,1.3426142,1.3429476,1.3432811,1.3436146,1.343948,1.3442814,1.3446149,1.3449483,1.3452817,1.3456151,1.3459487,1.3462821,1.3466156,1.346949,1.3472824,1.3476158,1.3479493,1.3482828,1.3486162,1.3489497,1.3492831,1.3496165,1.34995,1.3502834,1.3506168,1.3509504,1.3512838,1.3516172,1.3519506,1.3522841,1.3526175,1.3529509,1.3532845,1.3536179,1.3539513,1.3542848,1.3546182,1.3549516,1.355285,1.3556186,1.355952,1.3562855,1.3566189,1.3569523,1.3572857,1.3576192,1.3579526,1.3582861,1.3586196,1.358953,1.3592864,1.3596199,1.3599533,1.3602867,1.3606203,1.3609537,1.3612871,1.3616205,1.361954,1.3622874,1.3626208,1.3629543,1.3632878,1.3636212,1.3639547,1.3642881,1.3646215,1.364955,1.3652884,1.3656219,1.3659554,1.3662888,1.3666222,1.3669556,1.3672891,1.3676225,1.367956,1.3682895,1.3686229,1.3689563,1.3692898,1.3696232,1.3699566,1.37029,1.3706236,1.370957,1.3712904,1.3716239,1.3719573,1.3722907,1.3726242,1.3729577,1.3732911,1.3736246,1.373958,1.3742914,1.3746248,1.3749583,1.3752917,1.3756253,1.3759587,1.3762921,1.3766255,1.376959,1.3772924,1.3776258,1.3779594,1.3782928,1.3786262,1.3789597,1.3792931,1.3796265,1.37996,1.3802935,1.3806269,1.3809603,1.3812938,1.3816272,1.3819606,1.382294,1.3826275,1.382961,1.3832945,1.3836279,1.3839613,1.3842947,1.3846282,1.3849616,1.3852952,1.3856286,1.385962,1.3862954,1.3866289,1.3869623,1.3872957,1.3876292,1.3879627,1.3882961,1.3886296,1.388963,1.3892964,1.3896298,1.3899633,1.3902968,1.3906302,1.3909637,1.3912971,1.3916305,1.391964,1.3922974,1.3926309,1.3929644,1.3932978,1.3936312,1.3939646,1.3942981,1.3946315,1.3949649,1.3952985,1.3956319,1.3959653,1.3962988,1.3966322,1.3969656,1.397299,1.3976326,1.397966,1.3982995,1.3986329,1.3989663,1.3992997,1.3996332,1.3999666,1.4003001,1.4006336,1.400967,1.4013004,1.4016339,1.4019673,1.4023007,1.4026343,1.4029677,1.4033011,1.4036345,1.403968,1.4043014,1.4046348,1.4049684,1.4053018,1.4056352,1.4059687,1.4063021,1.4066355,1.406969,1.4073024,1.4076359,1.4079694,1.4083028,1.4086362,1.4089696,1.4093031,1.4096365,1.40997,1.4103035,1.4106369,1.4109703,1.4113038,1.4116372,1.4119706,1.412304,1.4126376,1.412971,1.4133044,1.4136379,1.4139713,1.4143047,1.4146382,1.4149717,1.4153051,1.4156386,1.415972,1.4163054,1.4166389,1.4169723,1.4173058,1.4176393,1.4179727,1.4183061,1.4186395,1.418973,1.4193064,1.4196398,1.4199734,1.4203068,1.4206402,1.4209737,1.4213071,1.4216405,1.421974,1.4223075,1.4226409,1.4229743,1.4233078,1.4236412,1.4239746,1.4243081,1.4246415,1.424975,1.4253085,1.4256419,1.4259753,1.4263088,1.4266422,1.4269756,1.4273092,1.4276426,1.427976,1.4283094,1.4286429,1.4289763,1.4293097,1.4296433,1.4299767,1.4303101,1.4306436,1.430977,1.4313104,1.4316438,1.4319773,1.4323108,1.4326442,1.4329777,1.4333111,1.4336445,1.433978,1.4343114,1.4346449,1.4349784,1.4353118,1.4356452,1.4359787,1.4363121,1.4366455,1.4369789,1.4373125,1.4376459,1.4379793,1.4383128,1.4386462,1.4389796,1.439313,1.4396466,1.43998,1.4403135,1.4406469,1.4409803,1.4413137,1.4416472,1.4419807,1.4423141,1.4426476,1.442981,1.4433144,1.4436479,1.4439813,1.4443147,1.4446483,1.4449817,1.4453151,1.4456486,1.445982,1.4463154,1.4466488,1.4469824,1.4473158,1.4476492,1.4479827,1.4483161,1.4486495,1.448983,1.4493164,1.4496499,1.4499834,1.4503168,1.4506502,1.4509836,1.4513171,1.4516505,1.451984,1.4523175,1.4526509,1.4529843,1.4533178,1.4536512,1.4539846,1.454318,1.4546516,1.454985,1.4553185,1.4556519,1.4559853,1.4563187,1.4566522,1.4569857,1.4573191,1.4576526,1.457986,1.4583194,1.4586529,1.4589863,1.4593198,1.4596533,1.4599867,1.4603201,1.4606535,1.460987,1.4613204,1.4616538,1.4619874,1.4623208,1.4626542,1.4629877,1.4633211,1.4636545,1.463988,1.4643215,1.4646549,1.4649884,1.4653218,1.4656552,1.4659886,1.4663221,1.4666555,1.466989,1.4673225,1.4676559,1.4679893,1.4683228,1.4686562,1.4689896,1.4693232,1.4696566,1.46999,1.4703234,1.4706569,1.4709903,1.4713237,1.4716573,1.4719907,1.4723241,1.4726576,1.472991,1.4733244,1.4736578,1.4739913,1.4743248,1.4746583,1.4749917,1.4753251,1.4756585,1.475992,1.4763254,1.4766589,1.4769924,1.4773258,1.4776592,1.4779927,1.4783261,1.4786595,1.4789929,1.4793265,1.4796599,1.4799933,1.4803268,1.4806602,1.4809936,1.481327,1.4816606,1.481994,1.4823275,1.4826609,1.4829943,1.4833277,1.4836612,1.4839947,1.4843282,1.4846616,1.484995,1.4853284,1.4856619,1.4859953,1.4863287,1.4866623,1.4869957,1.4873291,1.4876626,1.487996,1.4883294,1.4886628,1.4889964,1.4893298,1.4896632,1.4899967,1.4903301,1.4906635,1.490997,1.4913304,1.4916639,1.4919974,1.4923308,1.4926642,1.4929976,1.4933311,1.4936645,1.493998,1.4943315,1.4946649,1.4949983,1.4953318,1.4956652,1.4959986,1.4963322,1.4966656,1.496999,1.4973325,1.4976659,1.4979993,1.4983327,1.4986662,1.4989997,1.4993331,1.4996666,1.5]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.5_1.75.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.5_1.75.json new file mode 100644 index 000000000000..c01887ab1531 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.5_1.75.json @@ -0,0 +1 @@ +{"expected":[-0.47693628,-0.47749388,-0.47805163,-0.47860983,-0.4791683,-0.4797271,-0.48028603,-0.48084542,-0.4814051,-0.48196498,-0.48252526,-0.48308587,-0.48364675,-0.48420784,-0.48476934,-0.48533115,-0.48589313,-0.48645556,-0.4870183,-0.48758122,-0.48814458,-0.48870823,-0.4892722,-0.48983636,-0.49040094,-0.49096587,-0.49153095,-0.49209648,-0.49266234,-0.49322852,-0.49379486,-0.49436167,-0.49492878,-0.4954961,-0.49606386,-0.49663192,-0.4972003,-0.4977689,-0.49833795,-0.4989073,-0.49947685,-0.50004685,-0.5006172,-0.50118786,-0.50175875,-0.50233006,-0.5029017,-0.5034735,-0.50404584,-0.50461847,-0.5051913,-0.5057646,-0.50633824,-0.5069122,-0.50748634,-0.508061,-0.50863594,-0.5092111,-0.5097868,-0.51036274,-0.51093906,-0.5115156,-0.5120926,-0.5126699,-0.5132475,-0.5138255,-0.5144039,-0.5149826,-0.5155615,-0.5161409,-0.51672065,-0.5173006,-0.51788104,-0.5184619,-0.51904285,-0.51962435,-0.5202062,-0.52078843,-0.5213708,-0.5219537,-0.522537,-0.52312046,-0.52370447,-0.5242888,-0.5248735,-0.5254584,-0.5260438,-0.52662957,-0.52721554,-0.52780205,-0.5283889,-0.52897614,-0.52956355,-0.53015155,-0.53073984,-0.5313284,-0.53191745,-0.5325069,-0.5330967,-0.5336867,-0.5342772,-0.5348681,-0.5354593,-0.5360509,-0.53664297,-0.53723526,-0.537828,-0.5384212,-0.53901476,-0.53960854,-0.54020286,-0.54079753,-0.54139245,-0.5419879,-0.54258376,-0.54318,-0.54377645,-0.54437345,-0.5449708,-0.54556847,-0.5461666,-0.5467652,-0.5473641,-0.5479633,-0.54856306,-0.5491632,-0.54976356,-0.5503645,-0.55096585,-0.55156755,-0.5521695,-0.55277205,-0.55337495,-0.55397815,-0.5545819,-0.55518603,-0.5557904,-0.55639535,-0.5570007,-0.55760646,-0.55821246,-0.55881906,-0.55942607,-0.5600333,-0.5606411,-0.5612494,-0.561858,-0.5624669,-0.56307644,-0.5636863,-0.5642965,-0.56490725,-0.5655184,-0.56613,-0.5667418,-0.56735426,-0.5679671,-0.56858027,-0.56919396,-0.5698081,-0.5704227,-0.57103753,-0.571653,-0.57226884,-0.57288504,-0.57350177,-0.5741189,-0.5747364,-0.57535446,-0.575973,-0.5765919,-0.57721114,-0.5778309,-0.5784512,-0.57907176,-0.5796929,-0.5803145,-0.58093655,-0.58155894,-0.5821819,-0.5828053,-0.583429,-0.5840533,-0.58467805,-0.5853033,-0.58592886,-0.58655494,-0.58718157,-0.5878085,-0.588436,-0.589064,-0.5896923,-0.59032124,-0.5909506,-0.59158045,-0.59221065,-0.59284145,-0.5934727,-0.5941043,-0.5947365,-0.5953692,-0.5960024,-0.5966359,-0.59727,-0.5979046,-0.59853953,-0.59917516,-0.5998112,-0.6004477,-0.6010846,-0.6017221,-0.6023601,-0.6029985,-0.60363746,-0.60427696,-0.60491693,-0.60555726,-0.60619825,-0.6068397,-0.60748154,-0.60812396,-0.608767,-0.6094103,-0.61005425,-0.61069876,-0.61134374,-0.6119891,-0.61263514,-0.61328167,-0.61392856,-0.6145761,-0.6152242,-0.61587274,-0.6165217,-0.61717135,-0.61782146,-0.618472,-0.61912316,-0.6197749,-0.62042713,-0.62107974,-0.62173307,-0.6223869,-0.6230411,-0.623696,-0.62435144,-0.62500745,-0.62566376,-0.62632084,-0.6269784,-0.62763643,-0.62829506,-0.6289543,-0.62961394,-0.63027424,-0.63093513,-0.63159657,-0.63225836,-0.6329209,-0.63358396,-0.6342475,-0.63491166,-0.6355764,-0.63624173,-0.6369075,-0.63757396,-0.638241,-0.6389084,-0.63957655,-0.6402453,-0.6409146,-0.64158434,-0.64225477,-0.6429258,-0.64359725,-0.64426947,-0.6449422,-0.6456156,-0.64628935,-0.6469639,-0.64763904,-0.6483146,-0.64899087,-0.6496678,-0.65034515,-0.6510232,-0.6517019,-0.65238124,-0.653061,-0.6537415,-0.6544226,-0.6551041,-0.65578645,-0.6564694,-0.65715295,-0.6578369,-0.6585217,-0.6592071,-0.659893,-0.6605796,-0.66126686,-0.66195476,-0.6626431,-0.6633322,-0.664022,-0.66471225,-0.6654033,-0.66609496,-0.66678727,-0.66748005,-0.6681737,-0.6688679,-0.66956264,-0.67025816,-0.67095435,-0.671651,-0.6723485,-0.67304665,-0.67374545,-0.67444474,-0.67514485,-0.6758456,-0.6765469,-0.677249,-0.67795175,-0.6786552,-0.6793592,-0.68006396,-0.68076944,-0.6814754,-0.68218225,-0.68288976,-0.6835979,-0.6843067,-0.6850162,-0.68572646,-0.68643725,-0.6871489,-0.68786126,-0.68857414,-0.6892879,-0.6900023,-0.69071746,-0.6914332,-0.69214976,-0.69286704,-0.69358486,-0.6943036,-0.69502294,-0.69574314,-0.6964638,-0.6971854,-0.69790775,-0.69863063,-0.6993544,-0.7000789,-0.7008042,-0.70153,-0.7022567,-0.70298415,-0.7037122,-0.7044412,-0.70517087,-0.7059013,-0.7066324,-0.7073643,-0.7080971,-0.7088304,-0.7095646,-0.7102997,-0.7110353,-0.71177185,-0.7125092,-0.7132473,-0.71398604,-0.7147257,-0.71546614,-0.7162072,-0.7169492,-0.717692,-0.71843565,-0.71917987,-0.71992505,-0.72067106,-0.72141767,-0.7221653,-0.7229137,-0.7236629,-0.7244128,-0.72516364,-0.7259153,-0.72666764,-0.727421,-0.7281751,-0.7289301,-0.7296857,-0.73044235,-0.73119986,-0.731958,-0.73271716,-0.7334772,-0.73423785,-0.73499954,-0.7357621,-0.73652554,-0.7372896,-0.73805475,-0.73882073,-0.7395874,-0.7403552,-0.7411238,-0.7418933,-0.7426635,-0.7434347,-0.74420685,-0.74497974,-0.74575365,-0.74652845,-0.74730414,-0.7480806,-0.7488581,-0.74963653,-0.7504157,-0.7511959,-0.7519771,-0.75275916,-0.75354195,-0.75432587,-0.75511074,-0.75589633,-0.75668305,-0.7574707,-0.7582591,-0.7590487,-0.7598392,-0.7606306,-0.7614228,-0.76221615,-0.76301044,-0.76380557,-0.7646018,-0.76539904,-0.7661972,-0.7669962,-0.76779634,-0.7685974,-0.7693994,-0.7702025,-0.7710066,-0.7718117,-0.7726176,-0.77342474,-0.7742328,-0.77504176,-0.7758519,-0.77666306,-0.77747506,-0.7782883,-0.77910256,-0.77991784,-0.78073394,-0.7815513,-0.78236973,-0.783189,-0.78400946,-0.78483105,-0.78565365,-0.78647715,-0.78730196,-0.7881278,-0.7889545,-0.78978246,-0.79061157,-0.7914417,-0.79227275,-0.7931051,-0.7939386,-0.7947729,-0.7956086,-0.79644537,-0.79728323,-0.79812205,-0.7989622,-0.79980344,-0.80064565,-0.8014892,-0.8023339,-0.8031795,-0.8040265,-0.8048746,-0.8057239,-0.80657417,-0.8074258,-0.80827856,-0.80913234,-0.80998755,-0.8108439,-0.8117014,-0.8125599,-0.8134198],"x":[1.5,1.500501,1.501002,1.501503,1.502004,1.5025051,1.503006,1.503507,1.504008,1.504509,1.50501,1.505511,1.5060121,1.506513,1.507014,1.5075151,1.508016,1.508517,1.5090181,1.509519,1.51002,1.510521,1.5110221,1.511523,1.512024,1.5125251,1.513026,1.513527,1.5140281,1.5145291,1.51503,1.5155311,1.5160321,1.516533,1.517034,1.5175351,1.5180361,1.518537,1.5190381,1.5195391,1.52004,1.5205411,1.5210421,1.5215431,1.5220441,1.5225451,1.5230461,1.523547,1.5240481,1.5245491,1.52505,1.5255511,1.5260521,1.5265532,1.5270541,1.5275551,1.5280561,1.5285571,1.5290581,1.5295591,1.5300602,1.5305611,1.5310621,1.5315632,1.5320641,1.5325651,1.5330662,1.5335672,1.5340681,1.5345691,1.5350702,1.5355711,1.5360721,1.5365732,1.5370741,1.5375751,1.5380762,1.5385772,1.5390781,1.5395792,1.5400802,1.5405811,1.5410821,1.5415832,1.5420842,1.5425851,1.5430862,1.5435872,1.5440881,1.5445892,1.5450902,1.5455912,1.5460922,1.5465932,1.5470942,1.5475951,1.5480962,1.5485972,1.5490983,1.5495992,1.5501002,1.5506012,1.5511022,1.5516032,1.5521042,1.5526052,1.5531062,1.5536072,1.5541083,1.5546092,1.5551102,1.5556113,1.5561122,1.5566132,1.5571142,1.5576153,1.5581162,1.5586172,1.5591183,1.5596192,1.5601202,1.5606213,1.5611223,1.5616232,1.5621243,1.5626253,1.5631262,1.5636272,1.5641283,1.5646293,1.5651302,1.5656313,1.5661323,1.5666332,1.5671343,1.5676353,1.5681362,1.5686373,1.5691383,1.5696393,1.5701402,1.5706413,1.5711423,1.5716432,1.5721443,1.5726453,1.5731463,1.5736473,1.5741483,1.5746493,1.5751503,1.5756513,1.5761523,1.5766534,1.5771543,1.5776553,1.5781564,1.5786573,1.5791583,1.5796593,1.5801604,1.5806613,1.5811623,1.5816634,1.5821643,1.5826653,1.5831664,1.5836673,1.5841683,1.5846694,1.5851704,1.5856713,1.5861723,1.5866734,1.5871743,1.5876753,1.5881764,1.5886774,1.5891783,1.5896794,1.5901804,1.5906813,1.5911824,1.5916834,1.5921844,1.5926853,1.5931864,1.5936874,1.5941883,1.5946894,1.5951904,1.5956913,1.5961924,1.5966934,1.5971944,1.5976954,1.5981964,1.5986974,1.5991983,1.5996994,1.6002004,1.6007015,1.6012024,1.6017034,1.6022044,1.6027054,1.6032064,1.6037074,1.6042085,1.6047094,1.6052104,1.6057115,1.6062124,1.6067134,1.6072145,1.6077155,1.6082164,1.6087174,1.6092185,1.6097194,1.6102204,1.6107215,1.6112224,1.6117234,1.6122245,1.6127255,1.6132264,1.6137275,1.6142285,1.6147294,1.6152304,1.6157315,1.6162325,1.6167334,1.6172345,1.6177355,1.6182364,1.6187375,1.6192385,1.6197395,1.6202404,1.6207415,1.6212425,1.6217434,1.6222445,1.6227455,1.6232466,1.6237475,1.6242485,1.6247495,1.6252505,1.6257515,1.6262525,1.6267534,1.6272545,1.6277555,1.6282566,1.6287575,1.6292585,1.6297596,1.6302605,1.6307615,1.6312625,1.6317636,1.6322645,1.6327655,1.6332666,1.6337675,1.6342685,1.6347696,1.6352706,1.6357715,1.6362725,1.6367736,1.6372745,1.6377755,1.6382766,1.6387776,1.6392785,1.6397796,1.6402806,1.6407815,1.6412826,1.6417836,1.6422845,1.6427855,1.6432866,1.6437876,1.6442885,1.6447896,1.6452906,1.6457915,1.6462926,1.6467936,1.6472946,1.6477956,1.6482966,1.6487976,1.6492985,1.6497996,1.6503006,1.6508017,1.6513026,1.6518036,1.6523046,1.6528056,1.6533066,1.6538076,1.6543087,1.6548096,1.6553106,1.6558117,1.6563126,1.6568136,1.6573147,1.6578156,1.6583166,1.6588176,1.6593187,1.6598196,1.6603206,1.6608217,1.6613226,1.6618236,1.6623247,1.6628257,1.6633266,1.6638277,1.6643287,1.6648296,1.6653306,1.6658317,1.6663327,1.6668336,1.6673347,1.6678357,1.6683366,1.6688377,1.6693387,1.6698396,1.6703407,1.6708417,1.6713427,1.6718436,1.6723447,1.6728457,1.6733466,1.6738477,1.6743487,1.6748497,1.6753507,1.6758517,1.6763527,1.6768537,1.6773547,1.6778557,1.6783568,1.6788577,1.6793587,1.6798598,1.6803607,1.6808617,1.6813627,1.6818638,1.6823647,1.6828657,1.6833668,1.6838677,1.6843687,1.6848698,1.6853707,1.6858717,1.6863728,1.6868738,1.6873747,1.6878757,1.6883768,1.6888777,1.6893787,1.6898798,1.6903808,1.6908817,1.6913828,1.6918838,1.6923847,1.6928858,1.6933868,1.6938878,1.6943887,1.6948898,1.6953908,1.6958917,1.6963928,1.6968938,1.6973948,1.6978958,1.6983968,1.6988978,1.6993988,1.6998998,1.7004008,1.7009017,1.7014028,1.7019038,1.7024049,1.7029058,1.7034068,1.7039078,1.7044088,1.7049098,1.7054108,1.7059119,1.7064128,1.7069138,1.7074149,1.7079158,1.7084168,1.7089179,1.7094189,1.7099198,1.7104208,1.7109219,1.7114228,1.7119238,1.7124249,1.7129259,1.7134268,1.7139279,1.7144289,1.7149298,1.7154309,1.7159319,1.7164328,1.7169338,1.7174349,1.7179359,1.7184368,1.7189379,1.7194389,1.7199398,1.7204409,1.7209419,1.7214429,1.7219439,1.7224449,1.7229459,1.7234468,1.7239479,1.7244489,1.72495,1.7254509,1.7259519,1.726453,1.7269539,1.7274549,1.7279559,1.7284569,1.7289579,1.7294589,1.72996,1.7304609,1.7309619,1.731463,1.7319639,1.7324649,1.732966,1.733467,1.7339679,1.7344689,1.73497,1.7354709,1.7359719,1.736473,1.736974,1.7374749,1.737976,1.738477,1.7389779,1.739479,1.73998,1.740481,1.7409819,1.741483,1.741984,1.7424849,1.742986,1.743487,1.7439879,1.744489,1.74499,1.745491,1.745992,1.746493,1.746994,1.7474949,1.747996,1.748497,1.748998,1.749499,1.75]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.75_1.9998.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.75_1.9998.json new file mode 100644 index 000000000000..b0a23be3a609 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.75_1.9998.json @@ -0,0 +1 @@ +{"expected":[-0.8134198,-0.81428015,-0.8151419,-0.81600463,-0.81686854,-0.81773394,-0.81860036,-0.81946796,-0.82033706,-0.82120717,-0.82207847,-0.8229513,-0.8238251,-0.8247005,-0.82557684,-0.8264545,-0.8273336,-0.8282138,-0.8290953,-0.8299783,-0.8308624,-0.8317478,-0.8326347,-0.8335227,-0.834412,-0.8353028,-0.83619475,-0.83708805,-0.8379829,-0.83887887,-0.8397762,-0.8406751,-0.84157515,-0.84247655,-0.8433795,-0.8442837,-0.8451892,-0.84609634,-0.84700465,-0.8479146,-0.8488257,-0.84973824,-0.8506524,-0.8515678,-0.8524846,-0.85340303,-0.85432273,-0.85524386,-0.85616666,-0.8570907,-0.8580162,-0.8589434,-0.85987186,-0.8608018,-0.8617335,-0.8626664,-0.86360085,-0.864537,-0.86547446,-0.8664135,-0.8673542,-0.86829627,-0.86923987,-0.87018526,-0.87113196,-0.87208045,-0.8730303,-0.8739817,-0.874935,-0.87588954,-0.8768458,-0.8778038,-0.8787632,-0.87972426,-0.8806871,-0.88165146,-0.88261735,-0.8835852,-0.88455445,-0.8855254,-0.8864982,-0.88747245,-0.8884484,-0.8894263,-0.89040565,-0.89138675,-0.89236975,-0.89335424,-0.89434075,-0.89532876,-0.8963185,-0.8973102,-0.8983035,-0.89929855,-0.9002956,-0.90129423,-0.90229464,-0.9032971,-0.90430117,-0.90530705,-0.90631497,-0.90732455,-0.908336,-0.9093495,-0.9103646,-0.91138166,-0.9124008,-0.91342163,-0.9144443,-0.9154692,-0.91649574,-0.9175243,-0.91855496,-0.9195873,-0.92062193,-0.9216583,-0.9226966,-0.92373717,-0.9247795,-0.9258238,-0.9268704,-0.9279188,-0.9289692,-0.93002194,-0.93107647,-0.9321331,-0.9331921,-0.93425286,-0.9353158,-0.93638104,-0.9374482,-0.9385175,-0.9395892,-0.9406628,-0.9417386,-0.94281685,-0.943897,-0.94497937,-0.94606423,-0.94715106,-0.94824034,-0.9493317,-0.95042527,-0.9515214,-0.95261955,-0.95372,-0.954823,-0.9559281,-0.95703554,-0.9581456,-0.9592577,-0.96037227,-0.9614895,-0.9626088,-0.9637305,-0.96485496,-0.9659816,-0.9671107,-0.9682425,-0.96937656,-0.97051305,-0.9716524,-0.97279394,-0.97393835,-0.975085,-0.97623426,-0.97738636,-0.9785408,-0.9796978,-0.9808578,-0.9820201,-0.98318505,-0.98435295,-0.98552334,-0.98669636,-0.9878724,-0.9890509,-0.99023217,-0.99141645,-0.9926033,-0.9937929,-0.99498564,-0.9961809,-0.997379,-0.99858034,-0.9997842,-1.000991,-1.002201,-1.0034137,-1.0046295,-1.0058482,-1.0070697,-1.0082946,-1.0095222,-1.0107529,-1.011987,-1.0132238,-1.0144638,-1.0157071,-1.0169533,-1.0182028,-1.0194557,-1.0207114,-1.0219704,-1.0232329,-1.0244985,-1.0257673,-1.0270398,-1.0283152,-1.0295941,-1.0308765,-1.0321622,-1.0334512,-1.0347439,-1.0360398,-1.0373396,-1.0386425,-1.0399489,-1.0412593,-1.0425729,-1.0438901,-1.0452113,-1.0465358,-1.047864,-1.0491962,-1.0505319,-1.0518712,-1.0532147,-1.0545617,-1.0559125,-1.0572675,-1.0586262,-1.0599886,-1.0613554,-1.0627258,-1.0641003,-1.065479,-1.0668615,-1.0682485,-1.0696392,-1.0710341,-1.0724335,-1.0738368,-1.0752443,-1.0766565,-1.0780725,-1.0794929,-1.0809181,-1.0823473,-1.0837809,-1.0852194,-1.086662,-1.0881091,-1.0895612,-1.0910176,-1.0924785,-1.0939445,-1.0954149,-1.09689,-1.0983703,-1.0998551,-1.1013446,-1.1028395,-1.1043389,-1.1058438,-1.1073532,-1.1088676,-1.1103877,-1.1119125,-1.1134424,-1.114978,-1.1165184,-1.1180642,-1.1196157,-1.1211723,-1.1227343,-1.1243021,-1.1258752,-1.1274538,-1.1290385,-1.1306285,-1.1322242,-1.133826,-1.1354333,-1.1370466,-1.1386662,-1.1402913,-1.1419228,-1.1435602,-1.1452036,-1.1468537,-1.1485096,-1.1501719,-1.1518409,-1.1535159,-1.1551975,-1.1568861,-1.1585808,-1.1602823,-1.1619909,-1.1637058,-1.1654277,-1.1671569,-1.1688927,-1.1706356,-1.172386,-1.1741432,-1.1759077,-1.17768,-1.1794593,-1.1812462,-1.1830409,-1.184843,-1.1866531,-1.1884706,-1.190296,-1.19213,-1.1939714,-1.195821,-1.1976793,-1.1995454,-1.2014198,-1.2033033,-1.205195,-1.2070951,-1.2090045,-1.2109224,-1.2128491,-1.2147855,-1.2167305,-1.2186847,-1.2206488,-1.2226218,-1.2246045,-1.2265972,-1.2285993,-1.2306113,-1.2326337,-1.2346659,-1.2367088,-1.2387614,-1.2408247,-1.2428991,-1.2449837,-1.2470791,-1.2491862,-1.2513038,-1.2534328,-1.2555735,-1.2577255,-1.2598891,-1.262065,-1.2642525,-1.2664523,-1.2686648,-1.2708893,-1.2731264,-1.2753769,-1.2776397,-1.2799159,-1.2822058,-1.2845088,-1.286826,-1.2891567,-1.2915013,-1.2938608,-1.2962343,-1.2986224,-1.301026,-1.303444,-1.3058776,-1.3083272,-1.3107921,-1.313273,-1.3157707,-1.3182844,-1.3208148,-1.323363,-1.3259277,-1.32851,-1.331111,-1.3337293,-1.3363659,-1.339022,-1.3416965,-1.3443903,-1.3471044,-1.3498379,-1.3525922,-1.3553667,-1.3581622,-1.3609797,-1.3638183,-1.3666791,-1.3695631,-1.3724694,-1.375399,-1.3783532,-1.3813308,-1.3843333,-1.3873616,-1.3904148,-1.3934941,-1.396601,-1.3997341,-1.4028951,-1.4060851,-1.4093032,-1.4125507,-1.4158292,-1.4191375,-1.4224771,-1.4258497,-1.4292542,-1.432693,-1.4361651,-1.4396722,-1.443216,-1.4467955,-1.4504125,-1.4540687,-1.4577633,-1.4614981,-1.4652752,-1.4690934,-1.4729551,-1.4768622,-1.4808139,-1.4848124,-1.4888599,-1.4929558,-1.4971025,-1.5013022,-1.5055546,-1.5098622,-1.5142275,-1.5186503,-1.5231344,-1.5276794,-1.5322886,-1.5369649,-1.5417082,-1.5465219,-1.5514096,-1.5563713,-1.5614109,-1.5665324,-1.571736,-1.5770262,-1.5824075,-1.5878806,-1.5934507,-1.5991226,-1.6048981,-1.6107826,-1.6167824,-1.6228993,-1.6291401,-1.6355121,-1.6420181,-1.6486661,-1.6554648,-1.6624184,-1.6695383,-1.6768298,-1.6843041,-1.6919734,-1.6998451,-1.7079333,-1.7162533,-1.7248158,-1.733639,-1.7427429,-1.7521429,-1.7618631,-1.7719306,-1.7823681,-1.793209,-1.8044912,-1.8162495,-1.8285327,-1.8413968,-1.8548976,-1.8691105,-1.8841249,-1.9000362,-1.9169719,-1.9350889,-1.9545679,-1.9756589,-1.9986635,-2.0240006,-2.0522447,-2.0841916,-2.1210592,-2.1647995,-2.2188058,-2.2900205,-2.3966303,-2.629712],"x":[1.75,1.7505006,1.7510012,1.7515018,1.7520024,1.752503,1.7530036,1.7535042,1.7540048,1.7545054,1.755006,1.7555066,1.7560072,1.7565079,1.7570084,1.757509,1.7580097,1.7585102,1.7590108,1.7595115,1.760012,1.7605126,1.7610133,1.7615138,1.7620144,1.7625151,1.7630156,1.7635162,1.7640169,1.7645174,1.765018,1.7655187,1.7660192,1.7665198,1.7670205,1.767521,1.7680216,1.7685223,1.7690228,1.7695235,1.7700241,1.7705246,1.7710253,1.7715259,1.7720264,1.7725271,1.7730277,1.7735282,1.7740289,1.7745295,1.77503,1.7755307,1.7760313,1.7765318,1.7770325,1.777533,1.7780336,1.7785343,1.7790349,1.7795354,1.7800361,1.7805367,1.7810372,1.7815379,1.7820385,1.7825391,1.7830397,1.7835402,1.7840409,1.7845415,1.785042,1.7855427,1.7860433,1.7865438,1.7870445,1.7875451,1.7880456,1.7885463,1.7890469,1.7895474,1.7900481,1.7905487,1.7910492,1.7915499,1.7920505,1.792551,1.7930517,1.7935523,1.794053,1.7945535,1.7950541,1.7955548,1.7960553,1.7965559,1.7970566,1.7975571,1.7980577,1.7985584,1.7990589,1.7995595,1.8000602,1.8005607,1.8010613,1.801562,1.8020625,1.8025631,1.8030638,1.8035643,1.8040649,1.8045655,1.8050661,1.8055667,1.8060673,1.8065679,1.8070686,1.8075691,1.8080697,1.8085704,1.809071,1.8095715,1.8100722,1.8105727,1.8110733,1.811574,1.8120745,1.8125751,1.8130758,1.8135763,1.8140769,1.8145776,1.8150781,1.8155787,1.8160794,1.8165799,1.8170805,1.8175812,1.8180817,1.8185823,1.819083,1.8195835,1.8200842,1.8205848,1.8210853,1.821586,1.8220866,1.8225871,1.8230878,1.8235884,1.8240889,1.8245896,1.8250902,1.8255907,1.8260914,1.826592,1.8270925,1.8275932,1.8280938,1.8285943,1.829095,1.8295956,1.8300961,1.8305968,1.8310974,1.831598,1.8320986,1.8325992,1.8330998,1.8336004,1.834101,1.8346016,1.8351022,1.8356028,1.8361034,1.836604,1.8371046,1.8376052,1.8381058,1.8386064,1.839107,1.8396076,1.8401082,1.8406088,1.8411094,1.84161,1.8421106,1.8426112,1.8431118,1.8436124,1.844113,1.8446137,1.8451142,1.8456148,1.8461155,1.846616,1.8471166,1.8476173,1.8481178,1.8486184,1.8491191,1.8496196,1.8501202,1.8506209,1.8511214,1.851622,1.8521227,1.8526232,1.8531238,1.8536245,1.854125,1.8546256,1.8551263,1.8556268,1.8561274,1.8566281,1.8571286,1.8576293,1.8581299,1.8586304,1.8591311,1.8596317,1.8601322,1.8606329,1.8611335,1.861634,1.8621347,1.8626353,1.8631358,1.8636365,1.864137,1.8646376,1.8651383,1.8656389,1.8661394,1.8666401,1.8671407,1.8676412,1.8681419,1.8686424,1.8691431,1.8696437,1.8701442,1.8706449,1.8711455,1.871646,1.8721467,1.8726473,1.8731478,1.8736485,1.8741491,1.8746496,1.8751503,1.8756509,1.8761514,1.8766521,1.8771527,1.8776532,1.8781539,1.8786545,1.879155,1.8796557,1.8801563,1.8806568,1.8811575,1.8816581,1.8821588,1.8826593,1.8831599,1.8836606,1.8841611,1.8846617,1.8851624,1.8856629,1.8861635,1.8866642,1.8871647,1.8876653,1.888166,1.8886665,1.8891671,1.8896677,1.8901683,1.8906689,1.8911695,1.8916701,1.8921707,1.8926713,1.8931719,1.8936726,1.8941731,1.8946737,1.8951744,1.895675,1.8961755,1.8966762,1.8971767,1.8976773,1.898178,1.8986785,1.8991791,1.8996798,1.9001803,1.9006809,1.9011816,1.9016821,1.9021827,1.9026834,1.9031839,1.9036845,1.9041852,1.9046857,1.9051863,1.905687,1.9061875,1.9066882,1.9071888,1.9076893,1.90819,1.9086906,1.9091911,1.9096918,1.9101924,1.9106929,1.9111936,1.9116942,1.9121947,1.9126954,1.913196,1.9136965,1.9141972,1.9146978,1.9151983,1.915699,1.9161996,1.9167001,1.9172008,1.9177014,1.9182019,1.9187026,1.9192032,1.9197038,1.9202044,1.920705,1.9212056,1.9217062,1.9222068,1.9227074,1.923208,1.9237086,1.9242092,1.9247098,1.9252104,1.925711,1.9262116,1.9267122,1.9272128,1.9277134,1.928214,1.9287146,1.9292152,1.9297158,1.9302164,1.930717,1.9312177,1.9317182,1.9322188,1.9327195,1.93322,1.9337206,1.9342213,1.9347218,1.9352224,1.9357231,1.9362236,1.9367242,1.9372249,1.9377254,1.938226,1.9387267,1.9392272,1.9397278,1.9402285,1.940729,1.9412296,1.9417303,1.9422308,1.9427314,1.943232,1.9437326,1.9442333,1.9447339,1.9452344,1.9457351,1.9462357,1.9467362,1.9472369,1.9477375,1.948238,1.9487387,1.9492393,1.9497398,1.9502405,1.950741,1.9512416,1.9517423,1.9522429,1.9527434,1.9532441,1.9537446,1.9542452,1.9547459,1.9552464,1.955747,1.9562477,1.9567482,1.9572489,1.9577495,1.95825,1.9587507,1.9592513,1.9597518,1.9602525,1.9607531,1.9612536,1.9617543,1.9622549,1.9627554,1.9632561,1.9637567,1.9642572,1.9647579,1.9652585,1.965759,1.9662597,1.9667603,1.9672608,1.9677615,1.9682621,1.9687628,1.9692633,1.9697639,1.9702646,1.9707651,1.9712657,1.9717664,1.9722669,1.9727675,1.9732682,1.9737687,1.9742693,1.97477,1.9752705,1.9757711,1.9762717,1.9767723,1.9772729,1.9777735,1.9782741,1.9787747,1.9792753,1.9797759,1.9802765,1.9807771,1.9812777,1.9817784,1.982279,1.9827795,1.9832802,1.9837807,1.9842813,1.984782,1.9852825,1.9857831,1.9862838,1.9867843,1.9872849,1.9877856,1.9882861,1.9887867,1.9892874,1.9897879,1.9902885,1.9907892,1.9912897,1.9917903,1.992291,1.9927915,1.9932921,1.9937928,1.9942933,1.994794,1.9952946,1.9957951,1.9962958,1.9967964,1.9972969,1.9977976,1.9982982,1.9987987,1.9992994,1.9998]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.9998_1.9999..8.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.9998_1.9999..8.json new file mode 100644 index 000000000000..f70743f052f7 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.9998_1.9999..8.json @@ -0,0 +1 @@ +{"expected":[-2.629712,-2.6300318,-2.6304588,-2.6307797,-2.6311011,-2.6315305,-2.6318533,-2.6322844,-2.6326084,-2.632933,-2.6333666,-2.6336925,-2.634019,-2.634455,-2.6347826,-2.6351109,-2.6355495,-2.635879,-2.6362092,-2.6366506,-2.636982,-2.637425,-2.6377578,-2.6380913,-2.638537,-2.638872,-2.6392074,-2.6396554,-2.6399922,-2.6403298,-2.6407807,-2.6411195,-2.6415722,-2.6419125,-2.6422534,-2.6427088,-2.6430511,-2.6433942,-2.6438525,-2.6441967,-2.6445417,-2.6450028,-2.6453493,-2.6458123,-2.6461604,-2.646509,-2.6469748,-2.647325,-2.6476758,-2.6481445,-2.6484969,-2.64885,-2.6493216,-2.649676,-2.6500313,-2.650506,-2.6508627,-2.6513393,-2.6516979,-2.6520567,-2.6525366,-2.6528971,-2.6532586,-2.6537414,-2.6541042,-2.654468,-2.654954,-2.6553192,-2.6558075,-2.6561744,-2.656542,-2.6570334,-2.6574028,-2.6577728,-2.6582675,-2.6586392,-2.6590116,-2.6595097,-2.6598837,-2.6602588,-2.66076,-2.6611366,-2.6616402,-2.6620188,-2.662398,-2.662905,-2.6632862,-2.663668,-2.6641784,-2.664562,-2.6649466,-2.6654603,-2.6658466,-2.666363,-2.6667511,-2.6671402,-2.66766,-2.668051,-2.6684427,-2.6689663,-2.66936,-2.6697543,-2.6702814,-2.670678,-2.6712077,-2.671606,-2.6720054,-2.672539,-2.6729403,-2.6733422,-2.6738796,-2.6742837,-2.6746888,-2.67523,-2.675637,-2.676045,-2.6765904,-2.6770003,-2.6775484,-2.6779606,-2.6783736,-2.6789258,-2.6793408,-2.679757,-2.6803133,-2.6807315,-2.6811507,-2.6817112,-2.6821327,-2.682696,-2.6831198,-2.6835444,-2.684112,-2.6845388,-2.6849668,-2.6855388,-2.685969,-2.6864002,-2.6869767,-2.6874104,-2.68799,-2.6884258,-2.6888628,-2.689447,-2.689886,-2.6903267,-2.6909153,-2.691358,-2.691802,-2.6923957,-2.692842,-2.6932893,-2.6938877,-2.6943376,-2.6949394,-2.695392,-2.6958456,-2.6964521,-2.6969082,-2.6973658,-2.6979773,-2.6984375,-2.6988986,-2.699515,-2.699979,-2.7005994,-2.701066,-2.7015338,-2.7021592,-2.7026298,-2.7031016,-2.7037325,-2.704207,-2.7046828,-2.7053192,-2.7057977,-2.7062776,-2.7069194,-2.7074022,-2.708048,-2.7085338,-2.7090209,-2.7096725,-2.7101624,-2.7106538,-2.711311,-2.7118056,-2.7123015,-2.7129645,-2.7134635,-2.7141309,-2.714633,-2.7151365,-2.7158098,-2.7163167,-2.7168248,-2.7175045,-2.718016,-2.7185287,-2.7192147,-2.7197309,-2.7204216,-2.720941,-2.721462,-2.7221591,-2.7226837,-2.7232099,-2.7239134,-2.7244432,-2.7249742,-2.725685,-2.7262197,-2.7267559,-2.7274733,-2.7280133,-2.7287357,-2.7292795,-2.7298248,-2.7305546,-2.7311037,-2.7316544,-2.7323916,-2.7329462,-2.7335026,-2.734247,-2.7348075,-2.7355573,-2.7361217,-2.736688,-2.7374454,-2.7380157,-2.7385879,-2.7393534,-2.7399297,-2.7405078,-2.7412813,-2.7418637,-2.742448,-2.74323,-2.7438188,-2.7446065,-2.7451997,-2.7457948,-2.7465913,-2.747191,-2.7477927,-2.7485979,-2.7492042,-2.7498126,-2.7506268,-2.75124,-2.752061,-2.7526789,-2.753299,-2.754129,-2.754754,-2.7553813,-2.756221,-2.7568536,-2.757488,-2.7583375,-2.7589774,-2.759834,-2.760479,-2.7611265,-2.7619934,-2.7626462,-2.7633014,-2.7641788,-2.7648396,-2.765503,-2.766391,-2.7670598,-2.7677314,-2.7686305,-2.7693079,-2.7702148,-2.770898,-2.771584,-2.7725027,-2.7731948,-2.7738895,-2.7748199,-2.7755208,-2.7762246,-2.7771673,-2.7778776,-2.7788289,-2.7795458,-2.7802653,-2.7812295,-2.781956,-2.7826855,-2.7836626,-2.784399,-2.7851384,-2.7861292,-2.7868757,-2.7876256,-2.78863,-2.7893872,-2.7904017,-2.7911663,-2.7919343,-2.7929633,-2.793739,-2.794518,-2.7955623,-2.7963493,-2.79714,-2.7981994,-2.798998,-2.8000689,-2.800876,-2.801687,-2.802774,-2.8035934,-2.804417,-2.8055205,-2.8063529,-2.8071892,-2.8083103,-2.8091557,-2.8102894,-2.8111444,-2.8120036,-2.8131554,-2.8140244,-2.8148975,-2.8160686,-2.8169518,-2.8178396,-2.8190303,-2.8199284,-2.8208313,-2.8220422,-2.8229558,-2.8241813,-2.8251061,-2.8260357,-2.827283,-2.8282242,-2.8291705,-2.83044,-2.8313982,-2.8323617,-2.8336544,-2.8346303,-2.83594,-2.8369286,-2.8379228,-2.839257,-2.8402646,-2.8412778,-2.842638,-2.8436651,-2.8446982,-2.846085,-2.8471327,-2.8481865,-2.8496013,-2.85067,-2.8521051,-2.8531895,-2.8542802,-2.8557456,-2.8568525,-2.8579664,-2.859463,-2.8605938,-2.861732,-2.8632612,-2.864417,-2.8659701,-2.8671439,-2.868326,-2.8699143,-2.8711152,-2.8723245,-2.8739498,-2.875179,-2.876417,-2.8780813,-2.87934,-2.8810327,-2.8823133,-2.8836033,-2.8853383,-2.886651,-2.887974,-2.8897536,-2.8911004,-2.892458,-2.8942845,-2.8956673,-2.897061,-2.8989375,-2.9003582,-2.9022708,-2.9037194,-2.9051802,-2.9071476,-2.908638,-2.9101415,-2.9121666,-2.9137015,-2.91525,-2.917337,-2.9189188,-2.921051,-2.922668,-2.9243002,-2.926501,-2.9281704,-2.9298563,-2.9321306,-2.9338562,-2.9355996,-2.9379523,-2.9397383,-2.9421492,-2.9439802,-2.945831,-2.9483306,-2.95023,-2.9521508,-2.954746,-2.9567192,-2.9587154,-2.9614143,-2.9634671,-2.9655454,-2.9683568,-2.9704964,-2.9733925,-2.9755976,-2.977832,-2.9808586,-2.9831648,-2.985503,-2.9886725,-2.9910896,-2.9935422,-2.9968693,-2.9994092,-3.0028567,-3.00549,-3.0081656,-3.0118015,-3.0145817,-3.0174093,-3.021256,-3.024201,-3.0271993,-3.0312836,-3.0344148,-3.0376062,-3.0419605,-3.0453036,-3.0498695,-3.0533795,-3.0569663,-3.0618744,-3.0656548,-3.069525,-3.0748324,-3.07893,-3.0831335,-3.0889134,-3.0933878,-3.099553,-3.104337,-3.1092672,-3.116085,-3.1213958,-3.1268885,-3.1345184,-3.1404905,-3.1466951,-3.1553643,-3.162192,-3.1717803,-3.1793747,-3.1873543,-3.1986678,-3.2077248,-3.2173407,-3.2311642,-3.2424076,-3.2545354,-3.2723575,-3.2872355,-3.3037283,-3.3289547,-3.3511117,-3.3869464,-3.4210062,-3.4655051,-3.5605698,-3.7439213],"x":[1.9998,1.9998003,1.9998008,1.9998012,1.9998015,1.999802,1.9998024,1.9998028,1.9998032,1.9998035,1.999804,1.9998044,1.9998047,1.9998052,1.9998056,1.9998059,1.9998064,1.9998068,1.9998071,1.9998076,1.999808,1.9998084,1.9998088,1.9998091,1.9998096,1.99981,1.9998103,1.9998108,1.9998112,1.9998115,1.999812,1.9998124,1.9998128,1.9998132,1.9998136,1.999814,1.9998144,1.9998147,1.9998152,1.9998156,1.999816,1.9998164,1.9998168,1.9998173,1.9998176,1.999818,1.9998184,1.9998188,1.9998192,1.9998196,1.99982,1.9998204,1.9998208,1.9998212,1.9998215,1.999822,1.9998224,1.9998229,1.9998232,1.9998236,1.999824,1.9998244,1.9998248,1.9998252,1.9998256,1.999826,1.9998264,1.9998268,1.9998273,1.9998276,1.999828,1.9998285,1.9998288,1.9998292,1.9998296,1.99983,1.9998304,1.9998308,1.9998312,1.9998316,1.999832,1.9998324,1.9998329,1.9998332,1.9998336,1.9998341,1.9998344,1.9998348,1.9998353,1.9998356,1.999836,1.9998364,1.9998368,1.9998373,1.9998376,1.999838,1.9998385,1.9998388,1.9998392,1.9998397,1.99984,1.9998404,1.9998409,1.9998412,1.9998417,1.999842,1.9998424,1.9998429,1.9998432,1.9998436,1.9998441,1.9998444,1.9998448,1.9998453,1.9998456,1.999846,1.9998465,1.9998468,1.9998473,1.9998477,1.999848,1.9998485,1.9998488,1.9998492,1.9998497,1.99985,1.9998504,1.9998509,1.9998512,1.9998517,1.9998521,1.9998524,1.9998529,1.9998533,1.9998536,1.9998541,1.9998544,1.9998548,1.9998553,1.9998556,1.9998561,1.9998565,1.9998568,1.9998573,1.9998577,1.999858,1.9998585,1.9998589,1.9998592,1.9998597,1.99986,1.9998604,1.9998609,1.9998612,1.9998617,1.9998621,1.9998624,1.9998629,1.9998633,1.9998636,1.9998641,1.9998645,1.9998648,1.9998653,1.9998657,1.9998661,1.9998665,1.9998668,1.9998673,1.9998677,1.999868,1.9998685,1.9998689,1.9998692,1.9998697,1.9998701,1.9998704,1.9998709,1.9998713,1.9998717,1.9998721,1.9998724,1.9998729,1.9998733,1.9998736,1.9998741,1.9998745,1.9998748,1.9998753,1.9998757,1.9998761,1.9998765,1.9998769,1.9998773,1.9998777,1.999878,1.9998785,1.9998789,1.9998792,1.9998797,1.9998801,1.9998806,1.9998809,1.9998813,1.9998817,1.9998821,1.9998825,1.9998829,1.9998833,1.9998837,1.9998841,1.9998845,1.9998848,1.9998853,1.9998857,1.9998862,1.9998865,1.9998869,1.9998873,1.9998877,1.9998881,1.9998885,1.9998889,1.9998893,1.9998897,1.9998901,1.9998906,1.9998909,1.9998913,1.9998918,1.9998921,1.9998925,1.999893,1.9998933,1.9998937,1.9998941,1.9998945,1.9998949,1.9998953,1.9998957,1.9998962,1.9998965,1.9998969,1.9998974,1.9998977,1.9998981,1.9998986,1.9998989,1.9998993,1.9998997,1.9999001,1.9999006,1.9999009,1.9999013,1.9999018,1.9999021,1.9999025,1.999903,1.9999033,1.9999037,1.9999042,1.9999045,1.999905,1.9999053,1.9999057,1.9999062,1.9999065,1.9999069,1.9999074,1.9999077,1.9999081,1.9999086,1.9999089,1.9999093,1.9999098,1.9999101,1.9999106,1.999911,1.9999113,1.9999118,1.9999121,1.9999125,1.999913,1.9999133,1.9999137,1.9999142,1.9999145,1.999915,1.9999154,1.9999157,1.9999162,1.9999166,1.9999169,1.9999174,1.9999177,1.9999181,1.9999186,1.9999189,1.9999193,1.9999198,1.9999201,1.9999206,1.999921,1.9999213,1.9999218,1.9999222,1.9999225,1.999923,1.9999233,1.9999237,1.9999242,1.9999245,1.999925,1.9999254,1.9999257,1.9999262,1.9999266,1.9999269,1.9999274,1.9999278,1.9999281,1.9999286,1.999929,1.9999294,1.9999298,1.9999301,1.9999306,1.999931,1.9999313,1.9999318,1.9999322,1.9999325,1.999933,1.9999334,1.9999337,1.9999342,1.9999346,1.999935,1.9999354,1.9999357,1.9999362,1.9999366,1.9999369,1.9999374,1.9999378,1.9999381,1.9999386,1.999939,1.9999394,1.9999398,1.9999402,1.9999406,1.999941,1.9999413,1.9999418,1.9999422,1.9999425,1.999943,1.9999434,1.9999437,1.9999442,1.9999446,1.999945,1.9999454,1.9999458,1.9999462,1.9999466,1.999947,1.9999474,1.9999478,1.9999481,1.9999486,1.999949,1.9999495,1.9999498,1.9999502,1.9999506,1.999951,1.9999514,1.9999518,1.9999522,1.9999526,1.999953,1.9999534,1.9999539,1.9999542,1.9999546,1.999955,1.9999554,1.9999558,1.9999563,1.9999566,1.999957,1.9999574,1.9999578,1.9999582,1.9999586,1.999959,1.9999595,1.9999598,1.9999602,1.9999607,1.999961,1.9999614,1.9999619,1.9999622,1.9999626,1.999963,1.9999634,1.9999639,1.9999642,1.9999646,1.9999651,1.9999654,1.9999658,1.9999663,1.9999666,1.999967,1.9999675,1.9999678,1.9999683,1.9999686,1.999969,1.9999695,1.9999698,1.9999702,1.9999707,1.999971,1.9999714,1.9999719,1.9999722,1.9999726,1.999973,1.9999734,1.9999739,1.9999743,1.9999746,1.9999751,1.9999754,1.9999758,1.9999763,1.9999766,1.999977,1.9999775,1.9999778,1.9999783,1.9999787,1.999979,1.9999795,1.9999799,1.9999802,1.9999807,1.999981,1.9999814,1.9999819,1.9999822,1.9999826,1.9999831,1.9999834,1.9999839,1.9999843,1.9999846,1.9999851,1.9999855,1.9999858,1.9999863,1.9999866,1.999987,1.9999875,1.9999878,1.9999883,1.9999887,1.999989,1.9999895,1.9999899,1.9999902,1.9999907,1.999991,1.9999914,1.9999919,1.9999923,1.9999927,1.9999931,1.9999934,1.9999939,1.9999943,1.9999946,1.9999951,1.9999955,1.9999958,1.9999963,1.9999967,1.999997,1.9999975,1.9999979,1.9999983,1.9999987,1.999999,1.9999995,1.9999999]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.9999..8_2.json b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.9999..8_2.json new file mode 100644 index 000000000000..6a8450e6ba9d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/fixtures/julia/x_1.9999..8_2.json @@ -0,0 +1 @@ +{"expected":[-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213,-3.7439213],"x":[1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999,1.9999999]} diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/test.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/test.js new file mode 100644 index 000000000000..6f2b2be2486f --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/test.js @@ -0,0 +1,239 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var f32 = require( '@stdlib/number/float64/base/to-float32' ); +var isAlmostSameValue = require( '@stdlib/number/float32/base/assert/is-almost-same-value' ); +var erfcinvf = require( './../lib' ); + + +// FIXTURES // + +var x1 = require( './fixtures/julia/x_0.5_1.5.json' ); +var x2 = require( './fixtures/julia/x_0.25_0.5.json' ); +var x3 = require( './fixtures/julia/x_1.5_1.75.json' ); +var x4 = require( './fixtures/julia/x_1.75_1.9998.json' ); +var x5 = require( './fixtures/julia/x_0.0002_0.25.json' ); +var x6 = require( './fixtures/julia/x_1.9998_1.9999..8.json' ); +var x7 = require( './fixtures/julia/x_1.9999..8_2.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof erfcinvf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `NaN`, the function returns `NaN`', function test( t ) { + var v = erfcinvf( NaN ); + t.strictEqual( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `0`, the function returns `+infinity`', function test( t ) { + var v = erfcinvf( 0.0 ); + t.strictEqual( v, PINF, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `2`, the function returns `-infinity`', function test( t ) { + var v = erfcinvf( 2.0 ); + t.strictEqual( v, NINF, 'returns expected value`' ); + t.end(); +}); + +tape( 'if provided `1`, the function returns `0`', function test( t ) { + var v = erfcinvf( 1.0 ); + t.strictEqual( isPositiveZero( v ), true, 'returns expected value`' ); + t.end(); +}); + +tape( 'if provided a value which is either less than `0` or greater than `2`, the function returns `NaN`', function test( t ) { + var values; + var v; + var i; + + values = [ + 3.14, + -3.14, + -0.00000001, + 2.00000001, + PINF, + NINF + ]; + + for ( i = 0; i < values.length; i++ ) { + v = erfcinvf( values[i] ); + if ( values[i] === 2.00000001 ) { + t.ok( isnanf( v ) || v === NINF, 'returns expected value when provided '+values[i]+': '+v ); + } else { + t.strictEqual( isnanf( v ), true, 'returns expected value when provided '+values[i] ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[0.5,1.5]`', function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 4; + expected = x1.expected; + x = x1.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[0.25,0.5]`', function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 3; + expected = x2.expected; + x = x2.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.5,1.75]`', function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 3; + expected = x3.expected; + x = x3.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.75,1.9998]`', function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 4; + expected = x4.expected; + x = x4.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[0.0002,0.25]`', function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 3; + expected = x5.expected; + x = x5.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.9998,1.9999..8]`', function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 24; + expected = x6.expected; + x = x6.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.9999..8,2]`', function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 24; + expected = x7.expected; + x = x7.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/test.native.js new file mode 100644 index 000000000000..bf1e0228bba6 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/erfcinvf/test/test.native.js @@ -0,0 +1,249 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2026 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var tape = require( 'tape' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var isPositiveZero = require( '@stdlib/math/base/assert/is-positive-zero' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var f32 = require( '@stdlib/number/float64/base/to-float32' ); +var isAlmostSameValue = require( '@stdlib/number/float32/base/assert/is-almost-same-value' ); + + +// FIXTURES // + +var x1 = require( './fixtures/julia/x_0.5_1.5.json' ); +var x2 = require( './fixtures/julia/x_0.25_0.5.json' ); +var x3 = require( './fixtures/julia/x_1.5_1.75.json' ); +var x4 = require( './fixtures/julia/x_1.75_1.9998.json' ); +var x5 = require( './fixtures/julia/x_0.0002_0.25.json' ); +var x6 = require( './fixtures/julia/x_1.9998_1.9999..8.json' ); +var x7 = require( './fixtures/julia/x_1.9999..8_2.json' ); + + +// VARIABLES // + +var erfcinvf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( erfcinvf instanceof Error ) +}; + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof erfcinvf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `NaN`, the function returns `NaN`', opts, function test( t ) { + var v = erfcinvf( NaN ); + t.strictEqual( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'if provided `0`, the function returns `+infinity`', opts, function test( t ) { + var v = erfcinvf( 0.0 ); + t.strictEqual( v, PINF, 'returns expected value`' ); + t.end(); +}); + +tape( 'if provided `2`, the function returns `-infinity`', opts, function test( t ) { + var v = erfcinvf( 2.0 ); + t.strictEqual( v, NINF, 'returns expected value`' ); + t.end(); +}); + +tape( 'if provided `1`, the function returns `0`', opts, function test( t ) { + var v = erfcinvf( 1.0 ); + t.strictEqual( isPositiveZero( v ), true, 'returns expected value`' ); + t.end(); +}); + +tape( 'if provided a value which is either less than `0` or greater than `2`, the function returns `NaN`', opts, function test( t ) { + var values; + var v; + var i; + + values = [ + 3.14, + -3.14, + -0.00000001, + 2.00000001, + PINF, + NINF + ]; + + for ( i = 0; i < values.length; i++ ) { + v = erfcinvf( values[i] ); + if ( values[i] === 2.00000001 ) { + // Due to float32 precision, 2.00000001 might be treated as 2.0 and return NINF + t.ok( isnanf( v ) || v === NINF, 'returns expected value when provided '+values[i]+': '+v ); + } else { + t.strictEqual( isnanf( v ), true, 'returns expected value when provided '+values[i] ); + } + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[0.5,1.5]`', opts, function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 4; + expected = x1.expected; + x = x1.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[0.25,0.5]`', opts, function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 3; + expected = x2.expected; + x = x2.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.5,1.75]`', opts, function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 3; + expected = x3.expected; + x = x3.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.75,1.9998]`', opts, function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 4; + expected = x4.expected; + x = x4.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[0.0002,0.25]`', opts, function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 3; + expected = x5.expected; + x = x5.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.9998,1.9999..8]`', opts, function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 30; + expected = x6.expected; + x = x6.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +}); + +tape( 'the function evaluates the inverse complementary error function for `x` on the interval `[1.9999..8,2]`', opts, function test( t ) { + var expected; + var ulps; + var x; + var y; + var i; + var e; + + ulps = 30; + expected = x7.expected; + x = x7.x; + + for ( i = 0; i < x.length; i++ ) { + y = erfcinvf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, ulps ), true, 'within '+ulps+' ULPs. x: '+x[i]+'. y: '+y+'. E: '+e ); + } + t.end(); +});