diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/README.md b/lib/node_modules/@stdlib/math/base/special/acschf/README.md new file mode 100644 index 000000000000..1a5b7b674d41 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/README.md @@ -0,0 +1,191 @@ + + +# acschf + +> Compute the [hyperbolic arccosecant][inverse-hyperbolic-functions] of a single-precision floating-point number. + +
+ +## Usage + +```javascript +var acschf = require( '@stdlib/math/base/special/acschf' ); +``` + +#### acschf( x ) + +Computes the [hyperbolic arccosecant][inverse-hyperbolic-functions] of `x`. + +```javascript +var v = acschf( 0.0 ); +// returns Infinity + +v = acschf( -0.0 ); +// returns -Infinity + +v = acschf( 1.0 ); +// returns ~0.881 + +v = acschf( -1.0 ); +// returns ~-0.881 + +v = acschf( NaN ); +// returns NaN + +v = acschf( -Infinity ); +// returns -0.0 + +v = acschf( Infinity ); +// returns 0.0 +``` + +
+ + + +
+ +## Examples + + + +```javascript +var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var acschf = require( '@stdlib/math/base/special/acschf' ); + +var x = uniform( 100, 1.0, 5.0, { + 'dtype': 'float32' +}); + +logEachMap( 'acschf(%0.4f) = %0.4f', x, acschf ); +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/acschf.h" +``` + +#### stdlib_base_acschf( x ) + +Computes the [hyperbolic arccosecant][inverse-hyperbolic-functions] of a single-precision floating-point number. + +```c +float out = stdlib_base_acschf( 1.0f ); +// returns ~0.881f +``` + +The function accepts the following arguments: + +- **x**: `[in] float` input value. + +```c +float stdlib_base_acschf( const float x ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/acschf.h" +#include + +int main( void ) { + const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.55f, 0.55f, 1.67f, 2.78f, 3.89f, 5.0f }; + + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_acschf( x[ i ] ); + printf( "acschf(%f) = %f\n", x[ i ], v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/benchmark.js new file mode 100644 index 000000000000..10b89750fdff --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/benchmark.js @@ -0,0 +1,54 @@ +/** +* @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 acschf = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, -50.0, 50.0, { + 'dtype': 'float32' + }); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = acschf( 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/acschf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/benchmark.native.js new file mode 100644 index 000000000000..746b5033da1e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/benchmark.native.js @@ -0,0 +1,64 @@ +/** +* @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 tryRequire = require( '@stdlib/utils/try-require' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var format = require( '@stdlib/string/format' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var acschf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( acschf instanceof Error ) +}; + + +// MAIN // + +bench( format( '%s::native', pkg ), opts, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, -50.0, 50.0, { + 'dtype': 'float32' + }); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = acschf( 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/acschf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/c/native/Makefile new file mode 100644 index 000000000000..979768abbcec --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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/acschf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/c/native/benchmark.c new file mode 100644 index 000000000000..c2b49c072830 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/c/native/benchmark.c @@ -0,0 +1,137 @@ +/** +* @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/acschf.h" +#include +#include +#include +#include +#include + +#define NAME "acschf" +#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 ); + printf( "# total %d\n", total ); + printf( "# pass %d\n", passing ); + printf( "#\n" ); + printf( "# ok\n" ); +} + +/** +* Prints benchmark 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 float on the interval [0,1). +* +* @return random float +*/ +static float rand_float( void ) { + int r = rand(); + return (float)r / ( (float)RAND_MAX + 1.0f ); +} + +/** +* Runs a benchmark. +* +* @return elapsed time in seconds +*/ +static double benchmark( void ) { + float x[ 100 ]; + double elapsed; + float y; + double t; + int i; + + for ( i = 0; i < 100; i++ ) { + x[ i ] = ( 200.0f * rand_float() ) - 100.0f; + } + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + y = stdlib_base_acschf( 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; + + // 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/acschf/benchmark/julia/REQUIRE b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/julia/REQUIRE new file mode 100644 index 000000000000..98645e192e41 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/julia/REQUIRE @@ -0,0 +1,2 @@ +julia 1.5 +BenchmarkTools 0.5.0 diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/julia/benchmark.jl b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/julia/benchmark.jl new file mode 100755 index 000000000000..977fc32c9cba --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/benchmark/julia/benchmark.jl @@ -0,0 +1,103 @@ +#!/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. + +import BenchmarkTools +using Printf +using SpecialFunctions: acsch + +# Float32 version (matches stdlib acschf semantics): +acschf(x::Float32) = Float32( acsch( Float64(x) ) ) + +# Benchmark variables: +name = "acschf"; +repeats = 3; + +""" + print_version() + +Prints the TAP version. +""" +function print_version() + @printf( "TAP version 13\n" ); +end + +""" + print_summary( total, passing ) + +Print the benchmark summary. +""" +function print_summary( total, passing ) + @printf( "#\n" ); + @printf( "1..%d\n", total ); + @printf( "# total %d\n", total ); + @printf( "# pass %d\n", passing ); + @printf( "#\n" ); + @printf( "# ok\n" ); +end + +""" + print_results( iterations, elapsed ) + +Print benchmark results. +""" +function print_results( iterations, elapsed ) + rate = iterations / elapsed + + @printf( " ---\n" ); + @printf( " iterations: %d\n", iterations ); + @printf( " elapsed: %0.9f\n", elapsed ); + @printf( " rate: %0.9f\n", rate ); + @printf( " ...\n" ); +end + +""" + benchmark() + +Run a benchmark. +""" +function benchmark() + t = BenchmarkTools.@benchmark acschf( + Float32( (200.0*rand()) - 100.0 ) + ) samples=1e6 + + # Total elapsed time (seconds): + s = sum( t.times ) / 1.0e9; + + # Number of iterations: + iter = length( t.times ); + + [ iter, s ]; +end + +""" + main() + +Run benchmarks. +""" +function main() + print_version(); + for i in 1:repeats + @printf( "# julia::%s\n", name ); + results = benchmark(); + print_results( results[1], results[2] ); + @printf( "ok %d benchmark finished\n", i ); + end + print_summary( repeats, repeats ); +end + +main(); diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/acschf/binding.gyp new file mode 100644 index 000000000000..0d6508a12e99 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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/acschf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/acschf/docs/repl.txt new file mode 100644 index 000000000000..7029c60efb70 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/docs/repl.txt @@ -0,0 +1,39 @@ + +{{alias}}( x ) + Computes the hyperbolic arccosecant of a single-precision floating-point + number. + + The hyperbolic arccosecant is defined as + + acsch(x) = asinh(1/x) + + If `x` is zero, the function returns positive or negative infinity, + depending on the sign of `x`. + + Parameters + ---------- + x: number + Input value. + + Returns + ------- + y: number + Hyperbolic arccosecant. + + Examples + -------- + > var y = {{alias}}( 1.0 ) + ~0.8814 + + > y = {{alias}}( -1.0 ) + ~-0.8814 + + > y = {{alias}}( 0.0 ) + Infinity + + > y = {{alias}}( NaN ) + NaN + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/acschf/docs/types/index.d.ts new file mode 100644 index 000000000000..ad6c82dffe2e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/docs/types/index.d.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. +*/ + +// TypeScript Version: 4.1 + +/** +* Computes the hyperbolic arccosecant of a single-precision floating-point number. +* +* @param x - input value +* @returns hyperbolic arccosecant +* +* @example +* var v = acschf( 0.0 ); +* // returns Infinity +* +* @example +* var v = acschf( -1.0 ); +* // returns ~-0.881 +* +* @example +* var v = acschf( 1.0 ); +* // returns ~0.881 +*/ +declare function acschf( x: number ): number; + + +// EXPORTS // + +export = acschf; diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/acschf/docs/types/test.ts new file mode 100644 index 000000000000..a992e632e03c --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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 acschf = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + acschf( 8 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + acschf( true ); // $ExpectError + acschf( false ); // $ExpectError + acschf( null ); // $ExpectError + acschf( undefined ); // $ExpectError + acschf( '5' ); // $ExpectError + acschf( [] ); // $ExpectError + acschf( {} ); // $ExpectError + acschf( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + acschf(); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/acschf/examples/c/Makefile new file mode 100644 index 000000000000..c8f8e9a1517b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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/acschf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/acschf/examples/c/example.c new file mode 100644 index 000000000000..6d7230d7b415 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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/acschf.h" +#include + +int main( void ) { + const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.55f, 0.55f, 1.67f, 2.78f, 3.89f, 5.0f }; + + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_acschf( x[ i ] ); + printf( "acschf(%f) = %f\n", x[ i ], v ); + } +} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/acschf/examples/index.js new file mode 100644 index 000000000000..7af70e55ff60 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/examples/index.js @@ -0,0 +1,29 @@ +/** +* @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 acschf = require( './../lib' ); + +var x = uniform( 100, 1.0, 5.0, { + 'dtype': 'float32' +}); + +logEachMap( 'acschf(%0.4f) = %0.4f', x, acschf ); diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/include.gypi b/lib/node_modules/@stdlib/math/base/special/acschf/include.gypi new file mode 100644 index 000000000000..bee8d41a2caf --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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': [ + '=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "mathematics", + "math", + "acschf", + "hyperbolic", + "inverse", + "cosecant", + "csc", + "arc", + "arccosecant", + "trig", + "trigonometry", + "angle" + ], + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "acsch", + "alias": "acschf", + "pkg_desc": "compute the hyperbolic arccosecant of a single-precision floating-point number", + "desc": "computes the hyperbolic arccosecant of a single-precision floating-point number", + "short_desc": "hyperbolic arccosecant", + "parameters": [ + { + "name": "x", + "desc": "input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + 0.5, + 5 + ] + }, + "example_values": [ + -5, + -3.7, + -2.9, + -2.1, + -1.7, + -1.3, + -1.1, + -0.7, + -0.51, + -0.25, + 0.25, + 0.51, + 0.7, + 1.1, + 1.3, + 1.7, + 2.1, + 2.9, + 3.7, + 5 + ] + } + ], + "output_policy": "real_floating_point_and_generic", + "returns": { + "desc": "hyperbolic arccosecant", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "float", + "dtype": "float32" + } + }, + "keywords": [ + "acsch", + "hyperbolic", + "inverse", + "cosecant", + "csc", + "arc", + "arccosecant", + "angle", + "asinh" + ], + "extra_keywords": [ + "math.asinh" + ] + } + } +} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/acschf/src/Makefile new file mode 100644 index 000000000000..2caf905cedbe --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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/acschf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/acschf/src/addon.c new file mode 100644 index 000000000000..b88ead99283d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/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/acschf.h" +#include "stdlib/math/base/napi/unary.h" + +STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_acschf ) diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/src/main.c b/lib/node_modules/@stdlib/math/base/special/acschf/src/main.c new file mode 100644 index 000000000000..021666610d4a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/src/main.c @@ -0,0 +1,34 @@ +/** +* @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/acschf.h" +#include "stdlib/math/base/special/asinhf.h" + +/** +* Computes the hyperbolic arccosecant of a single-precision floating-point number. +* +* @param x input value +* @return output value +* +* @example +* float out = stdlib_base_acschf( 1.0f ); +* // returns ~0.881f +*/ +float stdlib_base_acschf( const float x ) { + return stdlib_base_asinhf( 1.0f / x ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000000..308c3be89c85 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/REQUIRE @@ -0,0 +1,2 @@ +julia 1.5 +JSON 0.21 diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/huge_negative.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/huge_negative.json new file mode 100644 index 000000000000..e6a5c0d7ce0c --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/huge_negative.json @@ -0,0 +1 @@ +{"expected":[-1.0e-30,-5.019975e-36,-2.5099938e-36,-1.6733306e-36,-1.2549985e-36,-1.003999e-36,-8.366659e-37,-7.1714236e-37,-6.274996e-37,-5.5777746e-37,-5.0199973e-37,-4.563634e-37,-4.183332e-37,-3.861537e-37,-3.5857131e-37,-3.3466657e-37,-3.137499e-37,-2.9529403e-37,-2.788888e-37,-2.6421045e-37,-2.5099993e-37,-2.3904757e-37,-2.2818177e-37,-2.1826082e-37,-2.0916662e-37,-2.0079995e-37,-1.9307689e-37,-1.859259e-37,-1.7928569e-37,-1.7310341e-37,-1.6733331e-37,-1.6193546e-37,-1.5687498e-37,-1.5212118e-37,-1.4764704e-37,-1.4342855e-37,-1.3944443e-37,-1.3567567e-37,-1.3210524e-37,-1.2871793e-37,-1.2549999e-37,-1.2243901e-37,-1.195238e-37,-1.1674417e-37,-1.140909e-37,-1.1155554e-37,-1.0913042e-37,-1.068085e-37,-1.0458332e-37,-1.0244896e-37,-1.004e-37,-9.843136e-38,-9.653846e-38,-9.471697e-38,-9.296296e-38,-9.127272e-38,-8.9642845e-38,-8.8070174e-38,-8.6551715e-38,-8.5084746e-38,-8.366666e-38,-8.2295075e-38,-8.0967737e-38,-7.9682533e-38,-7.843749e-38,-7.7230766e-38,-7.60606e-38,-7.492537e-38,-7.3823525e-38,-7.2753617e-38,-7.171428e-38,-7.070422e-38,-6.972222e-38,-6.876712e-38,-6.7837834e-38,-6.693333e-38,-6.6052625e-38,-6.5194806e-38,-6.435897e-38,-6.35443e-38,-6.275e-38,-6.1975306e-38,-6.121951e-38,-6.0481925e-38,-5.97619e-38,-5.905882e-38,-5.837209e-38,-5.770115e-38,-5.7045454e-38,-5.640449e-38,-5.577778e-38,-5.516483e-38,-5.4565217e-38,-5.3978493e-38,-5.340425e-38,-5.28421e-38,-5.2291666e-38,-5.1752576e-38,-5.122449e-38,-5.0707067e-38,-5.02e-38,-4.970297e-38,-4.921568e-38,-4.873786e-38,-4.826923e-38,-4.7809523e-38,-4.735849e-38,-4.6915887e-38,-4.648148e-38,-4.6055044e-38,-4.563636e-38,-4.5225226e-38,-4.4821428e-38,-4.4424777e-38,-4.4035087e-38,-4.365217e-38,-4.3275863e-38,-4.2905982e-38,-4.2542373e-38,-4.218487e-38,-4.183333e-38,-4.1487605e-38,-4.114754e-38,-4.0813008e-38,-4.0483869e-38,-4.0159998e-38,-3.9841267e-38,-3.9527558e-38,-3.9218748e-38,-3.8914728e-38,-3.8615383e-38,-3.8320608e-38,-3.8030304e-38,-3.774436e-38,-3.7462686e-38,-3.7185184e-38,-3.6911763e-38,-3.6642335e-38,-3.637681e-38,-3.6115108e-38,-3.585714e-38,-3.5602835e-38,-3.5352112e-38,-3.5104895e-38,-3.486111e-38,-3.4620687e-38,-3.438356e-38,-3.414966e-38,-3.391892e-38,-3.3691273e-38,-3.3466665e-38,-3.3245033e-38,-3.3026315e-38,-3.2810456e-38,-3.2597403e-38,-3.2387096e-38,-3.2179485e-38,-3.1974523e-38,-3.1772153e-38,-3.1572325e-38,-3.1375e-38,-3.1180124e-38,-3.0987656e-38,-3.0797547e-38,-3.0609756e-38,-3.042424e-38,-3.0240963e-38,-3.005988e-38,-2.9880952e-38,-2.9704142e-38,-2.952941e-38,-2.9356724e-38,-2.9186048e-38,-2.901734e-38,-2.8850575e-38,-2.8685715e-38,-2.8522727e-38,-2.8361583e-38,-2.8202247e-38,-2.8044693e-38,-2.788889e-38,-2.7734805e-38,-2.758242e-38,-2.7431693e-38,-2.7282608e-38,-2.7135133e-38,-2.6989247e-38,-2.684492e-38,-2.670213e-38,-2.6560847e-38,-2.642105e-38,-2.628272e-38,-2.6145833e-38,-2.6010364e-38,-2.5876288e-38,-2.574359e-38,-2.5612244e-38,-2.5482234e-38,-2.5353536e-38,-2.522613e-38,-2.51e-38,-2.4975124e-38,-2.4851485e-38,-2.4729064e-38,-2.4607844e-38,-2.4487806e-38,-2.436893e-38,-2.4251208e-38,-2.4134617e-38,-2.4019138e-38,-2.3904762e-38,-2.379147e-38,-2.3679245e-38,-2.3568075e-38,-2.3457944e-38,-2.3348837e-38,-2.324074e-38,-2.313364e-38,-2.3027522e-38,-2.2922373e-38,-2.2818182e-38,-2.2714933e-38,-2.2612613e-38,-2.2511211e-38,-2.2410714e-38,-2.2311111e-38,-2.2212388e-38,-2.2114537e-38,-2.2017543e-38,-2.1921396e-38,-2.1826088e-38,-2.1731603e-38,-2.1637932e-38,-2.1545065e-38,-2.1452991e-38,-2.1361702e-38,-2.1271187e-38,-2.1181433e-38,-2.1092436e-38,-2.1004183e-38,-2.0916668e-38,-2.0829876e-38,-2.0743802e-38,-2.0658437e-38,-2.057377e-38,-2.0489796e-38,-2.0406504e-38,-2.0323886e-38,-2.0241934e-38,-2.0160642e-38,-2.0079999e-38,-2.0e-38,-1.9920635e-38,-1.9841897e-38,-1.9763779e-38,-1.9686275e-38,-1.9609374e-38,-1.9533073e-38,-1.9457364e-38,-1.9382239e-38,-1.9307691e-38,-1.9233717e-38,-1.9160306e-38,-1.9087452e-38,-1.9015152e-38,-1.8943396e-38,-1.887218e-38,-1.8801498e-38,-1.8731343e-38,-1.866171e-38,-1.8592592e-38,-1.8523986e-38,-1.8455883e-38,-1.8388278e-38,-1.8321167e-38,-1.8254546e-38,-1.8188406e-38,-1.8122744e-38,-1.8057554e-38,-1.799283e-38,-1.792857e-38,-1.7864769e-38,-1.7801419e-38,-1.7738516e-38,-1.7676056e-38,-1.7614034e-38,-1.7552447e-38,-1.7491289e-38,-1.7430555e-38,-1.7370242e-38,-1.7310344e-38,-1.725086e-38,-1.7191781e-38,-1.7133106e-38,-1.707483e-38,-1.701695e-38,-1.695946e-38,-1.6902357e-38,-1.6845637e-38,-1.6789297e-38,-1.6733332e-38,-1.6677741e-38,-1.6622518e-38,-1.6567657e-38,-1.6513158e-38,-1.6459017e-38,-1.6405228e-38,-1.6351791e-38,-1.6298701e-38,-1.6245954e-38,-1.6193548e-38,-1.614148e-38,-1.6089744e-38,-1.6038339e-38,-1.5987261e-38,-1.5936508e-38,-1.5886076e-38,-1.5835962e-38,-1.5786162e-38,-1.5736677e-38,-1.56875e-38,-1.5638628e-38,-1.5590062e-38,-1.5541796e-38,-1.5493828e-38,-1.5446154e-38,-1.5398774e-38,-1.5351681e-38,-1.5304878e-38,-1.5258358e-38,-1.521212e-38,-1.5166162e-38,-1.5120483e-38,-1.5075075e-38,-1.502994e-38,-1.4985075e-38,-1.4940476e-38,-1.4896142e-38,-1.4852071e-38,-1.480826e-38,-1.4764706e-38,-1.4721407e-38,-1.4678363e-38,-1.4635569e-38,-1.4593024e-38,-1.4550725e-38,-1.450867e-38,-1.4466858e-38,-1.4425287e-38,-1.4383953e-38,-1.4342857e-38,-1.4301994e-38,-1.4261363e-38,-1.4220964e-38,-1.4180792e-38,-1.4140845e-38,-1.4101124e-38,-1.4061625e-38,-1.4022347e-38,-1.3983287e-38,-1.3944444e-38,-1.3905816e-38,-1.3867404e-38,-1.3829202e-38,-1.379121e-38,-1.3753425e-38,-1.3715846e-38,-1.3678474e-38,-1.3641304e-38,-1.3604335e-38,-1.3567567e-38,-1.3530997e-38,-1.3494625e-38,-1.3458446e-38,-1.342246e-38,-1.3386667e-38,-1.3351064e-38,-1.331565e-38,-1.3280424e-38,-1.3245383e-38,-1.3210525e-38,-1.3175853e-38,-1.3141362e-38,-1.310705e-38,-1.3072917e-38,-1.3038962e-38,-1.3005182e-38,-1.2971576e-38,-1.2938144e-38,-1.2904884e-38,-1.2871795e-38,-1.2838874e-38,-1.2806123e-38,-1.2773538e-38,-1.2741117e-38,-1.270886e-38,-1.2676768e-38,-1.2644837e-38,-1.2613065e-38,-1.2581453e-38,-1.255e-38,-1.2518703e-38,-1.2487562e-38,-1.2456576e-38,-1.2425742e-38,-1.2395062e-38,-1.2364532e-38,-1.2334152e-38,-1.2303922e-38,-1.2273839e-38,-1.2243903e-38,-1.2214111e-38,-1.2184465e-38,-1.2154964e-38,-1.2125604e-38,-1.2096385e-38,-1.2067308e-38,-1.2038369e-38,-1.2009569e-38,-1.1980907e-38,-1.1952381e-38,-1.192399e-38,-1.1895735e-38,-1.1867612e-38,-1.1839623e-38,-1.1811765e-38,-1.1784037e-38,-1.175644e-38,-1.1728972e-38,-1.1701631e-38,-1.1674418e-38,-1.1647332e-38,-1.162037e-38,-1.1593534e-38,-1.1566819e-38,-1.154023e-38,-1.151376e-38,-1.1487413e-38,-1.1461188e-38,-1.143508e-38,-1.1409092e-38,-1.1383221e-38,-1.1357467e-38,-1.1331828e-38,-1.1306307e-38,-1.12809e-38,-1.1255605e-38,-1.1230425e-38,-1.1205357e-38,-1.1180401e-38,-1.1155555e-38,-1.113082e-38,-1.1106194e-38,-1.1081677e-38,-1.1057268e-38,-1.1032967e-38,-1.1008772e-38,-1.0984682e-38,-1.0960699e-38,-1.0936819e-38,-1.0913043e-38,-1.0889371e-38,-1.0865801e-38,-1.0842332e-38,-1.0818966e-38,-1.0795699e-38,-1.0772532e-38,-1.0749464e-38,-1.0726496e-38,-1.0703625e-38,-1.0680851e-38,-1.0658174e-38,-1.0635593e-38,-1.0613108e-38,-1.0590717e-38,-1.056842e-38,-1.0546218e-38,-1.0524109e-38,-1.0502092e-38,-1.0480167e-38,-1.0458333e-38,-1.0436591e-38,-1.0414938e-38,-1.0393375e-38,-1.0371901e-38,-1.0350516e-38,-1.0329218e-38,-1.0308009e-38,-1.0286886e-38,-1.0265848e-38,-1.0244897e-38,-1.0224032e-38,-1.0203252e-38,-1.0182555e-38,-1.0161943e-38,-1.0141414e-38,-1.0120968e-38,-1.0100603e-38,-1.008032e-38,-1.006012e-38,-1.0040001e-38,-1.0019961e-38,-1.0000001e-38],"x":[-1.0e30,-1.9920418e35,-3.9840737e35,-5.9761054e35,-7.968137e35,-9.960169e35,-1.1952201e36,-1.3944233e36,-1.5936265e36,-1.7928297e36,-1.9920329e36,-2.1912361e36,-2.3904392e36,-2.5896424e36,-2.7888456e36,-2.9880486e36,-3.187252e36,-3.386455e36,-3.5856584e36,-3.7848615e36,-3.984065e36,-4.183268e36,-4.382471e36,-4.5816743e36,-4.7808774e36,-4.9800807e36,-5.1792838e36,-5.378487e36,-5.57769e36,-5.7768936e36,-5.9760966e36,-6.1753e36,-6.374503e36,-6.5737064e36,-6.7729095e36,-6.9721125e36,-7.1713156e36,-7.3705186e36,-7.5697223e36,-7.7689254e36,-7.9681284e36,-8.1673315e36,-8.3665345e36,-8.565738e36,-8.764941e36,-8.964144e36,-9.1633474e36,-9.3625504e36,-9.561754e36,-9.760957e36,-9.96016e36,-1.0159363e37,-1.0358567e37,-1.055777e37,-1.0756972e37,-1.0956176e37,-1.115538e37,-1.1354582e37,-1.1553786e37,-1.1752988e37,-1.1952192e37,-1.2151396e37,-1.2350598e37,-1.2549802e37,-1.2749005e37,-1.2948208e37,-1.3147412e37,-1.3346614e37,-1.3545818e37,-1.3745021e37,-1.3944224e37,-1.4143427e37,-1.434263e37,-1.4541834e37,-1.4741037e37,-1.494024e37,-1.5139443e37,-1.5338646e37,-1.553785e37,-1.5737053e37,-1.5936256e37,-1.6135459e37,-1.6334662e37,-1.6533865e37,-1.6733069e37,-1.6932271e37,-1.7131475e37,-1.7330678e37,-1.7529881e37,-1.7729085e37,-1.7928287e37,-1.8127491e37,-1.8326693e37,-1.8525897e37,-1.8725101e37,-1.8924303e37,-1.9123507e37,-1.9322709e37,-1.9521913e37,-1.9721117e37,-1.9920319e37,-2.0119523e37,-2.0318727e37,-2.0517929e37,-2.0717133e37,-2.0916335e37,-2.1115539e37,-2.131474e37,-2.1513945e37,-2.1713149e37,-2.1912352e37,-2.2111553e37,-2.2310757e37,-2.250996e37,-2.2709164e37,-2.2908368e37,-2.310757e37,-2.3306773e37,-2.3505977e37,-2.370518e37,-2.3904384e37,-2.4103585e37,-2.430279e37,-2.4501993e37,-2.4701196e37,-2.49004e37,-2.5099604e37,-2.5298805e37,-2.5498008e37,-2.5697212e37,-2.5896416e37,-2.609562e37,-2.629482e37,-2.6494024e37,-2.6693228e37,-2.6892432e37,-2.7091635e37,-2.7290837e37,-2.749004e37,-2.7689244e37,-2.7888448e37,-2.808765e37,-2.8286852e37,-2.8486056e37,-2.868526e37,-2.8884463e37,-2.9083667e37,-2.9282868e37,-2.9482072e37,-2.9681276e37,-2.988048e37,-3.0079683e37,-3.0278884e37,-3.0478088e37,-3.0677292e37,-3.0876495e37,-3.10757e37,-3.12749e37,-3.1474104e37,-3.1673307e37,-3.187251e37,-3.2071715e37,-3.2270916e37,-3.247012e37,-3.2669323e37,-3.2868527e37,-3.306773e37,-3.3266932e37,-3.3466136e37,-3.366534e37,-3.3864543e37,-3.4063747e37,-3.4262948e37,-3.4462151e37,-3.4661355e37,-3.486056e37,-3.5059763e37,-3.5258964e37,-3.5458167e37,-3.565737e37,-3.5856575e37,-3.6055778e37,-3.625498e37,-3.6454183e37,-3.6653387e37,-3.685259e37,-3.7051794e37,-3.7250995e37,-3.74502e37,-3.7649403e37,-3.7848607e37,-3.804781e37,-3.8247011e37,-3.8446215e37,-3.8645419e37,-3.8844622e37,-3.9043826e37,-3.9243027e37,-3.944223e37,-3.9641435e37,-3.9840638e37,-4.0039842e37,-4.0239046e37,-4.0438247e37,-4.063745e37,-4.0836654e37,-4.1035858e37,-4.1235062e37,-4.1434263e37,-4.1633466e37,-4.183267e37,-4.2031874e37,-4.2231077e37,-4.2430279e37,-4.262948e37,-4.2828686e37,-4.302789e37,-4.3227093e37,-4.3426297e37,-4.36255e37,-4.38247e37,-4.4023903e37,-4.4223107e37,-4.442231e37,-4.4621514e37,-4.482072e37,-4.501992e37,-4.5219125e37,-4.541833e37,-4.561753e37,-4.581673e37,-4.6015935e37,-4.621514e37,-4.641434e37,-4.6613546e37,-4.681275e37,-4.7011953e37,-4.7211157e37,-4.741036e37,-4.7609564e37,-4.7808763e37,-4.8007967e37,-4.820717e37,-4.8406374e37,-4.860558e37,-4.880478e37,-4.9003985e37,-4.920319e37,-4.940239e37,-4.9601596e37,-4.98008e37,-5.0e37,-5.01992e37,-5.0398406e37,-5.059761e37,-5.0796813e37,-5.0996017e37,-5.119522e37,-5.1394424e37,-5.159363e37,-5.179283e37,-5.199203e37,-5.2191234e37,-5.239044e37,-5.258964e37,-5.2788845e37,-5.298805e37,-5.318725e37,-5.3386456e37,-5.358566e37,-5.3784863e37,-5.398406e37,-5.4183266e37,-5.438247e37,-5.4581673e37,-5.4780877e37,-5.498008e37,-5.5179284e37,-5.537849e37,-5.557769e37,-5.5776895e37,-5.5976094e37,-5.6175297e37,-5.63745e37,-5.6573705e37,-5.677291e37,-5.697211e37,-5.7171316e37,-5.737052e37,-5.7569723e37,-5.7768927e37,-5.7968126e37,-5.816733e37,-5.8366533e37,-5.8565737e37,-5.876494e37,-5.8964144e37,-5.916335e37,-5.936255e37,-5.9561755e37,-5.976096e37,-5.9960157e37,-6.015936e37,-6.0358565e37,-6.055777e37,-6.075697e37,-6.0956176e37,-6.115538e37,-6.1354583e37,-6.1553787e37,-6.175299e37,-6.195219e37,-6.2151393e37,-6.2350597e37,-6.25498e37,-6.2749004e37,-6.294821e37,-6.314741e37,-6.3346615e37,-6.354582e37,-6.374502e37,-6.3944226e37,-6.4143425e37,-6.434263e37,-6.454183e37,-6.4741036e37,-6.494024e37,-6.5139443e37,-6.5338647e37,-6.553785e37,-6.5737054e37,-6.593626e37,-6.6135456e37,-6.633466e37,-6.6533864e37,-6.6733067e37,-6.693227e37,-6.7131475e37,-6.733068e37,-6.752988e37,-6.7729086e37,-6.792829e37,-6.812749e37,-6.832669e37,-6.8525896e37,-6.87251e37,-6.8924303e37,-6.9123507e37,-6.932271e37,-6.9521914e37,-6.972112e37,-6.992032e37,-7.011952e37,-7.0318724e37,-7.0517927e37,-7.071713e37,-7.0916335e37,-7.111554e37,-7.131474e37,-7.1513946e37,-7.171315e37,-7.1912353e37,-7.211155e37,-7.2310755e37,-7.250996e37,-7.2709163e37,-7.2908367e37,-7.310757e37,-7.3306774e37,-7.350598e37,-7.370518e37,-7.3904385e37,-7.4103584e37,-7.4302787e37,-7.450199e37,-7.4701195e37,-7.49004e37,-7.50996e37,-7.5298806e37,-7.549801e37,-7.5697213e37,-7.5896417e37,-7.6095615e37,-7.629482e37,-7.6494023e37,-7.6693226e37,-7.689243e37,-7.7091634e37,-7.7290837e37,-7.749004e37,-7.7689245e37,-7.788845e37,-7.8087647e37,-7.828685e37,-7.8486054e37,-7.868526e37,-7.888446e37,-7.9083666e37,-7.928287e37,-7.9482073e37,-7.9681277e37,-7.988048e37,-8.0079684e37,-8.0278883e37,-8.0478086e37,-8.067729e37,-8.0876494e37,-8.1075697e37,-8.12749e37,-8.1474105e37,-8.167331e37,-8.187251e37,-8.2071716e37,-8.2270914e37,-8.247012e37,-8.266932e37,-8.2868525e37,-8.306773e37,-8.3266933e37,-8.3466137e37,-8.366534e37,-8.3864544e37,-8.406375e37,-8.4262946e37,-8.446215e37,-8.4661354e37,-8.4860557e37,-8.505976e37,-8.525896e37,-8.545817e37,-8.565737e37,-8.585658e37,-8.605578e37,-8.625498e37,-8.645419e37,-8.665339e37,-8.685259e37,-8.70518e37,-8.725099e37,-8.74502e37,-8.76494e37,-8.78486e37,-8.804781e37,-8.824701e37,-8.844621e37,-8.864542e37,-8.884462e37,-8.904382e37,-8.924303e37,-8.944223e37,-8.964144e37,-8.984064e37,-9.003984e37,-9.023905e37,-9.043825e37,-9.063745e37,-9.083666e37,-9.103586e37,-9.123505e37,-9.143426e37,-9.163346e37,-9.183267e37,-9.203187e37,-9.223107e37,-9.243028e37,-9.262948e37,-9.282868e37,-9.302789e37,-9.322709e37,-9.34263e37,-9.36255e37,-9.38247e37,-9.402391e37,-9.422311e37,-9.442231e37,-9.462152e37,-9.482072e37,-9.501992e37,-9.521913e37,-9.541832e37,-9.561753e37,-9.581673e37,-9.601593e37,-9.621514e37,-9.641434e37,-9.661354e37,-9.681275e37,-9.701195e37,-9.721116e37,-9.741036e37,-9.760956e37,-9.780877e37,-9.800797e37,-9.820717e37,-9.840638e37,-9.860558e37,-9.880478e37,-9.900399e37,-9.920319e37,-9.940239e37,-9.960159e37,-9.980079e37,-1.0e38]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/huge_positive.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/huge_positive.json new file mode 100644 index 000000000000..e9b43a3bce5d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/huge_positive.json @@ -0,0 +1 @@ +{"expected":[1.0e-30,5.019975e-36,2.5099938e-36,1.6733306e-36,1.2549985e-36,1.003999e-36,8.366659e-37,7.1714236e-37,6.274996e-37,5.5777746e-37,5.0199973e-37,4.563634e-37,4.183332e-37,3.861537e-37,3.5857131e-37,3.3466657e-37,3.137499e-37,2.9529403e-37,2.788888e-37,2.6421045e-37,2.5099993e-37,2.3904757e-37,2.2818177e-37,2.1826082e-37,2.0916662e-37,2.0079995e-37,1.9307689e-37,1.859259e-37,1.7928569e-37,1.7310341e-37,1.6733331e-37,1.6193546e-37,1.5687498e-37,1.5212118e-37,1.4764704e-37,1.4342855e-37,1.3944443e-37,1.3567567e-37,1.3210524e-37,1.2871793e-37,1.2549999e-37,1.2243901e-37,1.195238e-37,1.1674417e-37,1.140909e-37,1.1155554e-37,1.0913042e-37,1.068085e-37,1.0458332e-37,1.0244896e-37,1.004e-37,9.843136e-38,9.653846e-38,9.471697e-38,9.296296e-38,9.127272e-38,8.9642845e-38,8.8070174e-38,8.6551715e-38,8.5084746e-38,8.366666e-38,8.2295075e-38,8.0967737e-38,7.9682533e-38,7.843749e-38,7.7230766e-38,7.60606e-38,7.492537e-38,7.3823525e-38,7.2753617e-38,7.171428e-38,7.070422e-38,6.972222e-38,6.876712e-38,6.7837834e-38,6.693333e-38,6.6052625e-38,6.5194806e-38,6.435897e-38,6.35443e-38,6.275e-38,6.1975306e-38,6.121951e-38,6.0481925e-38,5.97619e-38,5.905882e-38,5.837209e-38,5.770115e-38,5.7045454e-38,5.640449e-38,5.577778e-38,5.516483e-38,5.4565217e-38,5.3978493e-38,5.340425e-38,5.28421e-38,5.2291666e-38,5.1752576e-38,5.122449e-38,5.0707067e-38,5.02e-38,4.970297e-38,4.921568e-38,4.873786e-38,4.826923e-38,4.7809523e-38,4.735849e-38,4.6915887e-38,4.648148e-38,4.6055044e-38,4.563636e-38,4.5225226e-38,4.4821428e-38,4.4424777e-38,4.4035087e-38,4.365217e-38,4.3275863e-38,4.2905982e-38,4.2542373e-38,4.218487e-38,4.183333e-38,4.1487605e-38,4.114754e-38,4.0813008e-38,4.0483869e-38,4.0159998e-38,3.9841267e-38,3.9527558e-38,3.9218748e-38,3.8914728e-38,3.8615383e-38,3.8320608e-38,3.8030304e-38,3.774436e-38,3.7462686e-38,3.7185184e-38,3.6911763e-38,3.6642335e-38,3.637681e-38,3.6115108e-38,3.585714e-38,3.5602835e-38,3.5352112e-38,3.5104895e-38,3.486111e-38,3.4620687e-38,3.438356e-38,3.414966e-38,3.391892e-38,3.3691273e-38,3.3466665e-38,3.3245033e-38,3.3026315e-38,3.2810456e-38,3.2597403e-38,3.2387096e-38,3.2179485e-38,3.1974523e-38,3.1772153e-38,3.1572325e-38,3.1375e-38,3.1180124e-38,3.0987656e-38,3.0797547e-38,3.0609756e-38,3.042424e-38,3.0240963e-38,3.005988e-38,2.9880952e-38,2.9704142e-38,2.952941e-38,2.9356724e-38,2.9186048e-38,2.901734e-38,2.8850575e-38,2.8685715e-38,2.8522727e-38,2.8361583e-38,2.8202247e-38,2.8044693e-38,2.788889e-38,2.7734805e-38,2.758242e-38,2.7431693e-38,2.7282608e-38,2.7135133e-38,2.6989247e-38,2.684492e-38,2.670213e-38,2.6560847e-38,2.642105e-38,2.628272e-38,2.6145833e-38,2.6010364e-38,2.5876288e-38,2.574359e-38,2.5612244e-38,2.5482234e-38,2.5353536e-38,2.522613e-38,2.51e-38,2.4975124e-38,2.4851485e-38,2.4729064e-38,2.4607844e-38,2.4487806e-38,2.436893e-38,2.4251208e-38,2.4134617e-38,2.4019138e-38,2.3904762e-38,2.379147e-38,2.3679245e-38,2.3568075e-38,2.3457944e-38,2.3348837e-38,2.324074e-38,2.313364e-38,2.3027522e-38,2.2922373e-38,2.2818182e-38,2.2714933e-38,2.2612613e-38,2.2511211e-38,2.2410714e-38,2.2311111e-38,2.2212388e-38,2.2114537e-38,2.2017543e-38,2.1921396e-38,2.1826088e-38,2.1731603e-38,2.1637932e-38,2.1545065e-38,2.1452991e-38,2.1361702e-38,2.1271187e-38,2.1181433e-38,2.1092436e-38,2.1004183e-38,2.0916668e-38,2.0829876e-38,2.0743802e-38,2.0658437e-38,2.057377e-38,2.0489796e-38,2.0406504e-38,2.0323886e-38,2.0241934e-38,2.0160642e-38,2.0079999e-38,2.0e-38,1.9920635e-38,1.9841897e-38,1.9763779e-38,1.9686275e-38,1.9609374e-38,1.9533073e-38,1.9457364e-38,1.9382239e-38,1.9307691e-38,1.9233717e-38,1.9160306e-38,1.9087452e-38,1.9015152e-38,1.8943396e-38,1.887218e-38,1.8801498e-38,1.8731343e-38,1.866171e-38,1.8592592e-38,1.8523986e-38,1.8455883e-38,1.8388278e-38,1.8321167e-38,1.8254546e-38,1.8188406e-38,1.8122744e-38,1.8057554e-38,1.799283e-38,1.792857e-38,1.7864769e-38,1.7801419e-38,1.7738516e-38,1.7676056e-38,1.7614034e-38,1.7552447e-38,1.7491289e-38,1.7430555e-38,1.7370242e-38,1.7310344e-38,1.725086e-38,1.7191781e-38,1.7133106e-38,1.707483e-38,1.701695e-38,1.695946e-38,1.6902357e-38,1.6845637e-38,1.6789297e-38,1.6733332e-38,1.6677741e-38,1.6622518e-38,1.6567657e-38,1.6513158e-38,1.6459017e-38,1.6405228e-38,1.6351791e-38,1.6298701e-38,1.6245954e-38,1.6193548e-38,1.614148e-38,1.6089744e-38,1.6038339e-38,1.5987261e-38,1.5936508e-38,1.5886076e-38,1.5835962e-38,1.5786162e-38,1.5736677e-38,1.56875e-38,1.5638628e-38,1.5590062e-38,1.5541796e-38,1.5493828e-38,1.5446154e-38,1.5398774e-38,1.5351681e-38,1.5304878e-38,1.5258358e-38,1.521212e-38,1.5166162e-38,1.5120483e-38,1.5075075e-38,1.502994e-38,1.4985075e-38,1.4940476e-38,1.4896142e-38,1.4852071e-38,1.480826e-38,1.4764706e-38,1.4721407e-38,1.4678363e-38,1.4635569e-38,1.4593024e-38,1.4550725e-38,1.450867e-38,1.4466858e-38,1.4425287e-38,1.4383953e-38,1.4342857e-38,1.4301994e-38,1.4261363e-38,1.4220964e-38,1.4180792e-38,1.4140845e-38,1.4101124e-38,1.4061625e-38,1.4022347e-38,1.3983287e-38,1.3944444e-38,1.3905816e-38,1.3867404e-38,1.3829202e-38,1.379121e-38,1.3753425e-38,1.3715846e-38,1.3678474e-38,1.3641304e-38,1.3604335e-38,1.3567567e-38,1.3530997e-38,1.3494625e-38,1.3458446e-38,1.342246e-38,1.3386667e-38,1.3351064e-38,1.331565e-38,1.3280424e-38,1.3245383e-38,1.3210525e-38,1.3175853e-38,1.3141362e-38,1.310705e-38,1.3072917e-38,1.3038962e-38,1.3005182e-38,1.2971576e-38,1.2938144e-38,1.2904884e-38,1.2871795e-38,1.2838874e-38,1.2806123e-38,1.2773538e-38,1.2741117e-38,1.270886e-38,1.2676768e-38,1.2644837e-38,1.2613065e-38,1.2581453e-38,1.255e-38,1.2518703e-38,1.2487562e-38,1.2456576e-38,1.2425742e-38,1.2395062e-38,1.2364532e-38,1.2334152e-38,1.2303922e-38,1.2273839e-38,1.2243903e-38,1.2214111e-38,1.2184465e-38,1.2154964e-38,1.2125604e-38,1.2096385e-38,1.2067308e-38,1.2038369e-38,1.2009569e-38,1.1980907e-38,1.1952381e-38,1.192399e-38,1.1895735e-38,1.1867612e-38,1.1839623e-38,1.1811765e-38,1.1784037e-38,1.175644e-38,1.1728972e-38,1.1701631e-38,1.1674418e-38,1.1647332e-38,1.162037e-38,1.1593534e-38,1.1566819e-38,1.154023e-38,1.151376e-38,1.1487413e-38,1.1461188e-38,1.143508e-38,1.1409092e-38,1.1383221e-38,1.1357467e-38,1.1331828e-38,1.1306307e-38,1.12809e-38,1.1255605e-38,1.1230425e-38,1.1205357e-38,1.1180401e-38,1.1155555e-38,1.113082e-38,1.1106194e-38,1.1081677e-38,1.1057268e-38,1.1032967e-38,1.1008772e-38,1.0984682e-38,1.0960699e-38,1.0936819e-38,1.0913043e-38,1.0889371e-38,1.0865801e-38,1.0842332e-38,1.0818966e-38,1.0795699e-38,1.0772532e-38,1.0749464e-38,1.0726496e-38,1.0703625e-38,1.0680851e-38,1.0658174e-38,1.0635593e-38,1.0613108e-38,1.0590717e-38,1.056842e-38,1.0546218e-38,1.0524109e-38,1.0502092e-38,1.0480167e-38,1.0458333e-38,1.0436591e-38,1.0414938e-38,1.0393375e-38,1.0371901e-38,1.0350516e-38,1.0329218e-38,1.0308009e-38,1.0286886e-38,1.0265848e-38,1.0244897e-38,1.0224032e-38,1.0203252e-38,1.0182555e-38,1.0161943e-38,1.0141414e-38,1.0120968e-38,1.0100603e-38,1.008032e-38,1.006012e-38,1.0040001e-38,1.0019961e-38,1.0000001e-38],"x":[1.0e30,1.9920418e35,3.9840737e35,5.9761054e35,7.968137e35,9.960169e35,1.1952201e36,1.3944233e36,1.5936265e36,1.7928297e36,1.9920329e36,2.1912361e36,2.3904392e36,2.5896424e36,2.7888456e36,2.9880486e36,3.187252e36,3.386455e36,3.5856584e36,3.7848615e36,3.984065e36,4.183268e36,4.382471e36,4.5816743e36,4.7808774e36,4.9800807e36,5.1792838e36,5.378487e36,5.57769e36,5.7768936e36,5.9760966e36,6.1753e36,6.374503e36,6.5737064e36,6.7729095e36,6.9721125e36,7.1713156e36,7.3705186e36,7.5697223e36,7.7689254e36,7.9681284e36,8.1673315e36,8.3665345e36,8.565738e36,8.764941e36,8.964144e36,9.1633474e36,9.3625504e36,9.561754e36,9.760957e36,9.96016e36,1.0159363e37,1.0358567e37,1.055777e37,1.0756972e37,1.0956176e37,1.115538e37,1.1354582e37,1.1553786e37,1.1752988e37,1.1952192e37,1.2151396e37,1.2350598e37,1.2549802e37,1.2749005e37,1.2948208e37,1.3147412e37,1.3346614e37,1.3545818e37,1.3745021e37,1.3944224e37,1.4143427e37,1.434263e37,1.4541834e37,1.4741037e37,1.494024e37,1.5139443e37,1.5338646e37,1.553785e37,1.5737053e37,1.5936256e37,1.6135459e37,1.6334662e37,1.6533865e37,1.6733069e37,1.6932271e37,1.7131475e37,1.7330678e37,1.7529881e37,1.7729085e37,1.7928287e37,1.8127491e37,1.8326693e37,1.8525897e37,1.8725101e37,1.8924303e37,1.9123507e37,1.9322709e37,1.9521913e37,1.9721117e37,1.9920319e37,2.0119523e37,2.0318727e37,2.0517929e37,2.0717133e37,2.0916335e37,2.1115539e37,2.131474e37,2.1513945e37,2.1713149e37,2.1912352e37,2.2111553e37,2.2310757e37,2.250996e37,2.2709164e37,2.2908368e37,2.310757e37,2.3306773e37,2.3505977e37,2.370518e37,2.3904384e37,2.4103585e37,2.430279e37,2.4501993e37,2.4701196e37,2.49004e37,2.5099604e37,2.5298805e37,2.5498008e37,2.5697212e37,2.5896416e37,2.609562e37,2.629482e37,2.6494024e37,2.6693228e37,2.6892432e37,2.7091635e37,2.7290837e37,2.749004e37,2.7689244e37,2.7888448e37,2.808765e37,2.8286852e37,2.8486056e37,2.868526e37,2.8884463e37,2.9083667e37,2.9282868e37,2.9482072e37,2.9681276e37,2.988048e37,3.0079683e37,3.0278884e37,3.0478088e37,3.0677292e37,3.0876495e37,3.10757e37,3.12749e37,3.1474104e37,3.1673307e37,3.187251e37,3.2071715e37,3.2270916e37,3.247012e37,3.2669323e37,3.2868527e37,3.306773e37,3.3266932e37,3.3466136e37,3.366534e37,3.3864543e37,3.4063747e37,3.4262948e37,3.4462151e37,3.4661355e37,3.486056e37,3.5059763e37,3.5258964e37,3.5458167e37,3.565737e37,3.5856575e37,3.6055778e37,3.625498e37,3.6454183e37,3.6653387e37,3.685259e37,3.7051794e37,3.7250995e37,3.74502e37,3.7649403e37,3.7848607e37,3.804781e37,3.8247011e37,3.8446215e37,3.8645419e37,3.8844622e37,3.9043826e37,3.9243027e37,3.944223e37,3.9641435e37,3.9840638e37,4.0039842e37,4.0239046e37,4.0438247e37,4.063745e37,4.0836654e37,4.1035858e37,4.1235062e37,4.1434263e37,4.1633466e37,4.183267e37,4.2031874e37,4.2231077e37,4.2430279e37,4.262948e37,4.2828686e37,4.302789e37,4.3227093e37,4.3426297e37,4.36255e37,4.38247e37,4.4023903e37,4.4223107e37,4.442231e37,4.4621514e37,4.482072e37,4.501992e37,4.5219125e37,4.541833e37,4.561753e37,4.581673e37,4.6015935e37,4.621514e37,4.641434e37,4.6613546e37,4.681275e37,4.7011953e37,4.7211157e37,4.741036e37,4.7609564e37,4.7808763e37,4.8007967e37,4.820717e37,4.8406374e37,4.860558e37,4.880478e37,4.9003985e37,4.920319e37,4.940239e37,4.9601596e37,4.98008e37,5.0e37,5.01992e37,5.0398406e37,5.059761e37,5.0796813e37,5.0996017e37,5.119522e37,5.1394424e37,5.159363e37,5.179283e37,5.199203e37,5.2191234e37,5.239044e37,5.258964e37,5.2788845e37,5.298805e37,5.318725e37,5.3386456e37,5.358566e37,5.3784863e37,5.398406e37,5.4183266e37,5.438247e37,5.4581673e37,5.4780877e37,5.498008e37,5.5179284e37,5.537849e37,5.557769e37,5.5776895e37,5.5976094e37,5.6175297e37,5.63745e37,5.6573705e37,5.677291e37,5.697211e37,5.7171316e37,5.737052e37,5.7569723e37,5.7768927e37,5.7968126e37,5.816733e37,5.8366533e37,5.8565737e37,5.876494e37,5.8964144e37,5.916335e37,5.936255e37,5.9561755e37,5.976096e37,5.9960157e37,6.015936e37,6.0358565e37,6.055777e37,6.075697e37,6.0956176e37,6.115538e37,6.1354583e37,6.1553787e37,6.175299e37,6.195219e37,6.2151393e37,6.2350597e37,6.25498e37,6.2749004e37,6.294821e37,6.314741e37,6.3346615e37,6.354582e37,6.374502e37,6.3944226e37,6.4143425e37,6.434263e37,6.454183e37,6.4741036e37,6.494024e37,6.5139443e37,6.5338647e37,6.553785e37,6.5737054e37,6.593626e37,6.6135456e37,6.633466e37,6.6533864e37,6.6733067e37,6.693227e37,6.7131475e37,6.733068e37,6.752988e37,6.7729086e37,6.792829e37,6.812749e37,6.832669e37,6.8525896e37,6.87251e37,6.8924303e37,6.9123507e37,6.932271e37,6.9521914e37,6.972112e37,6.992032e37,7.011952e37,7.0318724e37,7.0517927e37,7.071713e37,7.0916335e37,7.111554e37,7.131474e37,7.1513946e37,7.171315e37,7.1912353e37,7.211155e37,7.2310755e37,7.250996e37,7.2709163e37,7.2908367e37,7.310757e37,7.3306774e37,7.350598e37,7.370518e37,7.3904385e37,7.4103584e37,7.4302787e37,7.450199e37,7.4701195e37,7.49004e37,7.50996e37,7.5298806e37,7.549801e37,7.5697213e37,7.5896417e37,7.6095615e37,7.629482e37,7.6494023e37,7.6693226e37,7.689243e37,7.7091634e37,7.7290837e37,7.749004e37,7.7689245e37,7.788845e37,7.8087647e37,7.828685e37,7.8486054e37,7.868526e37,7.888446e37,7.9083666e37,7.928287e37,7.9482073e37,7.9681277e37,7.988048e37,8.0079684e37,8.0278883e37,8.0478086e37,8.067729e37,8.0876494e37,8.1075697e37,8.12749e37,8.1474105e37,8.167331e37,8.187251e37,8.2071716e37,8.2270914e37,8.247012e37,8.266932e37,8.2868525e37,8.306773e37,8.3266933e37,8.3466137e37,8.366534e37,8.3864544e37,8.406375e37,8.4262946e37,8.446215e37,8.4661354e37,8.4860557e37,8.505976e37,8.525896e37,8.545817e37,8.565737e37,8.585658e37,8.605578e37,8.625498e37,8.645419e37,8.665339e37,8.685259e37,8.70518e37,8.725099e37,8.74502e37,8.76494e37,8.78486e37,8.804781e37,8.824701e37,8.844621e37,8.864542e37,8.884462e37,8.904382e37,8.924303e37,8.944223e37,8.964144e37,8.984064e37,9.003984e37,9.023905e37,9.043825e37,9.063745e37,9.083666e37,9.103586e37,9.123505e37,9.143426e37,9.163346e37,9.183267e37,9.203187e37,9.223107e37,9.243028e37,9.262948e37,9.282868e37,9.302789e37,9.322709e37,9.34263e37,9.36255e37,9.38247e37,9.402391e37,9.422311e37,9.442231e37,9.462152e37,9.482072e37,9.501992e37,9.521913e37,9.541832e37,9.561753e37,9.581673e37,9.601593e37,9.621514e37,9.641434e37,9.661354e37,9.681275e37,9.701195e37,9.721116e37,9.741036e37,9.760956e37,9.780877e37,9.800797e37,9.820717e37,9.840638e37,9.860558e37,9.880478e37,9.900399e37,9.920319e37,9.940239e37,9.960159e37,9.980079e37,1.0e38]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/large_negative.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/large_negative.json new file mode 100644 index 000000000000..b4582dd80372 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/large_negative.json @@ -0,0 +1 @@ +{"expected":[-0.32745016,-0.32228217,-0.3172724,-0.31241366,-0.30769932,-0.30312327,-0.2986794,-0.29436228,-0.29016656,-0.28608727,-0.28211966,-0.27825934,-0.274502,-0.27084363,-0.26728037,-0.2638087,-0.2604251,-0.25712624,-0.25390914,-0.25077075,-0.24770825,-0.24471895,-0.2418003,-0.23894979,-0.23616514,-0.23344408,-0.23078448,-0.2281843,-0.22564158,-0.2231545,-0.22072119,-0.21833998,-0.21600921,-0.21372734,-0.21149282,-0.20930424,-0.20716016,-0.20505926,-0.20300028,-0.20098196,-0.19900313,-0.19706266,-0.19515942,-0.19329238,-0.19146052,-0.18966283,-0.18789841,-0.18616633,-0.18446574,-0.18279575,-0.18115558,-0.17954442,-0.1779615,-0.17640613,-0.17487758,-0.17337517,-0.17189823,-0.17044611,-0.16901821,-0.16761392,-0.16623269,-0.16487391,-0.16353709,-0.16222167,-0.16092716,-0.15965307,-0.15839888,-0.15716422,-0.15594853,-0.15475145,-0.15357254,-0.15241137,-0.15126759,-0.15014078,-0.14903055,-0.14793658,-0.1468585,-0.14579596,-0.14474863,-0.1437162,-0.14269833,-0.14169474,-0.14070511,-0.13972916,-0.13876663,-0.13781723,-0.1368807,-0.13595675,-0.13504516,-0.13414569,-0.13325807,-0.1323821,-0.13151753,-0.13066415,-0.12982176,-0.1289901,-0.12816903,-0.1273583,-0.12655775,-0.12576716,-0.12498636,-0.124215186,-0.12345344,-0.122700945,-0.12195755,-0.12122309,-0.12049741,-0.119780354,-0.119071744,-0.11837145,-0.11767933,-0.116995245,-0.11631904,-0.11565059,-0.11498976,-0.11433643,-0.113690466,-0.11305174,-0.112420134,-0.111795545,-0.11117785,-0.11056691,-0.10996264,-0.10936492,-0.108773656,-0.10818873,-0.10761006,-0.10703754,-0.10647106,-0.10591053,-0.105355866,-0.10480696,-0.10426376,-0.10372613,-0.10319402,-0.102667324,-0.10214596,-0.10162987,-0.10111895,-0.10061313,-0.10011235,-0.09961651,-0.099125564,-0.09863941,-0.098158,-0.09768126,-0.097209126,-0.09674153,-0.09627839,-0.09581966,-0.09536528,-0.094915174,-0.094469294,-0.09402758,-0.09358997,-0.09315641,-0.09272685,-0.09230122,-0.09187947,-0.09146156,-0.09104742,-0.09063701,-0.090230286,-0.08982718,-0.089427665,-0.08903168,-0.088639185,-0.08825013,-0.087864466,-0.087482154,-0.08710316,-0.086727425,-0.08635491,-0.085985586,-0.0856194,-0.085256316,-0.084896296,-0.084539294,-0.08418528,-0.083834216,-0.08348606,-0.08314079,-0.08279836,-0.08245874,-0.08212189,-0.08178776,-0.081456356,-0.081127614,-0.08080151,-0.08047801,-0.0801571,-0.07983873,-0.07952288,-0.079209514,-0.07889861,-0.07859013,-0.078284055,-0.07798035,-0.077678986,-0.077379934,-0.077083185,-0.07678869,-0.07649645,-0.076206416,-0.07591857,-0.07563289,-0.07534935,-0.07506792,-0.07478859,-0.07451134,-0.07423612,-0.07396292,-0.07369173,-0.07342253,-0.07315527,-0.072889954,-0.072626546,-0.07236504,-0.072105415,-0.07184764,-0.071591705,-0.07133757,-0.07108524,-0.07083469,-0.0705859,-0.070338845,-0.07009351,-0.069849886,-0.06960794,-0.06936768,-0.06912905,-0.06889206,-0.0686567,-0.068422936,-0.06819075,-0.06796014,-0.06773108,-0.06750356,-0.06727756,-0.067053065,-0.06683008,-0.06660855,-0.06638849,-0.06616987,-0.065952696,-0.06573695,-0.065522596,-0.06530964,-0.06509806,-0.064887844,-0.06467898,-0.06447145,-0.064265266,-0.064060375,-0.063856795,-0.063654505,-0.06345349,-0.06325373,-0.06305525,-0.062857985,-0.06266196,-0.062467154,-0.06227354,-0.06208114,-0.06188992,-0.06169987,-0.061510984,-0.06132325,-0.061136663,-0.060951203,-0.060766865,-0.06058363,-0.060401503,-0.060220465,-0.06004051,-0.059861626,-0.05968381,-0.05950704,-0.059331317,-0.059156626,-0.058982953,-0.058810305,-0.058638666,-0.058468018,-0.058298368,-0.058129694,-0.05796199,-0.057795253,-0.057629474,-0.057464648,-0.057300754,-0.057137795,-0.056975756,-0.056814637,-0.056654423,-0.056495108,-0.05633669,-0.056179155,-0.0560225,-0.055866715,-0.05571179,-0.055557728,-0.055404514,-0.05525214,-0.055100597,-0.05494989,-0.0548,-0.05465093,-0.054502666,-0.0543552,-0.054208536,-0.054062657,-0.05391756,-0.05377324,-0.0536297,-0.053486913,-0.05334489,-0.053203616,-0.05306308,-0.052923292,-0.052784238,-0.052645914,-0.05250831,-0.052371424,-0.052235246,-0.05209978,-0.05196501,-0.051830936,-0.051697552,-0.051564854,-0.051432833,-0.051301487,-0.051170807,-0.0510408,-0.05091144,-0.050782744,-0.050654694,-0.050527282,-0.050400514,-0.050274387,-0.05014888,-0.050024,-0.049899735,-0.04977609,-0.04965306,-0.04953063,-0.049408805,-0.049287573,-0.049166944,-0.049046896,-0.048927434,-0.048808552,-0.04869025,-0.048572518,-0.04845535,-0.04833875,-0.048222706,-0.04810722,-0.047992285,-0.047877897,-0.047764055,-0.04765075,-0.047537982,-0.047425747,-0.047314044,-0.047202863,-0.047092203,-0.04698206,-0.046872433,-0.046763316,-0.046654698,-0.04654659,-0.04643898,-0.046331868,-0.04622525,-0.046119116,-0.04601347,-0.045908306,-0.04580362,-0.045699418,-0.045595687,-0.04549242,-0.045389622,-0.04528729,-0.045185413,-0.045083996,-0.044983037,-0.044882525,-0.044782456,-0.04468284,-0.044583667,-0.044484932,-0.044386633,-0.04428876,-0.044191323,-0.044094313,-0.04399773,-0.043901566,-0.043805823,-0.043710493,-0.04361558,-0.04352108,-0.043426983,-0.043333296,-0.043240014,-0.04314713,-0.043054644,-0.042962555,-0.042870857,-0.04277955,-0.042688634,-0.0425981,-0.042507946,-0.04241818,-0.042328786,-0.042239774,-0.042151134,-0.042062864,-0.04197496,-0.04188743,-0.041800257,-0.041713443,-0.041626997,-0.041540906,-0.041455165,-0.041369785,-0.041284747,-0.041200068,-0.041115727,-0.041031737,-0.040948085,-0.040864773,-0.040781803,-0.04069917,-0.040616866,-0.040534895,-0.040453255,-0.040371943,-0.040290955,-0.0402103,-0.04012996,-0.040049944,-0.039970245,-0.039890856,-0.039811786,-0.039733034,-0.039654586,-0.03957645,-0.039498623,-0.0394211,-0.03934388,-0.03926696,-0.03919034,-0.039114024,-0.039038,-0.038962267,-0.038886834,-0.03881169,-0.03873684,-0.03866227,-0.03858799,-0.038514,-0.038440287,-0.038366854,-0.038293708,-0.038220834,-0.038148243,-0.038075924,-0.038003877,-0.0379321,-0.0378606,-0.037789367,-0.037718397,-0.037647698,-0.03757726,-0.037507087,-0.03743718,-0.03736752,-0.03729813,-0.03722899,-0.037160113,-0.037091486,-0.037023116,-0.03695499,-0.03688712,-0.036819495,-0.036752123,-0.036684994,-0.03661811,-0.036551468,-0.036485072,-0.036418915,-0.036353,-0.036287315,-0.036221873,-0.036156666,-0.03609169,-0.03602695,-0.03596244,-0.03589816,-0.03583411,-0.03577029,-0.035706703],"x":[-3.0,-3.0498009,-3.0996015,-3.1494024,-3.1992033,-3.249004,-3.2988048,-3.3486056,-3.3984063,-3.4482071,-3.498008,-3.5478086,-3.5976095,-3.6474104,-3.6972113,-3.747012,-3.7968128,-3.8466136,-3.8964143,-3.9462152,-3.996016,-4.045817,-4.0956173,-4.145418,-4.195219,-4.24502,-4.294821,-4.3446217,-4.3944225,-4.444223,-4.494024,-4.5438247,-4.5936255,-4.6434264,-4.6932273,-4.7430277,-4.7928286,-4.8426294,-4.8924303,-4.942231,-4.992032,-5.0418324,-5.0916333,-5.141434,-5.191235,-5.241036,-5.290837,-5.3406377,-5.390438,-5.440239,-5.49004,-5.5398407,-5.5896416,-5.6394424,-5.689243,-5.7390437,-5.7888446,-5.8386455,-5.8884463,-5.938247,-5.9880476,-6.0378485,-6.0876493,-6.13745,-6.187251,-6.237052,-6.2868524,-6.336653,-6.386454,-6.436255,-6.486056,-6.5358567,-6.5856576,-6.635458,-6.685259,-6.7350597,-6.7848606,-6.8346615,-6.8844624,-6.9342628,-6.9840636,-7.0338645,-7.0836654,-7.1334662,-7.183267,-7.2330675,-7.2828684,-7.3326693,-7.38247,-7.432271,-7.482072,-7.5318723,-7.581673,-7.631474,-7.681275,-7.731076,-7.7808766,-7.8306775,-7.880478,-7.930279,-7.9800797,-8.029881,-8.079681,-8.129482,-8.179283,-8.229084,-8.278885,-8.328685,-8.378486,-8.428287,-8.478087,-8.527888,-8.577689,-8.62749,-8.677291,-8.727092,-8.776893,-8.826694,-8.876494,-8.926295,-8.976095,-9.025896,-9.075697,-9.125498,-9.175299,-9.2251,-9.2749,-9.324701,-9.374502,-9.424303,-9.474104,-9.523905,-9.573705,-9.623506,-9.673306,-9.723107,-9.772908,-9.822709,-9.87251,-9.922311,-9.972112,-10.021913,-10.071713,-10.121514,-10.171315,-10.221115,-10.270916,-10.320717,-10.370518,-10.420319,-10.470119,-10.51992,-10.569721,-10.619522,-10.669323,-10.719124,-10.768925,-10.818725,-10.8685255,-10.918326,-10.968127,-11.017928,-11.067729,-11.11753,-11.167331,-11.217132,-11.2669325,-11.316733,-11.366534,-11.416335,-11.466135,-11.515936,-11.565737,-11.615538,-11.6653385,-11.715139,-11.76494,-11.814741,-11.864542,-11.914343,-11.964144,-12.013945,-12.063745,-12.113545,-12.163346,-12.213147,-12.262948,-12.312749,-12.36255,-12.412351,-12.462152,-12.511952,-12.561753,-12.611554,-12.661355,-12.711155,-12.760956,-12.810757,-12.860558,-12.910358,-12.960159,-13.00996,-13.059761,-13.109562,-13.159363,-13.209164,-13.258965,-13.308765,-13.358565,-13.408366,-13.458167,-13.507968,-13.557769,-13.60757,-13.657371,-13.707171,-13.756972,-13.806773,-13.856574,-13.906375,-13.956175,-14.005976,-14.055777,-14.105577,-14.155378,-14.205179,-14.25498,-14.304781,-14.354582,-14.404383,-14.454184,-14.503984,-14.553785,-14.603585,-14.653386,-14.703187,-14.752988,-14.802789,-14.85259,-14.9023905,-14.952191,-15.001992,-15.051793,-15.101594,-15.151395,-15.201195,-15.250996,-15.3007965,-15.350597,-15.400398,-15.450199,-15.5,-15.549801,-15.599602,-15.649403,-15.6992035,-15.749004,-15.798805,-15.848605,-15.898406,-15.948207,-15.998008,-16.04781,-16.09761,-16.14741,-16.19721,-16.247011,-16.296812,-16.346613,-16.396414,-16.446215,-16.496016,-16.545816,-16.595617,-16.645418,-16.695219,-16.74502,-16.79482,-16.844622,-16.894423,-16.944223,-16.994024,-17.043825,-17.093626,-17.143427,-17.193228,-17.243029,-17.29283,-17.34263,-17.39243,-17.44223,-17.492031,-17.541832,-17.591633,-17.641434,-17.691235,-17.741035,-17.790836,-17.840637,-17.890438,-17.940239,-17.99004,-18.03984,-18.089642,-18.139442,-18.189243,-18.239044,-18.288845,-18.338646,-18.388447,-18.438248,-18.488049,-18.53785,-18.58765,-18.63745,-18.68725,-18.737051,-18.786852,-18.836653,-18.886454,-18.936255,-18.986055,-19.035856,-19.085657,-19.135458,-19.185259,-19.23506,-19.28486,-19.334661,-19.384462,-19.434263,-19.484064,-19.533865,-19.583666,-19.633467,-19.683268,-19.733068,-19.78287,-19.83267,-19.88247,-19.93227,-19.98207,-20.031872,-20.081673,-20.131474,-20.181274,-20.231075,-20.280876,-20.330677,-20.380478,-20.430279,-20.48008,-20.52988,-20.579681,-20.629482,-20.679283,-20.729084,-20.778885,-20.828686,-20.878487,-20.928288,-20.978088,-21.02789,-21.07769,-21.12749,-21.17729,-21.22709,-21.276892,-21.326693,-21.376493,-21.426294,-21.476095,-21.525896,-21.575697,-21.625498,-21.675299,-21.7251,-21.7749,-21.824701,-21.874502,-21.924303,-21.974104,-22.023905,-22.073706,-22.123507,-22.173307,-22.223108,-22.27291,-22.32271,-22.37251,-22.42231,-22.47211,-22.521912,-22.571712,-22.621513,-22.671314,-22.721115,-22.770916,-22.820717,-22.870518,-22.920319,-22.97012,-23.01992,-23.069721,-23.119522,-23.169323,-23.219124,-23.268925,-23.318726,-23.368526,-23.418327,-23.468128,-23.51793,-23.56773,-23.61753,-23.66733,-23.71713,-23.766932,-23.816732,-23.866533,-23.916334,-23.966135,-24.015936,-24.065737,-24.115538,-24.165339,-24.21514,-24.26494,-24.314741,-24.364542,-24.414343,-24.464144,-24.513945,-24.563745,-24.613546,-24.663347,-24.713148,-24.762949,-24.81275,-24.86255,-24.91235,-24.96215,-25.011951,-25.061752,-25.111553,-25.161354,-25.211155,-25.260956,-25.310757,-25.360558,-25.410358,-25.46016,-25.50996,-25.559761,-25.609562,-25.659363,-25.709164,-25.758965,-25.808765,-25.858566,-25.908367,-25.958168,-26.007969,-26.05777,-26.10757,-26.15737,-26.20717,-26.256971,-26.306772,-26.356573,-26.406374,-26.456175,-26.505976,-26.555777,-26.605577,-26.655378,-26.70518,-26.75498,-26.804781,-26.854582,-26.904383,-26.954184,-27.003984,-27.053785,-27.103586,-27.153387,-27.203188,-27.252989,-27.30279,-27.35259,-27.40239,-27.45219,-27.501991,-27.551792,-27.601593,-27.651394,-27.701195,-27.750996,-27.800797,-27.850597,-27.900398,-27.9502,-28.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/large_positive.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/large_positive.json new file mode 100644 index 000000000000..823239a874cd --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/large_positive.json @@ -0,0 +1 @@ +{"expected":[0.32745016,0.32228217,0.3172724,0.31241366,0.30769932,0.30312327,0.2986794,0.29436228,0.29016656,0.28608727,0.28211966,0.27825934,0.274502,0.27084363,0.26728037,0.2638087,0.2604251,0.25712624,0.25390914,0.25077075,0.24770825,0.24471895,0.2418003,0.23894979,0.23616514,0.23344408,0.23078448,0.2281843,0.22564158,0.2231545,0.22072119,0.21833998,0.21600921,0.21372734,0.21149282,0.20930424,0.20716016,0.20505926,0.20300028,0.20098196,0.19900313,0.19706266,0.19515942,0.19329238,0.19146052,0.18966283,0.18789841,0.18616633,0.18446574,0.18279575,0.18115558,0.17954442,0.1779615,0.17640613,0.17487758,0.17337517,0.17189823,0.17044611,0.16901821,0.16761392,0.16623269,0.16487391,0.16353709,0.16222167,0.16092716,0.15965307,0.15839888,0.15716422,0.15594853,0.15475145,0.15357254,0.15241137,0.15126759,0.15014078,0.14903055,0.14793658,0.1468585,0.14579596,0.14474863,0.1437162,0.14269833,0.14169474,0.14070511,0.13972916,0.13876663,0.13781723,0.1368807,0.13595675,0.13504516,0.13414569,0.13325807,0.1323821,0.13151753,0.13066415,0.12982176,0.1289901,0.12816903,0.1273583,0.12655775,0.12576716,0.12498636,0.124215186,0.12345344,0.122700945,0.12195755,0.12122309,0.12049741,0.119780354,0.119071744,0.11837145,0.11767933,0.116995245,0.11631904,0.11565059,0.11498976,0.11433643,0.113690466,0.11305174,0.112420134,0.111795545,0.11117785,0.11056691,0.10996264,0.10936492,0.108773656,0.10818873,0.10761006,0.10703754,0.10647106,0.10591053,0.105355866,0.10480696,0.10426376,0.10372613,0.10319402,0.102667324,0.10214596,0.10162987,0.10111895,0.10061313,0.10011235,0.09961651,0.099125564,0.09863941,0.098158,0.09768126,0.097209126,0.09674153,0.09627839,0.09581966,0.09536528,0.094915174,0.094469294,0.09402758,0.09358997,0.09315641,0.09272685,0.09230122,0.09187947,0.09146156,0.09104742,0.09063701,0.090230286,0.08982718,0.089427665,0.08903168,0.088639185,0.08825013,0.087864466,0.087482154,0.08710316,0.086727425,0.08635491,0.085985586,0.0856194,0.085256316,0.084896296,0.084539294,0.08418528,0.083834216,0.08348606,0.08314079,0.08279836,0.08245874,0.08212189,0.08178776,0.081456356,0.081127614,0.08080151,0.08047801,0.0801571,0.07983873,0.07952288,0.079209514,0.07889861,0.07859013,0.078284055,0.07798035,0.077678986,0.077379934,0.077083185,0.07678869,0.07649645,0.076206416,0.07591857,0.07563289,0.07534935,0.07506792,0.07478859,0.07451134,0.07423612,0.07396292,0.07369173,0.07342253,0.07315527,0.072889954,0.072626546,0.07236504,0.072105415,0.07184764,0.071591705,0.07133757,0.07108524,0.07083469,0.0705859,0.070338845,0.07009351,0.069849886,0.06960794,0.06936768,0.06912905,0.06889206,0.0686567,0.068422936,0.06819075,0.06796014,0.06773108,0.06750356,0.06727756,0.067053065,0.06683008,0.06660855,0.06638849,0.06616987,0.065952696,0.06573695,0.065522596,0.06530964,0.06509806,0.064887844,0.06467898,0.06447145,0.064265266,0.064060375,0.063856795,0.063654505,0.06345349,0.06325373,0.06305525,0.062857985,0.06266196,0.062467154,0.06227354,0.06208114,0.06188992,0.06169987,0.061510984,0.06132325,0.061136663,0.060951203,0.060766865,0.06058363,0.060401503,0.060220465,0.06004051,0.059861626,0.05968381,0.05950704,0.059331317,0.059156626,0.058982953,0.058810305,0.058638666,0.058468018,0.058298368,0.058129694,0.05796199,0.057795253,0.057629474,0.057464648,0.057300754,0.057137795,0.056975756,0.056814637,0.056654423,0.056495108,0.05633669,0.056179155,0.0560225,0.055866715,0.05571179,0.055557728,0.055404514,0.05525214,0.055100597,0.05494989,0.0548,0.05465093,0.054502666,0.0543552,0.054208536,0.054062657,0.05391756,0.05377324,0.0536297,0.053486913,0.05334489,0.053203616,0.05306308,0.052923292,0.052784238,0.052645914,0.05250831,0.052371424,0.052235246,0.05209978,0.05196501,0.051830936,0.051697552,0.051564854,0.051432833,0.051301487,0.051170807,0.0510408,0.05091144,0.050782744,0.050654694,0.050527282,0.050400514,0.050274387,0.05014888,0.050024,0.049899735,0.04977609,0.04965306,0.04953063,0.049408805,0.049287573,0.049166944,0.049046896,0.048927434,0.048808552,0.04869025,0.048572518,0.04845535,0.04833875,0.048222706,0.04810722,0.047992285,0.047877897,0.047764055,0.04765075,0.047537982,0.047425747,0.047314044,0.047202863,0.047092203,0.04698206,0.046872433,0.046763316,0.046654698,0.04654659,0.04643898,0.046331868,0.04622525,0.046119116,0.04601347,0.045908306,0.04580362,0.045699418,0.045595687,0.04549242,0.045389622,0.04528729,0.045185413,0.045083996,0.044983037,0.044882525,0.044782456,0.04468284,0.044583667,0.044484932,0.044386633,0.04428876,0.044191323,0.044094313,0.04399773,0.043901566,0.043805823,0.043710493,0.04361558,0.04352108,0.043426983,0.043333296,0.043240014,0.04314713,0.043054644,0.042962555,0.042870857,0.04277955,0.042688634,0.0425981,0.042507946,0.04241818,0.042328786,0.042239774,0.042151134,0.042062864,0.04197496,0.04188743,0.041800257,0.041713443,0.041626997,0.041540906,0.041455165,0.041369785,0.041284747,0.041200068,0.041115727,0.041031737,0.040948085,0.040864773,0.040781803,0.04069917,0.040616866,0.040534895,0.040453255,0.040371943,0.040290955,0.0402103,0.04012996,0.040049944,0.039970245,0.039890856,0.039811786,0.039733034,0.039654586,0.03957645,0.039498623,0.0394211,0.03934388,0.03926696,0.03919034,0.039114024,0.039038,0.038962267,0.038886834,0.03881169,0.03873684,0.03866227,0.03858799,0.038514,0.038440287,0.038366854,0.038293708,0.038220834,0.038148243,0.038075924,0.038003877,0.0379321,0.0378606,0.037789367,0.037718397,0.037647698,0.03757726,0.037507087,0.03743718,0.03736752,0.03729813,0.03722899,0.037160113,0.037091486,0.037023116,0.03695499,0.03688712,0.036819495,0.036752123,0.036684994,0.03661811,0.036551468,0.036485072,0.036418915,0.036353,0.036287315,0.036221873,0.036156666,0.03609169,0.03602695,0.03596244,0.03589816,0.03583411,0.03577029,0.035706703],"x":[3.0,3.0498009,3.0996015,3.1494024,3.1992033,3.249004,3.2988048,3.3486056,3.3984063,3.4482071,3.498008,3.5478086,3.5976095,3.6474104,3.6972113,3.747012,3.7968128,3.8466136,3.8964143,3.9462152,3.996016,4.045817,4.0956173,4.145418,4.195219,4.24502,4.294821,4.3446217,4.3944225,4.444223,4.494024,4.5438247,4.5936255,4.6434264,4.6932273,4.7430277,4.7928286,4.8426294,4.8924303,4.942231,4.992032,5.0418324,5.0916333,5.141434,5.191235,5.241036,5.290837,5.3406377,5.390438,5.440239,5.49004,5.5398407,5.5896416,5.6394424,5.689243,5.7390437,5.7888446,5.8386455,5.8884463,5.938247,5.9880476,6.0378485,6.0876493,6.13745,6.187251,6.237052,6.2868524,6.336653,6.386454,6.436255,6.486056,6.5358567,6.5856576,6.635458,6.685259,6.7350597,6.7848606,6.8346615,6.8844624,6.9342628,6.9840636,7.0338645,7.0836654,7.1334662,7.183267,7.2330675,7.2828684,7.3326693,7.38247,7.432271,7.482072,7.5318723,7.581673,7.631474,7.681275,7.731076,7.7808766,7.8306775,7.880478,7.930279,7.9800797,8.029881,8.079681,8.129482,8.179283,8.229084,8.278885,8.328685,8.378486,8.428287,8.478087,8.527888,8.577689,8.62749,8.677291,8.727092,8.776893,8.826694,8.876494,8.926295,8.976095,9.025896,9.075697,9.125498,9.175299,9.2251,9.2749,9.324701,9.374502,9.424303,9.474104,9.523905,9.573705,9.623506,9.673306,9.723107,9.772908,9.822709,9.87251,9.922311,9.972112,10.021913,10.071713,10.121514,10.171315,10.221115,10.270916,10.320717,10.370518,10.420319,10.470119,10.51992,10.569721,10.619522,10.669323,10.719124,10.768925,10.818725,10.8685255,10.918326,10.968127,11.017928,11.067729,11.11753,11.167331,11.217132,11.2669325,11.316733,11.366534,11.416335,11.466135,11.515936,11.565737,11.615538,11.6653385,11.715139,11.76494,11.814741,11.864542,11.914343,11.964144,12.013945,12.063745,12.113545,12.163346,12.213147,12.262948,12.312749,12.36255,12.412351,12.462152,12.511952,12.561753,12.611554,12.661355,12.711155,12.760956,12.810757,12.860558,12.910358,12.960159,13.00996,13.059761,13.109562,13.159363,13.209164,13.258965,13.308765,13.358565,13.408366,13.458167,13.507968,13.557769,13.60757,13.657371,13.707171,13.756972,13.806773,13.856574,13.906375,13.956175,14.005976,14.055777,14.105577,14.155378,14.205179,14.25498,14.304781,14.354582,14.404383,14.454184,14.503984,14.553785,14.603585,14.653386,14.703187,14.752988,14.802789,14.85259,14.9023905,14.952191,15.001992,15.051793,15.101594,15.151395,15.201195,15.250996,15.3007965,15.350597,15.400398,15.450199,15.5,15.549801,15.599602,15.649403,15.6992035,15.749004,15.798805,15.848605,15.898406,15.948207,15.998008,16.04781,16.09761,16.14741,16.19721,16.247011,16.296812,16.346613,16.396414,16.446215,16.496016,16.545816,16.595617,16.645418,16.695219,16.74502,16.79482,16.844622,16.894423,16.944223,16.994024,17.043825,17.093626,17.143427,17.193228,17.243029,17.29283,17.34263,17.39243,17.44223,17.492031,17.541832,17.591633,17.641434,17.691235,17.741035,17.790836,17.840637,17.890438,17.940239,17.99004,18.03984,18.089642,18.139442,18.189243,18.239044,18.288845,18.338646,18.388447,18.438248,18.488049,18.53785,18.58765,18.63745,18.68725,18.737051,18.786852,18.836653,18.886454,18.936255,18.986055,19.035856,19.085657,19.135458,19.185259,19.23506,19.28486,19.334661,19.384462,19.434263,19.484064,19.533865,19.583666,19.633467,19.683268,19.733068,19.78287,19.83267,19.88247,19.93227,19.98207,20.031872,20.081673,20.131474,20.181274,20.231075,20.280876,20.330677,20.380478,20.430279,20.48008,20.52988,20.579681,20.629482,20.679283,20.729084,20.778885,20.828686,20.878487,20.928288,20.978088,21.02789,21.07769,21.12749,21.17729,21.22709,21.276892,21.326693,21.376493,21.426294,21.476095,21.525896,21.575697,21.625498,21.675299,21.7251,21.7749,21.824701,21.874502,21.924303,21.974104,22.023905,22.073706,22.123507,22.173307,22.223108,22.27291,22.32271,22.37251,22.42231,22.47211,22.521912,22.571712,22.621513,22.671314,22.721115,22.770916,22.820717,22.870518,22.920319,22.97012,23.01992,23.069721,23.119522,23.169323,23.219124,23.268925,23.318726,23.368526,23.418327,23.468128,23.51793,23.56773,23.61753,23.66733,23.71713,23.766932,23.816732,23.866533,23.916334,23.966135,24.015936,24.065737,24.115538,24.165339,24.21514,24.26494,24.314741,24.364542,24.414343,24.464144,24.513945,24.563745,24.613546,24.663347,24.713148,24.762949,24.81275,24.86255,24.91235,24.96215,25.011951,25.061752,25.111553,25.161354,25.211155,25.260956,25.310757,25.360558,25.410358,25.46016,25.50996,25.559761,25.609562,25.659363,25.709164,25.758965,25.808765,25.858566,25.908367,25.958168,26.007969,26.05777,26.10757,26.15737,26.20717,26.256971,26.306772,26.356573,26.406374,26.456175,26.505976,26.555777,26.605577,26.655378,26.70518,26.75498,26.804781,26.854582,26.904383,26.954184,27.003984,27.053785,27.103586,27.153387,27.203188,27.252989,27.30279,27.35259,27.40239,27.45219,27.501991,27.551792,27.601593,27.651394,27.701195,27.750996,27.800797,27.850597,27.900398,27.9502,28.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/larger_negative.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/larger_negative.json new file mode 100644 index 000000000000..a9ef58f28e8d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/larger_negative.json @@ -0,0 +1 @@ +{"expected":[-0.035706703,-0.035524804,-0.035344753,-0.035166517,-0.03499007,-0.034815386,-0.034642436,-0.034471195,-0.03430164,-0.034133743,-0.03396748,-0.03380283,-0.03363977,-0.033478275,-0.033318315,-0.03315988,-0.033002954,-0.032847494,-0.032693498,-0.032540936,-0.032389794,-0.032240048,-0.032091677,-0.03194467,-0.031799,-0.031654652,-0.03151161,-0.031369854,-0.031229367,-0.031090135,-0.030952139,-0.030815357,-0.030679783,-0.030545395,-0.030412178,-0.03028012,-0.030149207,-0.030019414,-0.029890737,-0.02976316,-0.029636662,-0.029511238,-0.029386872,-0.029263545,-0.029141255,-0.02901998,-0.028899707,-0.02878043,-0.028662134,-0.028544804,-0.028428432,-0.028313005,-0.028198509,-0.02808494,-0.027972277,-0.027860517,-0.027749646,-0.02763965,-0.027530529,-0.027422264,-0.027314842,-0.027208263,-0.027102513,-0.02699758,-0.026893457,-0.026790136,-0.026687602,-0.02658585,-0.026484875,-0.026384657,-0.026285201,-0.02618649,-0.026088515,-0.025991274,-0.025894754,-0.025798947,-0.025703847,-0.025609447,-0.025515733,-0.025422707,-0.025330357,-0.025238672,-0.02514765,-0.025057284,-0.024967562,-0.02487848,-0.024790032,-0.024702212,-0.024615012,-0.024528425,-0.024442442,-0.024357064,-0.024272278,-0.024188079,-0.024104465,-0.024021424,-0.023938958,-0.023857053,-0.023775704,-0.023694914,-0.023614667,-0.023534961,-0.023455793,-0.023377156,-0.023299044,-0.02322145,-0.023144376,-0.023067806,-0.022991747,-0.022916183,-0.022841113,-0.022766538,-0.022692448,-0.022618836,-0.0225457,-0.02247304,-0.02240084,-0.022329105,-0.02225783,-0.022187004,-0.022116631,-0.022046704,-0.021977214,-0.021908164,-0.021839546,-0.021771353,-0.021703588,-0.021636242,-0.021569313,-0.021502798,-0.02143669,-0.021370988,-0.021305688,-0.021240786,-0.021176277,-0.02111216,-0.021048428,-0.020985082,-0.020922117,-0.020859525,-0.020797307,-0.020735461,-0.02067398,-0.020612866,-0.020552108,-0.020491706,-0.020431662,-0.020371968,-0.02031262,-0.020253617,-0.020194959,-0.020136636,-0.020078652,-0.020020999,-0.019963674,-0.01990668,-0.01985001,-0.01979366,-0.019737631,-0.019681916,-0.019626517,-0.019571427,-0.019516645,-0.01946217,-0.019407999,-0.019354127,-0.019300554,-0.019247279,-0.019194294,-0.0191416,-0.019089196,-0.019037079,-0.018985244,-0.018933691,-0.018882416,-0.018831419,-0.018780697,-0.018730247,-0.01868007,-0.018630156,-0.018580511,-0.018531129,-0.01848201,-0.018433152,-0.01838455,-0.018336201,-0.01828811,-0.018240267,-0.018192675,-0.018145332,-0.018098231,-0.01805138,-0.018004764,-0.017958393,-0.017912261,-0.017866362,-0.017820697,-0.017775267,-0.017730068,-0.017685099,-0.017640354,-0.017595839,-0.017551547,-0.017507477,-0.017463626,-0.017419996,-0.017376583,-0.017333386,-0.017290404,-0.017247632,-0.017205074,-0.017162725,-0.017120583,-0.017078647,-0.017036917,-0.01699539,-0.016954064,-0.01691294,-0.016872015,-0.016831286,-0.016790757,-0.016750418,-0.016710276,-0.016670324,-0.01663056,-0.016590988,-0.016551604,-0.016512407,-0.016473396,-0.016434567,-0.01639592,-0.016357455,-0.016319172,-0.016281066,-0.016243137,-0.016205387,-0.016167808,-0.016130406,-0.016093176,-0.016056117,-0.016019229,-0.015982509,-0.015945956,-0.015909571,-0.015873352,-0.015837297,-0.015801407,-0.01576568,-0.01573011,-0.015694704,-0.015659455,-0.015624364,-0.01558943,-0.015554654,-0.015520029,-0.0154855605,-0.015451244,-0.015417079,-0.015383067,-0.015349203,-0.015315485,-0.015281918,-0.015248498,-0.015215224,-0.015182094,-0.015149107,-0.015116263,-0.015083563,-0.015051003,-0.015018583,-0.014986304,-0.014954162,-0.014922157,-0.01489029,-0.014858558,-0.014826961,-0.0147955,-0.01476417,-0.014732972,-0.0147019075,-0.014670973,-0.014640167,-0.014609492,-0.014578946,-0.014548524,-0.01451823,-0.014488063,-0.014458022,-0.014428103,-0.0143983085,-0.014368637,-0.014339088,-0.0143096605,-0.014280353,-0.014251165,-0.014222096,-0.014193144,-0.014164311,-0.014135596,-0.014106997,-0.014078513,-0.014050142,-0.0140218865,-0.013993744,-0.013965717,-0.013937798,-0.013909994,-0.013882297,-0.013854712,-0.013827236,-0.013799869,-0.013772612,-0.013745461,-0.013718415,-0.0136914775,-0.013664644,-0.013637917,-0.013611294,-0.013584774,-0.013558357,-0.0135320425,-0.013505831,-0.01347972,-0.013453711,-0.0134278,-0.013401992,-0.01337628,-0.013350667,-0.013325153,-0.013299735,-0.0132744135,-0.01324919,-0.013224061,-0.013199029,-0.01317409,-0.013149245,-0.013124492,-0.013099833,-0.013075268,-0.013050795,-0.013026413,-0.013002121,-0.012977918,-0.012953808,-0.012929786,-0.012905853,-0.012882009,-0.012858253,-0.012834583,-0.012811,-0.012787505,-0.012764096,-0.012740772,-0.012717534,-0.012694377,-0.012671309,-0.012648323,-0.01262542,-0.012602599,-0.012579859,-0.012557205,-0.0125346305,-0.012512135,-0.012489723,-0.01246739,-0.012445136,-0.012422963,-0.012400868,-0.012378852,-0.012356914,-0.012335052,-0.012313268,-0.012291561,-0.012269931,-0.012248376,-0.012226897,-0.012205495,-0.0121841645,-0.01216291,-0.012141729,-0.012120622,-0.012099589,-0.012078629,-0.012057739,-0.012036924,-0.01201618,-0.0119955065,-0.011974905,-0.011954375,-0.011933912,-0.01191352,-0.0118932,-0.011872948,-0.011852764,-0.011832649,-0.011812601,-0.0117926225,-0.011772711,-0.011752867,-0.01173309,-0.011713377,-0.011693732,-0.011674154,-0.011654639,-0.011635191,-0.011615807,-0.011596487,-0.011577232,-0.01155804,-0.011538913,-0.011519847,-0.011500846,-0.011481906,-0.011463029,-0.011444215,-0.011425463,-0.011406769,-0.011388138,-0.011369568,-0.011351059,-0.01133261,-0.011314219,-0.0112958895,-0.011277619,-0.011259406,-0.011241253,-0.011223159,-0.011205123,-0.011187144,-0.011169223,-0.011151359,-0.0111335525,-0.011115802,-0.011098109,-0.011080474,-0.011062891,-0.011045366,-0.011027896,-0.011010481,-0.010993121,-0.010975817,-0.010958565,-0.010941368,-0.010924226,-0.010907137,-0.0108901,-0.010873118,-0.010856189,-0.0108393105,-0.010822486,-0.010805715,-0.010788994,-0.010772325,-0.010755707,-0.010739139,-0.010722624,-0.01070616,-0.010689745,-0.010673381,-0.010657067,-0.010640804,-0.010624589,-0.010608423,-0.010592307,-0.01057624,-0.01056022,-0.010544252,-0.010528329,-0.010512455,-0.010496629,-0.01048085,-0.010465119,-0.010449436,-0.010433799,-0.010418208,-0.010402664,-0.0103871655,-0.010371714,-0.01035631,-0.0103409495,-0.010325636,-0.010310367,-0.0102951415,-0.010279964,-0.010264829,-0.0102497395,-0.010234693,-0.010219692,-0.010204733,-0.010189821,-0.010174951,-0.010160124,-0.010145339,-0.010130599,-0.0101159,-0.010101244,-0.010086632,-0.010072061,-0.010057532,-0.0100430455,-0.010028599,-0.010014196,-0.009999833],"x":[-28.0,-28.143427,-28.286852,-28.430279,-28.573706,-28.71713,-28.860558,-29.003984,-29.14741,-29.290836,-29.434263,-29.57769,-29.721115,-29.864542,-30.007969,-30.151394,-30.29482,-30.438248,-30.581673,-30.7251,-30.868526,-31.011951,-31.155378,-31.298805,-31.44223,-31.585657,-31.729084,-31.87251,-32.015938,-32.159363,-32.302788,-32.446217,-32.58964,-32.733067,-32.876495,-33.01992,-33.163345,-33.306774,-33.4502,-33.593624,-33.737053,-33.880478,-34.023903,-34.16733,-34.310757,-34.45418,-34.59761,-34.741035,-34.88446,-35.02789,-35.171314,-35.31474,-35.458168,-35.601593,-35.74502,-35.888447,-36.03187,-36.1753,-36.318726,-36.46215,-36.60558,-36.749004,-36.89243,-37.03586,-37.179283,-37.32271,-37.466137,-37.609562,-37.752987,-37.896416,-38.03984,-38.183266,-38.326694,-38.47012,-38.613544,-38.756973,-38.9004,-39.043823,-39.187252,-39.330677,-39.474102,-39.61753,-39.760956,-39.90438,-40.04781,-40.191235,-40.33466,-40.47809,-40.621513,-40.76494,-40.908367,-41.051792,-41.19522,-41.338646,-41.48207,-41.6255,-41.768925,-41.91235,-42.05578,-42.199203,-42.34263,-42.486057,-42.629482,-42.772907,-42.916336,-43.05976,-43.203186,-43.346615,-43.49004,-43.633465,-43.776894,-43.92032,-44.063744,-44.207172,-44.350597,-44.494022,-44.63745,-44.780876,-44.9243,-45.06773,-45.211155,-45.35458,-45.49801,-45.641434,-45.78486,-45.928288,-46.071712,-46.21514,-46.358566,-46.50199,-46.64542,-46.788845,-46.93227,-47.0757,-47.219124,-47.36255,-47.505978,-47.649403,-47.792828,-47.936256,-48.07968,-48.223106,-48.366535,-48.50996,-48.653385,-48.796814,-48.94024,-49.083664,-49.227093,-49.370518,-49.513943,-49.65737,-49.800797,-49.94422,-50.08765,-50.231075,-50.3745,-50.51793,-50.661354,-50.80478,-50.948208,-51.091633,-51.23506,-51.378487,-51.52191,-51.66534,-51.808765,-51.95219,-52.09562,-52.239044,-52.38247,-52.525898,-52.669323,-52.812748,-52.956177,-53.0996,-53.243027,-53.386456,-53.52988,-53.673306,-53.816734,-53.96016,-54.103584,-54.247013,-54.390438,-54.533863,-54.67729,-54.820717,-54.96414,-55.10757,-55.250996,-55.39442,-55.53785,-55.681274,-55.8247,-55.96813,-56.111553,-56.25498,-56.398407,-56.541832,-56.68526,-56.828686,-56.97211,-57.11554,-57.258965,-57.40239,-57.54582,-57.689243,-57.83267,-57.976097,-58.119522,-58.262947,-58.406376,-58.5498,-58.693226,-58.836655,-58.98008,-59.123505,-59.266933,-59.41036,-59.553783,-59.697212,-59.840637,-59.984062,-60.12749,-60.270916,-60.41434,-60.55777,-60.701195,-60.84462,-60.98805,-61.131474,-61.2749,-61.418327,-61.561752,-61.70518,-61.848606,-61.99203,-62.13546,-62.278885,-62.42231,-62.56574,-62.709164,-62.85259,-62.996017,-63.139442,-63.282867,-63.426296,-63.56972,-63.713146,-63.856575,-64.0,-64.143425,-64.28685,-64.43028,-64.57371,-64.71713,-64.86056,-65.00398,-65.14741,-65.29084,-65.434265,-65.57769,-65.721115,-65.86454,-66.007965,-66.1514,-66.29482,-66.43825,-66.58167,-66.7251,-66.86852,-67.011955,-67.15538,-67.298805,-67.44223,-67.585655,-67.72908,-67.87251,-68.01594,-68.15936,-68.30279,-68.44621,-68.58964,-68.73307,-68.876495,-69.01992,-69.163345,-69.30677,-69.4502,-69.59363,-69.73705,-69.88048,-70.0239,-70.16733,-70.31076,-70.454185,-70.59761,-70.741035,-70.88446,-71.027885,-71.17132,-71.31474,-71.45817,-71.60159,-71.74502,-71.88844,-72.031876,-72.1753,-72.318726,-72.46215,-72.605576,-72.749,-72.89243,-73.03586,-73.17928,-73.32271,-73.46613,-73.60956,-73.75299,-73.896416,-74.03984,-74.183266,-74.32669,-74.47012,-74.61355,-74.75697,-74.9004,-75.04382,-75.18725,-75.33068,-75.474106,-75.61753,-75.760956,-75.90438,-76.047806,-76.19124,-76.33466,-76.47809,-76.62151,-76.76494,-76.90836,-77.051796,-77.19522,-77.338646,-77.48207,-77.625496,-77.76892,-77.91235,-78.05578,-78.1992,-78.34263,-78.48605,-78.62948,-78.77291,-78.916336,-79.05976,-79.203186,-79.34661,-79.49004,-79.63347,-79.77689,-79.92032,-80.06374,-80.20717,-80.3506,-80.494026,-80.63745,-80.780876,-80.9243,-81.067726,-81.21116,-81.35458,-81.49801,-81.64143,-81.78486,-81.92828,-82.07172,-82.21514,-82.35857,-82.50199,-82.64542,-82.78884,-82.932274,-83.0757,-83.219124,-83.36255,-83.505974,-83.6494,-83.79283,-83.93626,-84.07968,-84.22311,-84.36653,-84.50996,-84.65339,-84.796814,-84.94024,-85.083664,-85.22709,-85.37052,-85.51395,-85.65737,-85.8008,-85.94422,-86.08765,-86.23108,-86.374504,-86.51793,-86.661354,-86.80478,-86.948204,-87.09164,-87.23506,-87.37849,-87.52191,-87.66534,-87.80876,-87.952194,-88.09562,-88.239044,-88.38247,-88.525894,-88.66932,-88.81275,-88.95618,-89.0996,-89.24303,-89.38645,-89.52988,-89.67331,-89.816734,-89.96016,-90.103584,-90.24701,-90.39044,-90.53387,-90.67729,-90.82072,-90.96414,-91.10757,-91.251,-91.394424,-91.53785,-91.681274,-91.8247,-91.968124,-92.11156,-92.25498,-92.39841,-92.54183,-92.68526,-92.82868,-92.972115,-93.11554,-93.258965,-93.40239,-93.545815,-93.68924,-93.83267,-93.9761,-94.11952,-94.26295,-94.40637,-94.5498,-94.69323,-94.836655,-94.98008,-95.123505,-95.26693,-95.41036,-95.55379,-95.69721,-95.84064,-95.98406,-96.12749,-96.27092,-96.414345,-96.55777,-96.701195,-96.84462,-96.988045,-97.13148,-97.2749,-97.41833,-97.56175,-97.70518,-97.8486,-97.992035,-98.13546,-98.278885,-98.42231,-98.565735,-98.70916,-98.85259,-98.99602,-99.13944,-99.28287,-99.42629,-99.56972,-99.71315,-99.856575,-100.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/larger_positive.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/larger_positive.json new file mode 100644 index 000000000000..8af4fac15caa --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/larger_positive.json @@ -0,0 +1 @@ +{"expected":[0.035706703,0.035524804,0.035344753,0.035166517,0.03499007,0.034815386,0.034642436,0.034471195,0.03430164,0.034133743,0.03396748,0.03380283,0.03363977,0.033478275,0.033318315,0.03315988,0.033002954,0.032847494,0.032693498,0.032540936,0.032389794,0.032240048,0.032091677,0.03194467,0.031799,0.031654652,0.03151161,0.031369854,0.031229367,0.031090135,0.030952139,0.030815357,0.030679783,0.030545395,0.030412178,0.03028012,0.030149207,0.030019414,0.029890737,0.02976316,0.029636662,0.029511238,0.029386872,0.029263545,0.029141255,0.02901998,0.028899707,0.02878043,0.028662134,0.028544804,0.028428432,0.028313005,0.028198509,0.02808494,0.027972277,0.027860517,0.027749646,0.02763965,0.027530529,0.027422264,0.027314842,0.027208263,0.027102513,0.02699758,0.026893457,0.026790136,0.026687602,0.02658585,0.026484875,0.026384657,0.026285201,0.02618649,0.026088515,0.025991274,0.025894754,0.025798947,0.025703847,0.025609447,0.025515733,0.025422707,0.025330357,0.025238672,0.02514765,0.025057284,0.024967562,0.02487848,0.024790032,0.024702212,0.024615012,0.024528425,0.024442442,0.024357064,0.024272278,0.024188079,0.024104465,0.024021424,0.023938958,0.023857053,0.023775704,0.023694914,0.023614667,0.023534961,0.023455793,0.023377156,0.023299044,0.02322145,0.023144376,0.023067806,0.022991747,0.022916183,0.022841113,0.022766538,0.022692448,0.022618836,0.0225457,0.02247304,0.02240084,0.022329105,0.02225783,0.022187004,0.022116631,0.022046704,0.021977214,0.021908164,0.021839546,0.021771353,0.021703588,0.021636242,0.021569313,0.021502798,0.02143669,0.021370988,0.021305688,0.021240786,0.021176277,0.02111216,0.021048428,0.020985082,0.020922117,0.020859525,0.020797307,0.020735461,0.02067398,0.020612866,0.020552108,0.020491706,0.020431662,0.020371968,0.02031262,0.020253617,0.020194959,0.020136636,0.020078652,0.020020999,0.019963674,0.01990668,0.01985001,0.01979366,0.019737631,0.019681916,0.019626517,0.019571427,0.019516645,0.01946217,0.019407999,0.019354127,0.019300554,0.019247279,0.019194294,0.0191416,0.019089196,0.019037079,0.018985244,0.018933691,0.018882416,0.018831419,0.018780697,0.018730247,0.01868007,0.018630156,0.018580511,0.018531129,0.01848201,0.018433152,0.01838455,0.018336201,0.01828811,0.018240267,0.018192675,0.018145332,0.018098231,0.01805138,0.018004764,0.017958393,0.017912261,0.017866362,0.017820697,0.017775267,0.017730068,0.017685099,0.017640354,0.017595839,0.017551547,0.017507477,0.017463626,0.017419996,0.017376583,0.017333386,0.017290404,0.017247632,0.017205074,0.017162725,0.017120583,0.017078647,0.017036917,0.01699539,0.016954064,0.01691294,0.016872015,0.016831286,0.016790757,0.016750418,0.016710276,0.016670324,0.01663056,0.016590988,0.016551604,0.016512407,0.016473396,0.016434567,0.01639592,0.016357455,0.016319172,0.016281066,0.016243137,0.016205387,0.016167808,0.016130406,0.016093176,0.016056117,0.016019229,0.015982509,0.015945956,0.015909571,0.015873352,0.015837297,0.015801407,0.01576568,0.01573011,0.015694704,0.015659455,0.015624364,0.01558943,0.015554654,0.015520029,0.0154855605,0.015451244,0.015417079,0.015383067,0.015349203,0.015315485,0.015281918,0.015248498,0.015215224,0.015182094,0.015149107,0.015116263,0.015083563,0.015051003,0.015018583,0.014986304,0.014954162,0.014922157,0.01489029,0.014858558,0.014826961,0.0147955,0.01476417,0.014732972,0.0147019075,0.014670973,0.014640167,0.014609492,0.014578946,0.014548524,0.01451823,0.014488063,0.014458022,0.014428103,0.0143983085,0.014368637,0.014339088,0.0143096605,0.014280353,0.014251165,0.014222096,0.014193144,0.014164311,0.014135596,0.014106997,0.014078513,0.014050142,0.0140218865,0.013993744,0.013965717,0.013937798,0.013909994,0.013882297,0.013854712,0.013827236,0.013799869,0.013772612,0.013745461,0.013718415,0.0136914775,0.013664644,0.013637917,0.013611294,0.013584774,0.013558357,0.0135320425,0.013505831,0.01347972,0.013453711,0.0134278,0.013401992,0.01337628,0.013350667,0.013325153,0.013299735,0.0132744135,0.01324919,0.013224061,0.013199029,0.01317409,0.013149245,0.013124492,0.013099833,0.013075268,0.013050795,0.013026413,0.013002121,0.012977918,0.012953808,0.012929786,0.012905853,0.012882009,0.012858253,0.012834583,0.012811,0.012787505,0.012764096,0.012740772,0.012717534,0.012694377,0.012671309,0.012648323,0.01262542,0.012602599,0.012579859,0.012557205,0.0125346305,0.012512135,0.012489723,0.01246739,0.012445136,0.012422963,0.012400868,0.012378852,0.012356914,0.012335052,0.012313268,0.012291561,0.012269931,0.012248376,0.012226897,0.012205495,0.0121841645,0.01216291,0.012141729,0.012120622,0.012099589,0.012078629,0.012057739,0.012036924,0.01201618,0.0119955065,0.011974905,0.011954375,0.011933912,0.01191352,0.0118932,0.011872948,0.011852764,0.011832649,0.011812601,0.0117926225,0.011772711,0.011752867,0.01173309,0.011713377,0.011693732,0.011674154,0.011654639,0.011635191,0.011615807,0.011596487,0.011577232,0.01155804,0.011538913,0.011519847,0.011500846,0.011481906,0.011463029,0.011444215,0.011425463,0.011406769,0.011388138,0.011369568,0.011351059,0.01133261,0.011314219,0.0112958895,0.011277619,0.011259406,0.011241253,0.011223159,0.011205123,0.011187144,0.011169223,0.011151359,0.0111335525,0.011115802,0.011098109,0.011080474,0.011062891,0.011045366,0.011027896,0.011010481,0.010993121,0.010975817,0.010958565,0.010941368,0.010924226,0.010907137,0.0108901,0.010873118,0.010856189,0.0108393105,0.010822486,0.010805715,0.010788994,0.010772325,0.010755707,0.010739139,0.010722624,0.01070616,0.010689745,0.010673381,0.010657067,0.010640804,0.010624589,0.010608423,0.010592307,0.01057624,0.01056022,0.010544252,0.010528329,0.010512455,0.010496629,0.01048085,0.010465119,0.010449436,0.010433799,0.010418208,0.010402664,0.0103871655,0.010371714,0.01035631,0.0103409495,0.010325636,0.010310367,0.0102951415,0.010279964,0.010264829,0.0102497395,0.010234693,0.010219692,0.010204733,0.010189821,0.010174951,0.010160124,0.010145339,0.010130599,0.0101159,0.010101244,0.010086632,0.010072061,0.010057532,0.0100430455,0.010028599,0.010014196,0.009999833],"x":[28.0,28.143427,28.286852,28.430279,28.573706,28.71713,28.860558,29.003984,29.14741,29.290836,29.434263,29.57769,29.721115,29.864542,30.007969,30.151394,30.29482,30.438248,30.581673,30.7251,30.868526,31.011951,31.155378,31.298805,31.44223,31.585657,31.729084,31.87251,32.015938,32.159363,32.302788,32.446217,32.58964,32.733067,32.876495,33.01992,33.163345,33.306774,33.4502,33.593624,33.737053,33.880478,34.023903,34.16733,34.310757,34.45418,34.59761,34.741035,34.88446,35.02789,35.171314,35.31474,35.458168,35.601593,35.74502,35.888447,36.03187,36.1753,36.318726,36.46215,36.60558,36.749004,36.89243,37.03586,37.179283,37.32271,37.466137,37.609562,37.752987,37.896416,38.03984,38.183266,38.326694,38.47012,38.613544,38.756973,38.9004,39.043823,39.187252,39.330677,39.474102,39.61753,39.760956,39.90438,40.04781,40.191235,40.33466,40.47809,40.621513,40.76494,40.908367,41.051792,41.19522,41.338646,41.48207,41.6255,41.768925,41.91235,42.05578,42.199203,42.34263,42.486057,42.629482,42.772907,42.916336,43.05976,43.203186,43.346615,43.49004,43.633465,43.776894,43.92032,44.063744,44.207172,44.350597,44.494022,44.63745,44.780876,44.9243,45.06773,45.211155,45.35458,45.49801,45.641434,45.78486,45.928288,46.071712,46.21514,46.358566,46.50199,46.64542,46.788845,46.93227,47.0757,47.219124,47.36255,47.505978,47.649403,47.792828,47.936256,48.07968,48.223106,48.366535,48.50996,48.653385,48.796814,48.94024,49.083664,49.227093,49.370518,49.513943,49.65737,49.800797,49.94422,50.08765,50.231075,50.3745,50.51793,50.661354,50.80478,50.948208,51.091633,51.23506,51.378487,51.52191,51.66534,51.808765,51.95219,52.09562,52.239044,52.38247,52.525898,52.669323,52.812748,52.956177,53.0996,53.243027,53.386456,53.52988,53.673306,53.816734,53.96016,54.103584,54.247013,54.390438,54.533863,54.67729,54.820717,54.96414,55.10757,55.250996,55.39442,55.53785,55.681274,55.8247,55.96813,56.111553,56.25498,56.398407,56.541832,56.68526,56.828686,56.97211,57.11554,57.258965,57.40239,57.54582,57.689243,57.83267,57.976097,58.119522,58.262947,58.406376,58.5498,58.693226,58.836655,58.98008,59.123505,59.266933,59.41036,59.553783,59.697212,59.840637,59.984062,60.12749,60.270916,60.41434,60.55777,60.701195,60.84462,60.98805,61.131474,61.2749,61.418327,61.561752,61.70518,61.848606,61.99203,62.13546,62.278885,62.42231,62.56574,62.709164,62.85259,62.996017,63.139442,63.282867,63.426296,63.56972,63.713146,63.856575,64.0,64.143425,64.28685,64.43028,64.57371,64.71713,64.86056,65.00398,65.14741,65.29084,65.434265,65.57769,65.721115,65.86454,66.007965,66.1514,66.29482,66.43825,66.58167,66.7251,66.86852,67.011955,67.15538,67.298805,67.44223,67.585655,67.72908,67.87251,68.01594,68.15936,68.30279,68.44621,68.58964,68.73307,68.876495,69.01992,69.163345,69.30677,69.4502,69.59363,69.73705,69.88048,70.0239,70.16733,70.31076,70.454185,70.59761,70.741035,70.88446,71.027885,71.17132,71.31474,71.45817,71.60159,71.74502,71.88844,72.031876,72.1753,72.318726,72.46215,72.605576,72.749,72.89243,73.03586,73.17928,73.32271,73.46613,73.60956,73.75299,73.896416,74.03984,74.183266,74.32669,74.47012,74.61355,74.75697,74.9004,75.04382,75.18725,75.33068,75.474106,75.61753,75.760956,75.90438,76.047806,76.19124,76.33466,76.47809,76.62151,76.76494,76.90836,77.051796,77.19522,77.338646,77.48207,77.625496,77.76892,77.91235,78.05578,78.1992,78.34263,78.48605,78.62948,78.77291,78.916336,79.05976,79.203186,79.34661,79.49004,79.63347,79.77689,79.92032,80.06374,80.20717,80.3506,80.494026,80.63745,80.780876,80.9243,81.067726,81.21116,81.35458,81.49801,81.64143,81.78486,81.92828,82.07172,82.21514,82.35857,82.50199,82.64542,82.78884,82.932274,83.0757,83.219124,83.36255,83.505974,83.6494,83.79283,83.93626,84.07968,84.22311,84.36653,84.50996,84.65339,84.796814,84.94024,85.083664,85.22709,85.37052,85.51395,85.65737,85.8008,85.94422,86.08765,86.23108,86.374504,86.51793,86.661354,86.80478,86.948204,87.09164,87.23506,87.37849,87.52191,87.66534,87.80876,87.952194,88.09562,88.239044,88.38247,88.525894,88.66932,88.81275,88.95618,89.0996,89.24303,89.38645,89.52988,89.67331,89.816734,89.96016,90.103584,90.24701,90.39044,90.53387,90.67729,90.82072,90.96414,91.10757,91.251,91.394424,91.53785,91.681274,91.8247,91.968124,92.11156,92.25498,92.39841,92.54183,92.68526,92.82868,92.972115,93.11554,93.258965,93.40239,93.545815,93.68924,93.83267,93.9761,94.11952,94.26295,94.40637,94.5498,94.69323,94.836655,94.98008,95.123505,95.26693,95.41036,95.55379,95.69721,95.84064,95.98406,96.12749,96.27092,96.414345,96.55777,96.701195,96.84462,96.988045,97.13148,97.2749,97.41833,97.56175,97.70518,97.8486,97.992035,98.13546,98.278885,98.42231,98.565735,98.70916,98.85259,98.99602,99.13944,99.28287,99.42629,99.56972,99.71315,99.856575,100.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/medium_negative.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/medium_negative.json new file mode 100644 index 000000000000..c1408c887fc4 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/medium_negative.json @@ -0,0 +1 @@ +{"expected":[-0.8813736,-0.87856483,-0.87577283,-0.8729972,-0.8702381,-0.86749524,-0.86476856,-0.8620578,-0.85936296,-0.8566838,-0.8540203,-0.8513722,-0.8487394,-0.8461218,-0.84351933,-0.84093183,-0.8383591,-0.8358011,-0.83325785,-0.8307288,-0.8282143,-0.82571393,-0.82322776,-0.8207555,-0.81829715,-0.8158526,-0.8134217,-0.81100446,-0.8086005,-0.8062099,-0.8038327,-0.8014685,-0.7991173,-0.7967791,-0.7944537,-0.792141,-0.78984094,-0.78755337,-0.78527826,-0.78301543,-0.7807648,-0.7785264,-0.7763001,-0.77408564,-0.771883,-0.7696922,-0.7675131,-0.76534545,-0.76318944,-0.76104474,-0.7589115,-0.7567894,-0.7546784,-0.75257856,-0.7504897,-0.7484117,-0.74634457,-0.74428815,-0.74224246,-0.7402072,-0.73818254,-0.7361683,-0.7341645,-0.7321708,-0.7301874,-0.7282141,-0.7262508,-0.7242976,-0.7223542,-0.7204206,-0.7184969,-0.7165828,-0.7146782,-0.71278334,-0.71089786,-0.70902187,-0.7071551,-0.7052977,-0.70344955,-0.7016104,-0.69978046,-0.6979594,-0.69614744,-0.6943444,-0.69255006,-0.6907645,-0.68898773,-0.6872195,-0.6854599,-0.68370885,-0.68196625,-0.68023205,-0.67850614,-0.67678857,-0.6750792,-0.67337805,-0.671685,-0.66999996,-0.66832304,-0.666654,-0.66499287,-0.66333956,-0.6616941,-0.66005635,-0.6584263,-0.6568038,-0.655189,-0.6535817,-0.65198183,-0.6503894,-0.6488044,-0.64722675,-0.64565635,-0.64409316,-0.64253724,-0.6409884,-0.6394467,-0.6379119,-0.63638425,-0.63486356,-0.63334966,-0.6318427,-0.63034254,-0.6288492,-0.62736255,-0.62588257,-0.6244093,-0.62294257,-0.62148243,-0.62002873,-0.61858165,-0.61714095,-0.61570656,-0.61427855,-0.6128569,-0.61144155,-0.6100323,-0.60862935,-0.6072326,-0.6058418,-0.6044572,-0.60307854,-0.60170597,-0.6003393,-0.5989786,-0.5976237,-0.5962748,-0.59493154,-0.59359413,-0.5922625,-0.59093654,-0.58961624,-0.5883016,-0.5869925,-0.5856891,-0.5843911,-0.58309865,-0.58181167,-0.5805301,-0.579254,-0.5779832,-0.57671773,-0.5754576,-0.57420266,-0.57295305,-0.57170856,-0.57046926,-0.56923515,-0.5680061,-0.5667822,-0.56556326,-0.5643494,-0.5631406,-0.5619366,-0.5607377,-0.55954355,-0.5583544,-0.55717,-0.55599046,-0.5548157,-0.5536457,-0.5524804,-0.55131984,-0.550164,-0.5490127,-0.5478661,-0.54672414,-0.54558665,-0.54445374,-0.54332536,-0.54220146,-0.541082,-0.53996706,-0.53885645,-0.5377503,-0.53664845,-0.5355509,-0.5344578,-0.5333689,-0.53228426,-0.53120387,-0.5301277,-0.5290557,-0.5279879,-0.5269242,-0.5258647,-0.5248093,-0.5237579,-0.5227106,-0.5216673,-0.5206281,-0.5195927,-0.5185614,-0.517534,-0.5165106,-0.51549107,-0.51447535,-0.5134635,-0.51245546,-0.5114513,-0.5104509,-0.50945425,-0.5084614,-0.5074723,-0.50648683,-0.5055051,-0.50452703,-0.5035526,-0.5025818,-0.50161463,-0.50065106,-0.499691,-0.49873453,-0.49778157,-0.49683216,-0.49588624,-0.49494377,-0.4940048,-0.49306923,-0.49213707,-0.49120834,-0.490283,-0.48936105,-0.4884424,-0.48752713,-0.48661512,-0.48570645,-0.484801,-0.48389885,-0.48299995,-0.4821043,-0.48121184,-0.48032254,-0.47943646,-0.47855356,-0.47767377,-0.4767971,-0.47592354,-0.47505307,-0.47418573,-0.47332147,-0.47246018,-0.47160196,-0.4707468,-0.46989453,-0.46904534,-0.46819904,-0.4673558,-0.46651545,-0.46567804,-0.46484354,-0.46401194,-0.46318316,-0.4623573,-0.46153426,-0.46071413,-0.4598968,-0.45908225,-0.4582705,-0.45746154,-0.45665535,-0.4558519,-0.4550512,-0.45425326,-0.453458,-0.45266542,-0.4518756,-0.4510884,-0.45030382,-0.44952196,-0.4487427,-0.44796607,-0.44719207,-0.4464206,-0.4456518,-0.44488555,-0.44412178,-0.44336066,-0.442602,-0.44184586,-0.44109228,-0.44034114,-0.43959254,-0.43884638,-0.4381027,-0.43736142,-0.4366226,-0.4358862,-0.43515226,-0.43442068,-0.4336915,-0.43296474,-0.43224028,-0.4315182,-0.43079847,-0.4300811,-0.42936602,-0.4286532,-0.4279428,-0.4272346,-0.42652866,-0.4258251,-0.4251237,-0.4244246,-0.42372772,-0.42303306,-0.42234063,-0.42165038,-0.42096233,-0.4202765,-0.4195928,-0.41891128,-0.41823196,-0.41755474,-0.41687965,-0.41620675,-0.41553584,-0.41486716,-0.41420048,-0.41353595,-0.41287348,-0.41221303,-0.41155472,-0.41089842,-0.41024414,-0.4095919,-0.4089417,-0.40829352,-0.4076473,-0.4070031,-0.40636092,-0.40572065,-0.40508237,-0.40444607,-0.40381166,-0.40317926,-0.4025488,-0.40192017,-0.40129355,-0.40066877,-0.4000459,-0.39942497,-0.39880586,-0.39818865,-0.3975733,-0.39695978,-0.39634812,-0.39573833,-0.39513034,-0.3945242,-0.39391983,-0.3933173,-0.3927166,-0.39211762,-0.39152047,-0.3909251,-0.39033148,-0.38973963,-0.3891495,-0.38856113,-0.38797453,-0.38738963,-0.38680646,-0.386225,-0.38564527,-0.3850672,-0.38449085,-0.38391614,-0.3833432,-0.38277185,-0.3822022,-0.38163424,-0.38106787,-0.38050315,-0.3799401,-0.37937862,-0.3788188,-0.37826058,-0.37770402,-0.37714902,-0.3765956,-0.3760438,-0.37549356,-0.3749449,-0.3743978,-0.37385228,-0.37330833,-0.3727659,-0.372225,-0.37168562,-0.37114778,-0.37061155,-0.37007678,-0.36954346,-0.3690117,-0.36848143,-0.36795264,-0.36742538,-0.36689955,-0.3663752,-0.36585233,-0.3653309,-0.36481094,-0.36429247,-0.36377537,-0.36325973,-0.36274555,-0.36223277,-0.36172143,-0.36121148,-0.36070296,-0.36019582,-0.35969007,-0.35918576,-0.35868275,-0.3581812,-0.357681,-0.35718215,-0.35668468,-0.3561886,-0.35569382,-0.35520038,-0.35470828,-0.3542176,-0.35372818,-0.3532401,-0.35275334,-0.3522679,-0.35178372,-0.3513009,-0.35081935,-0.3503391,-0.3498602,-0.34938252,-0.34890613,-0.34843102,-0.34795713,-0.3474846,-0.34701324,-0.3465432,-0.34607434,-0.34560674,-0.34514043,-0.34467533,-0.34421146,-0.34374884,-0.34328735,-0.34282717,-0.34236816,-0.34191033,-0.34145376,-0.34099835,-0.34054413,-0.3400911,-0.33963928,-0.33918864,-0.33873916,-0.3382908,-0.3378437,-0.3373977,-0.33695284,-0.33650917,-0.3360666,-0.33562523,-0.335185,-0.33474582,-0.33430785,-0.333871,-0.33343524,-0.33300063,-0.33256707,-0.33213466,-0.3317034,-0.33127314,-0.33084404,-0.33041602,-0.3299891,-0.3295633,-0.3291385,-0.32871482,-0.3282922,-0.32787064,-0.32745016],"x":[-1.0,-1.0039841,-1.0079681,-1.0119522,-1.0159363,-1.0199203,-1.0239043,-1.0278884,-1.0318725,-1.0358566,-1.0398406,-1.0438247,-1.0478088,-1.0517929,-1.0557768,-1.0597609,-1.063745,-1.0677291,-1.0717131,-1.0756972,-1.0796813,-1.0836654,-1.0876493,-1.0916334,-1.0956175,-1.0996016,-1.1035856,-1.1075697,-1.1115538,-1.1155379,-1.1195219,-1.123506,-1.12749,-1.1314741,-1.1354581,-1.1394422,-1.1434263,-1.1474104,-1.1513944,-1.1553785,-1.1593626,-1.1633466,-1.1673306,-1.1713147,-1.1752988,-1.1792829,-1.1832669,-1.187251,-1.1912351,-1.1952192,-1.1992031,-1.2031872,-1.2071713,-1.2111554,-1.2151394,-1.2191235,-1.2231076,-1.2270917,-1.2310756,-1.2350597,-1.2390438,-1.2430279,-1.2470119,-1.250996,-1.2549801,-1.2589642,-1.2629482,-1.2669322,-1.2709163,-1.2749004,-1.2788844,-1.2828685,-1.2868526,-1.2908367,-1.2948207,-1.2988048,-1.3027889,-1.306773,-1.3107569,-1.314741,-1.3187251,-1.3227092,-1.3266932,-1.3306773,-1.3346614,-1.3386455,-1.3426294,-1.3466135,-1.3505976,-1.3545817,-1.3585657,-1.3625498,-1.3665339,-1.370518,-1.374502,-1.378486,-1.3824701,-1.3864542,-1.3904382,-1.3944223,-1.3984064,-1.4023905,-1.4063745,-1.4103585,-1.4143426,-1.4183267,-1.4223107,-1.4262948,-1.4302789,-1.434263,-1.438247,-1.442231,-1.4462152,-1.4501992,-1.4541832,-1.4581673,-1.4621514,-1.4661355,-1.4701195,-1.4741036,-1.4780877,-1.4820718,-1.4860557,-1.4900398,-1.4940239,-1.498008,-1.501992,-1.5059761,-1.5099602,-1.5139443,-1.5179282,-1.5219123,-1.5258964,-1.5298805,-1.5338645,-1.5378486,-1.5418327,-1.5458168,-1.5498008,-1.5537848,-1.557769,-1.561753,-1.565737,-1.5697211,-1.5737052,-1.5776893,-1.5816733,-1.5856574,-1.5896415,-1.5936255,-1.5976095,-1.6015936,-1.6055777,-1.6095618,-1.6135458,-1.6175299,-1.621514,-1.625498,-1.629482,-1.6334661,-1.6374502,-1.6414343,-1.6454183,-1.6494024,-1.6533865,-1.6573706,-1.6613545,-1.6653386,-1.6693227,-1.6733068,-1.6772908,-1.6812749,-1.685259,-1.6892431,-1.693227,-1.6972111,-1.7011952,-1.7051793,-1.7091633,-1.7131474,-1.7171315,-1.7211156,-1.7250996,-1.7290837,-1.7330678,-1.7370518,-1.7410358,-1.7450199,-1.749004,-1.7529881,-1.7569721,-1.7609562,-1.7649403,-1.7689244,-1.7729083,-1.7768924,-1.7808765,-1.7848606,-1.7888446,-1.7928287,-1.7968128,-1.8007969,-1.8047808,-1.8087649,-1.812749,-1.8167331,-1.8207171,-1.8247012,-1.8286853,-1.8326694,-1.8366534,-1.8406374,-1.8446215,-1.8486056,-1.8525896,-1.8565737,-1.8605578,-1.8645419,-1.8685259,-1.87251,-1.876494,-1.8804781,-1.8844621,-1.8884462,-1.8924303,-1.8964144,-1.9003984,-1.9043825,-1.9083666,-1.9123507,-1.9163346,-1.9203187,-1.9243028,-1.9282869,-1.9322709,-1.936255,-1.9402391,-1.9442232,-1.9482071,-1.9521912,-1.9561753,-1.9601594,-1.9641434,-1.9681275,-1.9721116,-1.9760957,-1.9800797,-1.9840637,-1.9880478,-1.9920319,-1.9960159,-2.0,-2.003984,-2.0079682,-2.0119522,-2.0159361,-2.0199203,-2.0239043,-2.0278885,-2.0318725,-2.0358565,-2.0398407,-2.0438247,-2.0478086,-2.0517929,-2.0557768,-2.059761,-2.063745,-2.067729,-2.0717132,-2.0756972,-2.0796812,-2.0836654,-2.0876493,-2.0916336,-2.0956175,-2.0996015,-2.1035857,-2.1075697,-2.1115537,-2.115538,-2.1195219,-2.123506,-2.12749,-2.131474,-2.1354582,-2.1394422,-2.1434262,-2.1474104,-2.1513944,-2.1553786,-2.1593626,-2.1633465,-2.1673307,-2.1713147,-2.1752987,-2.179283,-2.1832669,-2.187251,-2.191235,-2.195219,-2.1992033,-2.2031872,-2.2071712,-2.2111554,-2.2151394,-2.2191236,-2.2231076,-2.2270916,-2.2310758,-2.2350597,-2.2390437,-2.243028,-2.247012,-2.250996,-2.25498,-2.258964,-2.2629483,-2.2669322,-2.2709162,-2.2749004,-2.2788844,-2.2828686,-2.2868526,-2.2908366,-2.2948208,-2.2988048,-2.3027887,-2.306773,-2.310757,-2.3147411,-2.318725,-2.322709,-2.3266933,-2.3306773,-2.3346612,-2.3386455,-2.3426294,-2.3466136,-2.3505976,-2.3545816,-2.3585658,-2.3625498,-2.3665338,-2.370518,-2.374502,-2.3784862,-2.3824701,-2.386454,-2.3904383,-2.3944223,-2.3984063,-2.4023905,-2.4063745,-2.4103587,-2.4143426,-2.4183266,-2.4223108,-2.4262948,-2.4302788,-2.434263,-2.438247,-2.4422312,-2.4462152,-2.4501991,-2.4541833,-2.4581673,-2.4621513,-2.4661355,-2.4701195,-2.4741037,-2.4780877,-2.4820716,-2.4860559,-2.4900398,-2.4940238,-2.498008,-2.501992,-2.5059762,-2.5099602,-2.5139441,-2.5179284,-2.5219123,-2.5258963,-2.5298805,-2.5338645,-2.5378487,-2.5418327,-2.5458167,-2.5498009,-2.5537848,-2.5577688,-2.561753,-2.565737,-2.5697212,-2.5737052,-2.5776892,-2.5816734,-2.5856574,-2.5896413,-2.5936255,-2.5976095,-2.6015937,-2.6055777,-2.6095617,-2.613546,-2.6175299,-2.6215138,-2.625498,-2.629482,-2.6334662,-2.6374502,-2.6414342,-2.6454184,-2.6494024,-2.6533864,-2.6573706,-2.6613545,-2.6653388,-2.6693227,-2.6733067,-2.677291,-2.681275,-2.6852589,-2.689243,-2.693227,-2.6972113,-2.7011952,-2.7051792,-2.7091634,-2.7131474,-2.7171314,-2.7211156,-2.7250996,-2.7290838,-2.7330678,-2.7370517,-2.741036,-2.74502,-2.749004,-2.752988,-2.756972,-2.7609563,-2.7649403,-2.7689242,-2.7729084,-2.7768924,-2.7808764,-2.7848606,-2.7888446,-2.7928288,-2.7968128,-2.8007967,-2.804781,-2.808765,-2.812749,-2.8167331,-2.820717,-2.8247013,-2.8286853,-2.8326693,-2.8366535,-2.8406374,-2.8446214,-2.8486056,-2.8525896,-2.8565738,-2.8605578,-2.8645418,-2.868526,-2.87251,-2.876494,-2.8804781,-2.884462,-2.8884463,-2.8924303,-2.8964143,-2.9003985,-2.9043825,-2.9083664,-2.9123507,-2.9163346,-2.9203188,-2.9243028,-2.9282868,-2.932271,-2.936255,-2.940239,-2.9442232,-2.9482071,-2.9521914,-2.9561753,-2.9601593,-2.9641435,-2.9681275,-2.9721115,-2.9760957,-2.9800797,-2.9840639,-2.9880478,-2.9920318,-2.996016,-3.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/medium_positive.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/medium_positive.json new file mode 100644 index 000000000000..a0c9038ccc0f --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/medium_positive.json @@ -0,0 +1 @@ +{"expected":[0.8813736,0.87856483,0.87577283,0.8729972,0.8702381,0.86749524,0.86476856,0.8620578,0.85936296,0.8566838,0.8540203,0.8513722,0.8487394,0.8461218,0.84351933,0.84093183,0.8383591,0.8358011,0.83325785,0.8307288,0.8282143,0.82571393,0.82322776,0.8207555,0.81829715,0.8158526,0.8134217,0.81100446,0.8086005,0.8062099,0.8038327,0.8014685,0.7991173,0.7967791,0.7944537,0.792141,0.78984094,0.78755337,0.78527826,0.78301543,0.7807648,0.7785264,0.7763001,0.77408564,0.771883,0.7696922,0.7675131,0.76534545,0.76318944,0.76104474,0.7589115,0.7567894,0.7546784,0.75257856,0.7504897,0.7484117,0.74634457,0.74428815,0.74224246,0.7402072,0.73818254,0.7361683,0.7341645,0.7321708,0.7301874,0.7282141,0.7262508,0.7242976,0.7223542,0.7204206,0.7184969,0.7165828,0.7146782,0.71278334,0.71089786,0.70902187,0.7071551,0.7052977,0.70344955,0.7016104,0.69978046,0.6979594,0.69614744,0.6943444,0.69255006,0.6907645,0.68898773,0.6872195,0.6854599,0.68370885,0.68196625,0.68023205,0.67850614,0.67678857,0.6750792,0.67337805,0.671685,0.66999996,0.66832304,0.666654,0.66499287,0.66333956,0.6616941,0.66005635,0.6584263,0.6568038,0.655189,0.6535817,0.65198183,0.6503894,0.6488044,0.64722675,0.64565635,0.64409316,0.64253724,0.6409884,0.6394467,0.6379119,0.63638425,0.63486356,0.63334966,0.6318427,0.63034254,0.6288492,0.62736255,0.62588257,0.6244093,0.62294257,0.62148243,0.62002873,0.61858165,0.61714095,0.61570656,0.61427855,0.6128569,0.61144155,0.6100323,0.60862935,0.6072326,0.6058418,0.6044572,0.60307854,0.60170597,0.6003393,0.5989786,0.5976237,0.5962748,0.59493154,0.59359413,0.5922625,0.59093654,0.58961624,0.5883016,0.5869925,0.5856891,0.5843911,0.58309865,0.58181167,0.5805301,0.579254,0.5779832,0.57671773,0.5754576,0.57420266,0.57295305,0.57170856,0.57046926,0.56923515,0.5680061,0.5667822,0.56556326,0.5643494,0.5631406,0.5619366,0.5607377,0.55954355,0.5583544,0.55717,0.55599046,0.5548157,0.5536457,0.5524804,0.55131984,0.550164,0.5490127,0.5478661,0.54672414,0.54558665,0.54445374,0.54332536,0.54220146,0.541082,0.53996706,0.53885645,0.5377503,0.53664845,0.5355509,0.5344578,0.5333689,0.53228426,0.53120387,0.5301277,0.5290557,0.5279879,0.5269242,0.5258647,0.5248093,0.5237579,0.5227106,0.5216673,0.5206281,0.5195927,0.5185614,0.517534,0.5165106,0.51549107,0.51447535,0.5134635,0.51245546,0.5114513,0.5104509,0.50945425,0.5084614,0.5074723,0.50648683,0.5055051,0.50452703,0.5035526,0.5025818,0.50161463,0.50065106,0.499691,0.49873453,0.49778157,0.49683216,0.49588624,0.49494377,0.4940048,0.49306923,0.49213707,0.49120834,0.490283,0.48936105,0.4884424,0.48752713,0.48661512,0.48570645,0.484801,0.48389885,0.48299995,0.4821043,0.48121184,0.48032254,0.47943646,0.47855356,0.47767377,0.4767971,0.47592354,0.47505307,0.47418573,0.47332147,0.47246018,0.47160196,0.4707468,0.46989453,0.46904534,0.46819904,0.4673558,0.46651545,0.46567804,0.46484354,0.46401194,0.46318316,0.4623573,0.46153426,0.46071413,0.4598968,0.45908225,0.4582705,0.45746154,0.45665535,0.4558519,0.4550512,0.45425326,0.453458,0.45266542,0.4518756,0.4510884,0.45030382,0.44952196,0.4487427,0.44796607,0.44719207,0.4464206,0.4456518,0.44488555,0.44412178,0.44336066,0.442602,0.44184586,0.44109228,0.44034114,0.43959254,0.43884638,0.4381027,0.43736142,0.4366226,0.4358862,0.43515226,0.43442068,0.4336915,0.43296474,0.43224028,0.4315182,0.43079847,0.4300811,0.42936602,0.4286532,0.4279428,0.4272346,0.42652866,0.4258251,0.4251237,0.4244246,0.42372772,0.42303306,0.42234063,0.42165038,0.42096233,0.4202765,0.4195928,0.41891128,0.41823196,0.41755474,0.41687965,0.41620675,0.41553584,0.41486716,0.41420048,0.41353595,0.41287348,0.41221303,0.41155472,0.41089842,0.41024414,0.4095919,0.4089417,0.40829352,0.4076473,0.4070031,0.40636092,0.40572065,0.40508237,0.40444607,0.40381166,0.40317926,0.4025488,0.40192017,0.40129355,0.40066877,0.4000459,0.39942497,0.39880586,0.39818865,0.3975733,0.39695978,0.39634812,0.39573833,0.39513034,0.3945242,0.39391983,0.3933173,0.3927166,0.39211762,0.39152047,0.3909251,0.39033148,0.38973963,0.3891495,0.38856113,0.38797453,0.38738963,0.38680646,0.386225,0.38564527,0.3850672,0.38449085,0.38391614,0.3833432,0.38277185,0.3822022,0.38163424,0.38106787,0.38050315,0.3799401,0.37937862,0.3788188,0.37826058,0.37770402,0.37714902,0.3765956,0.3760438,0.37549356,0.3749449,0.3743978,0.37385228,0.37330833,0.3727659,0.372225,0.37168562,0.37114778,0.37061155,0.37007678,0.36954346,0.3690117,0.36848143,0.36795264,0.36742538,0.36689955,0.3663752,0.36585233,0.3653309,0.36481094,0.36429247,0.36377537,0.36325973,0.36274555,0.36223277,0.36172143,0.36121148,0.36070296,0.36019582,0.35969007,0.35918576,0.35868275,0.3581812,0.357681,0.35718215,0.35668468,0.3561886,0.35569382,0.35520038,0.35470828,0.3542176,0.35372818,0.3532401,0.35275334,0.3522679,0.35178372,0.3513009,0.35081935,0.3503391,0.3498602,0.34938252,0.34890613,0.34843102,0.34795713,0.3474846,0.34701324,0.3465432,0.34607434,0.34560674,0.34514043,0.34467533,0.34421146,0.34374884,0.34328735,0.34282717,0.34236816,0.34191033,0.34145376,0.34099835,0.34054413,0.3400911,0.33963928,0.33918864,0.33873916,0.3382908,0.3378437,0.3373977,0.33695284,0.33650917,0.3360666,0.33562523,0.335185,0.33474582,0.33430785,0.333871,0.33343524,0.33300063,0.33256707,0.33213466,0.3317034,0.33127314,0.33084404,0.33041602,0.3299891,0.3295633,0.3291385,0.32871482,0.3282922,0.32787064,0.32745016],"x":[1.0,1.0039841,1.0079681,1.0119522,1.0159363,1.0199203,1.0239043,1.0278884,1.0318725,1.0358566,1.0398406,1.0438247,1.0478088,1.0517929,1.0557768,1.0597609,1.063745,1.0677291,1.0717131,1.0756972,1.0796813,1.0836654,1.0876493,1.0916334,1.0956175,1.0996016,1.1035856,1.1075697,1.1115538,1.1155379,1.1195219,1.123506,1.12749,1.1314741,1.1354581,1.1394422,1.1434263,1.1474104,1.1513944,1.1553785,1.1593626,1.1633466,1.1673306,1.1713147,1.1752988,1.1792829,1.1832669,1.187251,1.1912351,1.1952192,1.1992031,1.2031872,1.2071713,1.2111554,1.2151394,1.2191235,1.2231076,1.2270917,1.2310756,1.2350597,1.2390438,1.2430279,1.2470119,1.250996,1.2549801,1.2589642,1.2629482,1.2669322,1.2709163,1.2749004,1.2788844,1.2828685,1.2868526,1.2908367,1.2948207,1.2988048,1.3027889,1.306773,1.3107569,1.314741,1.3187251,1.3227092,1.3266932,1.3306773,1.3346614,1.3386455,1.3426294,1.3466135,1.3505976,1.3545817,1.3585657,1.3625498,1.3665339,1.370518,1.374502,1.378486,1.3824701,1.3864542,1.3904382,1.3944223,1.3984064,1.4023905,1.4063745,1.4103585,1.4143426,1.4183267,1.4223107,1.4262948,1.4302789,1.434263,1.438247,1.442231,1.4462152,1.4501992,1.4541832,1.4581673,1.4621514,1.4661355,1.4701195,1.4741036,1.4780877,1.4820718,1.4860557,1.4900398,1.4940239,1.498008,1.501992,1.5059761,1.5099602,1.5139443,1.5179282,1.5219123,1.5258964,1.5298805,1.5338645,1.5378486,1.5418327,1.5458168,1.5498008,1.5537848,1.557769,1.561753,1.565737,1.5697211,1.5737052,1.5776893,1.5816733,1.5856574,1.5896415,1.5936255,1.5976095,1.6015936,1.6055777,1.6095618,1.6135458,1.6175299,1.621514,1.625498,1.629482,1.6334661,1.6374502,1.6414343,1.6454183,1.6494024,1.6533865,1.6573706,1.6613545,1.6653386,1.6693227,1.6733068,1.6772908,1.6812749,1.685259,1.6892431,1.693227,1.6972111,1.7011952,1.7051793,1.7091633,1.7131474,1.7171315,1.7211156,1.7250996,1.7290837,1.7330678,1.7370518,1.7410358,1.7450199,1.749004,1.7529881,1.7569721,1.7609562,1.7649403,1.7689244,1.7729083,1.7768924,1.7808765,1.7848606,1.7888446,1.7928287,1.7968128,1.8007969,1.8047808,1.8087649,1.812749,1.8167331,1.8207171,1.8247012,1.8286853,1.8326694,1.8366534,1.8406374,1.8446215,1.8486056,1.8525896,1.8565737,1.8605578,1.8645419,1.8685259,1.87251,1.876494,1.8804781,1.8844621,1.8884462,1.8924303,1.8964144,1.9003984,1.9043825,1.9083666,1.9123507,1.9163346,1.9203187,1.9243028,1.9282869,1.9322709,1.936255,1.9402391,1.9442232,1.9482071,1.9521912,1.9561753,1.9601594,1.9641434,1.9681275,1.9721116,1.9760957,1.9800797,1.9840637,1.9880478,1.9920319,1.9960159,2.0,2.003984,2.0079682,2.0119522,2.0159361,2.0199203,2.0239043,2.0278885,2.0318725,2.0358565,2.0398407,2.0438247,2.0478086,2.0517929,2.0557768,2.059761,2.063745,2.067729,2.0717132,2.0756972,2.0796812,2.0836654,2.0876493,2.0916336,2.0956175,2.0996015,2.1035857,2.1075697,2.1115537,2.115538,2.1195219,2.123506,2.12749,2.131474,2.1354582,2.1394422,2.1434262,2.1474104,2.1513944,2.1553786,2.1593626,2.1633465,2.1673307,2.1713147,2.1752987,2.179283,2.1832669,2.187251,2.191235,2.195219,2.1992033,2.2031872,2.2071712,2.2111554,2.2151394,2.2191236,2.2231076,2.2270916,2.2310758,2.2350597,2.2390437,2.243028,2.247012,2.250996,2.25498,2.258964,2.2629483,2.2669322,2.2709162,2.2749004,2.2788844,2.2828686,2.2868526,2.2908366,2.2948208,2.2988048,2.3027887,2.306773,2.310757,2.3147411,2.318725,2.322709,2.3266933,2.3306773,2.3346612,2.3386455,2.3426294,2.3466136,2.3505976,2.3545816,2.3585658,2.3625498,2.3665338,2.370518,2.374502,2.3784862,2.3824701,2.386454,2.3904383,2.3944223,2.3984063,2.4023905,2.4063745,2.4103587,2.4143426,2.4183266,2.4223108,2.4262948,2.4302788,2.434263,2.438247,2.4422312,2.4462152,2.4501991,2.4541833,2.4581673,2.4621513,2.4661355,2.4701195,2.4741037,2.4780877,2.4820716,2.4860559,2.4900398,2.4940238,2.498008,2.501992,2.5059762,2.5099602,2.5139441,2.5179284,2.5219123,2.5258963,2.5298805,2.5338645,2.5378487,2.5418327,2.5458167,2.5498009,2.5537848,2.5577688,2.561753,2.565737,2.5697212,2.5737052,2.5776892,2.5816734,2.5856574,2.5896413,2.5936255,2.5976095,2.6015937,2.6055777,2.6095617,2.613546,2.6175299,2.6215138,2.625498,2.629482,2.6334662,2.6374502,2.6414342,2.6454184,2.6494024,2.6533864,2.6573706,2.6613545,2.6653388,2.6693227,2.6733067,2.677291,2.681275,2.6852589,2.689243,2.693227,2.6972113,2.7011952,2.7051792,2.7091634,2.7131474,2.7171314,2.7211156,2.7250996,2.7290838,2.7330678,2.7370517,2.741036,2.74502,2.749004,2.752988,2.756972,2.7609563,2.7649403,2.7689242,2.7729084,2.7768924,2.7808764,2.7848606,2.7888446,2.7928288,2.7968128,2.8007967,2.804781,2.808765,2.812749,2.8167331,2.820717,2.8247013,2.8286853,2.8326693,2.8366535,2.8406374,2.8446214,2.8486056,2.8525896,2.8565738,2.8605578,2.8645418,2.868526,2.87251,2.876494,2.8804781,2.884462,2.8884463,2.8924303,2.8964143,2.9003985,2.9043825,2.9083664,2.9123507,2.9163346,2.9203188,2.9243028,2.9282868,2.932271,2.936255,2.940239,2.9442232,2.9482071,2.9521914,2.9561753,2.9601593,2.9641435,2.9681275,2.9721115,2.9760957,2.9800797,2.9840639,2.9880478,2.9920318,2.996016,3.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/runner.jl new file mode 100755 index 000000000000..5fac23814a6b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/runner.jl @@ -0,0 +1,117 @@ +#!/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. + +import JSON + +""" + gen( domain, name ) + +Generate fixture data and write to file. + +# Arguments + +* `domain`: domain +* `name::AbstractString`: output filename + +# Examples + +``` julia +julia> x = range( -1000, stop = 1000, length = 2001 ); +julia> gen( x, "data.json" ); +``` +""" +function gen( domain, name ) + x = collect( Float32.( domain ) ); + y = acsch.( x ); + + # Store data to be written to file as a collection: + data = Dict([ + ("x", x), + ("expected", y) + ]); + + # Based on the script directory, create an output filepath: + filepath = joinpath( dir, name ); + + # Write the data to the output filepath as JSON: + outfile = open( filepath, "w" ); + json_str = JSON.json(data; allownan=true); + json_str = replace(json_str, "-Infinity" => "null"); + json_str = replace(json_str, "Infinity" => "null"); + write( outfile, json_str ); + write( outfile, "\n" ); + close( outfile ); +end + +# Get the filename: +file = @__FILE__; + +# Extract the directory in which this file resides: +dir = dirname( file ); + +# Negative tiny values: +x = range( -1e-30, stop = -1e-38, length = 503 ); +gen( x, "tiny_negative.json" ); + +# Positive tiny values: +x = range( 1e-30, stop = 1e-38, length = 503 ); +gen( x, "tiny_positive.json" ); + +# Small(er) values: +x = range( -0.8, stop = 0.8, length = 503 ); +gen( x, "smaller.json" ); + +# Negative small values: +x = range( -0.8, stop = -1.0, length = 503 ); +gen( x, "small_negative.json" ); + +# Positive small values: +x = range( 0.8, stop = 1.0, length = 503 ); +gen( x, "small_positive.json" ); + +# Negative medium values: +x = range( -1.0, stop = -3.0, length = 503 ); +gen( x, "medium_negative.json" ); + +# Positive medium values: +x = range( 1.0, stop = 3.0, length = 503 ); +gen( x, "medium_positive.json" ); + +# Large negative values: +x = range( -3.0, stop = -28.0, length = 503 ); +gen( x, "large_negative.json" ); + +# Large positive values: +x = range( 3.0, stop = 28.0, length = 503 ); +gen( x, "large_positive.json" ); + +# Larger negative values: +x = range( -28.0, stop = -100.0, length = 503 ); +gen( x, "larger_negative.json" ); + +# Larger positive values: +x = range( 28.0, stop = 100.0, length = 503 ); +gen( x, "larger_positive.json" ); + +# Huge negative values: +x = range( -1e30, stop = -1e38, length = 503 ); +gen( x, "huge_negative.json" ); + +# Huge positive values: +x = range( 1e30, stop = 1e38, length = 503 ); +gen( x, "huge_positive.json" ); diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/small_negative.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/small_negative.json new file mode 100644 index 000000000000..c530c659a2b4 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/small_negative.json @@ -0,0 +1 @@ +{"expected":[-1.047593,-1.0472043,-1.0468158,-1.0464276,-1.0460397,-1.045652,-1.0452645,-1.0448774,-1.0444906,-1.044104,-1.0437176,-1.0433316,-1.0429457,-1.0425603,-1.0421749,-1.04179,-1.0414053,-1.0410209,-1.0406367,-1.0402526,-1.039869,-1.0394855,-1.0391023,-1.0387195,-1.0383369,-1.0379544,-1.0375724,-1.0371906,-1.036809,-1.0364276,-1.0360466,-1.0356659,-1.0352852,-1.034905,-1.0345249,-1.0341452,-1.0337657,-1.0333865,-1.0330075,-1.0326288,-1.0322504,-1.0318722,-1.0314943,-1.0311166,-1.0307391,-1.030362,-1.0299851,-1.0296084,-1.029232,-1.0288559,-1.02848,-1.0281044,-1.027729,-1.0273539,-1.026979,-1.0266045,-1.0262301,-1.025856,-1.0254822,-1.0251085,-1.0247352,-1.0243622,-1.0239893,-1.0236167,-1.0232445,-1.0228723,-1.0225005,-1.022129,-1.0217577,-1.0213866,-1.0210158,-1.0206453,-1.0202749,-1.019905,-1.0195351,-1.0191655,-1.0187962,-1.0184271,-1.0180583,-1.0176897,-1.0173215,-1.0169535,-1.0165856,-1.0162181,-1.0158508,-1.0154836,-1.0151168,-1.0147502,-1.0143839,-1.0140178,-1.013652,-1.0132865,-1.0129211,-1.012556,-1.012191,-1.0118265,-1.0114621,-1.011098,-1.0107342,-1.0103705,-1.0100071,-1.0096439,-1.009281,-1.0089184,-1.008556,-1.0081939,-1.0078319,-1.0074703,-1.0071087,-1.0067476,-1.0063866,-1.0060259,-1.0056653,-1.0053052,-1.004945,-1.0045854,-1.0042259,-1.0038667,-1.0035076,-1.0031487,-1.0027902,-1.0024319,-1.0020738,-1.001716,-1.0013584,-1.001001,-1.0006438,-1.0002869,-0.9999303,-0.9995739,-0.9992177,-0.9988618,-0.99850607,-0.9981506,-0.99779534,-0.99744034,-0.9970856,-0.99673104,-0.9963767,-0.9960226,-0.9956688,-0.99531525,-0.99496186,-0.99460876,-0.9942559,-0.99390316,-0.99355084,-0.9931986,-0.9928466,-0.99249494,-0.9921435,-0.99179214,-0.9914411,-0.9910903,-0.99073976,-0.9903894,-0.9900393,-0.98968947,-0.9893398,-0.98899037,-0.9886412,-0.9882922,-0.98794353,-0.987595,-0.98724675,-0.9868987,-0.98655087,-0.9862033,-0.985856,-0.98550886,-0.98516196,-0.9848153,-0.9844688,-0.98412263,-0.9837766,-0.98343086,-0.9830854,-0.9827401,-0.982395,-0.9820501,-0.9817055,-0.9813611,-0.98101693,-0.980673,-0.9803292,-0.97998565,-0.9796424,-0.97929937,-0.9789565,-0.9786139,-0.97827154,-0.9779294,-0.97758746,-0.97724575,-0.9769042,-0.976563,-0.976222,-0.9758811,-0.9755405,-0.97520006,-0.97485995,-0.97452,-0.9741803,-0.9738408,-0.9735015,-0.97316235,-0.9728236,-0.972485,-0.9721466,-0.97180843,-0.9714705,-0.97113276,-0.9707952,-0.9704579,-0.9701208,-0.96978396,-0.9694473,-0.9691109,-0.9687747,-0.9684386,-0.96810293,-0.9677673,-0.96743196,-0.96709687,-0.96676195,-0.9664272,-0.9660927,-0.9657585,-0.9654244,-0.96509063,-0.964757,-0.96442366,-0.96409047,-0.9637574,-0.96342474,-0.9630922,-0.96275985,-0.96242774,-0.9620959,-0.96176416,-0.9614327,-0.96110135,-0.9607703,-0.9604395,-0.9601089,-0.9597784,-0.9594482,-0.9591183,-0.9587885,-0.95845896,-0.95812964,-0.95780045,-0.9574715,-0.9571428,-0.9568143,-0.95648605,-0.9561579,-0.95583004,-0.9555024,-0.9551749,-0.95484763,-0.9545206,-0.9541937,-0.9538672,-0.9535407,-0.9532145,-0.9528885,-0.95256263,-0.9522371,-0.95191175,-0.9515866,-0.95126164,-0.95093685,-0.95061225,-0.950288,-0.9499638,-0.9496399,-0.9493162,-0.9489927,-0.9486693,-0.9483462,-0.9480233,-0.9477006,-0.94737816,-0.94705594,-0.9467338,-0.94641185,-0.9460903,-0.9457688,-0.94544756,-0.9451264,-0.9448056,-0.9444849,-0.94416445,-0.9438442,-0.9435241,-0.9432043,-0.9428847,-0.94256526,-0.94224596,-0.941927,-0.94160813,-0.9412894,-0.9409711,-0.94065285,-0.94033486,-0.9400169,-0.93969935,-0.93938196,-0.9390647,-0.93874764,-0.93843085,-0.93811417,-0.9377977,-0.9374815,-0.9371655,-0.9368496,-0.93653405,-0.9362185,-0.9359033,-0.93558824,-0.9352734,-0.9349588,-0.9346443,-0.9343301,-0.93401605,-0.9337022,-0.9333885,-0.933075,-0.9327618,-0.93244874,-0.9321359,-0.9318232,-0.9315106,-0.93119836,-0.9308863,-0.9305744,-0.9302626,-0.9299512,-0.9296398,-0.92932874,-0.9290178,-0.92870706,-0.9283965,-0.9280862,-0.9277761,-0.92746603,-0.9271563,-0.9268468,-0.92653733,-0.9262283,-0.9259192,-0.92561036,-0.9253018,-0.9249934,-0.9246851,-0.9243771,-0.9240693,-0.92376167,-0.9234541,-0.9231469,-0.9228399,-0.922533,-0.9222263,-0.92191976,-0.92161345,-0.92130727,-0.9210014,-0.9206956,-0.92039007,-0.92008466,-0.9197796,-0.9194745,-0.9191697,-0.9188651,-0.9185607,-0.9182565,-0.9179525,-0.9176486,-0.91734487,-0.9170414,-0.9167381,-0.91643494,-0.91613215,-0.91582936,-0.9155268,-0.9152244,-0.91492224,-0.9146203,-0.9143185,-0.9140169,-0.9137155,-0.9134142,-0.9131132,-0.9128123,-0.9125115,-0.912211,-0.9119108,-0.9116106,-0.9113106,-0.9110108,-0.9107113,-0.9104119,-0.9101127,-0.90981364,-0.9095148,-0.9092161,-0.90891767,-0.90861934,-0.9083212,-0.90802336,-0.9077255,-0.90742797,-0.9071306,-0.90683335,-0.90653646,-0.9062395,-0.9059429,-0.9056464,-0.90535,-0.9050539,-0.904758,-0.9044623,-0.9041667,-0.90387136,-0.9035761,-0.90328103,-0.9029862,-0.9026915,-0.9023971,-0.90210277,-0.9018086,-0.9015147,-0.90122086,-0.90092725,-0.9006338,-0.9003407,-0.9000476,-0.8997547,-0.8994619,-0.8991694,-0.8988771,-0.89858484,-0.8982929,-0.89800113,-0.8977094,-0.89741796,-0.8971267,-0.89683557,-0.8965447,-0.8962539,-0.89596325,-0.89567286,-0.89538264,-0.8950926,-0.89480275,-0.8945131,-0.8942235,-0.89393413,-0.893645,-0.89335597,-0.8930671,-0.89277846,-0.89249,-0.89220166,-0.89191353,-0.8916256,-0.8913379,-0.8910502,-0.8907628,-0.8904755,-0.89018846,-0.8899015,-0.8896147,-0.8893282,-0.8890418,-0.8887556,-0.8884695,-0.8881836,-0.88789785,-0.88761234,-0.88732696,-0.88704175,-0.8867568,-0.8864719,-0.88618726,-0.8859027,-0.88561827,-0.88533413,-0.8850502,-0.88476634,-0.88448274,-0.88419914,-0.8839159,-0.88363266,-0.8833498,-0.88306695,-0.8827843,-0.88250184,-0.88221943,-0.8819373,-0.88165534,-0.8813736],"x":[-0.8,-0.8003984,-0.8007968,-0.8011952,-0.8015936,-0.80199206,-0.80239046,-0.80278885,-0.80318725,-0.80358565,-0.80398405,-0.80438244,-0.8047809,-0.8051793,-0.8055777,-0.8059761,-0.8063745,-0.8067729,-0.8071713,-0.80756974,-0.80796814,-0.80836654,-0.80876493,-0.80916333,-0.8095617,-0.8099602,-0.8103586,-0.810757,-0.8111554,-0.8115538,-0.8119522,-0.8123506,-0.812749,-0.8131474,-0.8135458,-0.8139442,-0.8143426,-0.814741,-0.8151394,-0.81553787,-0.81593627,-0.81633466,-0.81673306,-0.81713146,-0.81752986,-0.8179283,-0.8183267,-0.8187251,-0.8191235,-0.8195219,-0.8199203,-0.8203187,-0.82071716,-0.82111555,-0.82151395,-0.82191235,-0.82231075,-0.82270914,-0.82310754,-0.823506,-0.8239044,-0.8243028,-0.8247012,-0.8250996,-0.825498,-0.82589644,-0.82629484,-0.82669324,-0.82709163,-0.82749003,-0.8278884,-0.8282868,-0.8286853,-0.8290837,-0.8294821,-0.8298805,-0.8302789,-0.8306773,-0.83107567,-0.8314741,-0.8318725,-0.8322709,-0.8326693,-0.8330677,-0.8334661,-0.83386457,-0.83426297,-0.83466136,-0.83505976,-0.83545816,-0.83585656,-0.83625495,-0.8366534,-0.8370518,-0.8374502,-0.8378486,-0.838247,-0.8386454,-0.8390438,-0.83944225,-0.83984065,-0.84023905,-0.84063745,-0.84103584,-0.84143424,-0.8418327,-0.8422311,-0.8426295,-0.8430279,-0.8434263,-0.8438247,-0.8442231,-0.84462154,-0.84501994,-0.84541833,-0.84581673,-0.8462151,-0.8466135,-0.8470119,-0.8474104,-0.8478088,-0.8482072,-0.8486056,-0.849004,-0.84940237,-0.8498008,-0.8501992,-0.8505976,-0.850996,-0.8513944,-0.8517928,-0.8521912,-0.85258967,-0.85298806,-0.85338646,-0.85378486,-0.85418326,-0.85458165,-0.85498005,-0.8553785,-0.8557769,-0.8561753,-0.8565737,-0.8569721,-0.8573705,-0.85776895,-0.85816735,-0.85856575,-0.85896415,-0.85936254,-0.85976094,-0.86015934,-0.8605578,-0.8609562,-0.8613546,-0.861753,-0.8621514,-0.8625498,-0.8629482,-0.86334664,-0.86374503,-0.86414343,-0.8645418,-0.8649402,-0.8653386,-0.8657371,-0.8661355,-0.8665339,-0.8669323,-0.8673307,-0.86772907,-0.86812747,-0.8685259,-0.8689243,-0.8693227,-0.8697211,-0.8701195,-0.8705179,-0.8709163,-0.87131476,-0.87171316,-0.87211156,-0.87250996,-0.87290835,-0.87330675,-0.8737052,-0.8741036,-0.874502,-0.8749004,-0.8752988,-0.8756972,-0.8760956,-0.87649405,-0.87689245,-0.87729084,-0.87768924,-0.87808764,-0.87848604,-0.87888443,-0.8792829,-0.8796813,-0.8800797,-0.8804781,-0.8808765,-0.8812749,-0.88167334,-0.88207173,-0.88247013,-0.8828685,-0.8832669,-0.8836653,-0.8840637,-0.8844622,-0.8848606,-0.885259,-0.88565737,-0.88605577,-0.88645416,-0.88685256,-0.887251,-0.8876494,-0.8880478,-0.8884462,-0.8888446,-0.889243,-0.88964146,-0.89003986,-0.89043826,-0.89083666,-0.89123505,-0.89163345,-0.89203185,-0.8924303,-0.8928287,-0.8932271,-0.8936255,-0.8940239,-0.8944223,-0.8948207,-0.89521915,-0.89561754,-0.89601594,-0.89641434,-0.89681274,-0.89721113,-0.8976096,-0.898008,-0.8984064,-0.8988048,-0.8992032,-0.8996016,-0.9,-0.90039843,-0.90079683,-0.9011952,-0.9015936,-0.901992,-0.9023904,-0.9027888,-0.9031873,-0.9035857,-0.90398407,-0.90438247,-0.90478086,-0.90517926,-0.90557766,-0.9059761,-0.9063745,-0.9067729,-0.9071713,-0.9075697,-0.9079681,-0.90836656,-0.90876496,-0.90916336,-0.90956175,-0.90996015,-0.91035855,-0.91075695,-0.9111554,-0.9115538,-0.9119522,-0.9123506,-0.912749,-0.9131474,-0.9135458,-0.91394424,-0.91434264,-0.91474104,-0.91513944,-0.91553783,-0.91593623,-0.9163347,-0.9167331,-0.9171315,-0.9175299,-0.9179283,-0.9183267,-0.9187251,-0.91912353,-0.9195219,-0.9199203,-0.9203187,-0.9207171,-0.9211155,-0.9215139,-0.9219124,-0.92231077,-0.92270917,-0.92310756,-0.92350596,-0.92390436,-0.9243028,-0.9247012,-0.9250996,-0.925498,-0.9258964,-0.9262948,-0.9266932,-0.92709166,-0.92749006,-0.92788845,-0.92828685,-0.92868525,-0.92908365,-0.92948204,-0.9298805,-0.9302789,-0.9306773,-0.9310757,-0.9314741,-0.9318725,-0.93227094,-0.93266934,-0.93306774,-0.93346614,-0.93386453,-0.93426293,-0.9346613,-0.9350598,-0.9354582,-0.9358566,-0.936255,-0.9366534,-0.9370518,-0.9374502,-0.9378486,-0.938247,-0.9386454,-0.9390438,-0.9394422,-0.9398406,-0.9402391,-0.94063747,-0.94103587,-0.94143426,-0.94183266,-0.94223106,-0.94262946,-0.9430279,-0.9434263,-0.9438247,-0.9442231,-0.9446215,-0.9450199,-0.9454183,-0.94581676,-0.94621515,-0.94661355,-0.94701195,-0.94741035,-0.94780874,-0.9482072,-0.9486056,-0.949004,-0.9494024,-0.9498008,-0.9501992,-0.9505976,-0.95099604,-0.95139444,-0.95179284,-0.95219123,-0.95258963,-0.952988,-0.9533864,-0.9537849,-0.9541833,-0.9545817,-0.9549801,-0.9553785,-0.9557769,-0.9561753,-0.9565737,-0.9569721,-0.9573705,-0.9577689,-0.9581673,-0.9585657,-0.95896417,-0.95936257,-0.95976096,-0.96015936,-0.96055776,-0.96095616,-0.96135455,-0.961753,-0.9621514,-0.9625498,-0.9629482,-0.9633466,-0.963745,-0.96414346,-0.96454185,-0.96494025,-0.96533865,-0.96573704,-0.96613544,-0.96653384,-0.9669323,-0.9673307,-0.9677291,-0.9681275,-0.9685259,-0.9689243,-0.9693227,-0.96972114,-0.97011954,-0.97051793,-0.97091633,-0.9713147,-0.9717131,-0.9721116,-0.97251,-0.9729084,-0.9733068,-0.9737052,-0.97410357,-0.97450197,-0.9749004,-0.9752988,-0.9756972,-0.9760956,-0.976494,-0.9768924,-0.9772908,-0.97768927,-0.97808766,-0.97848606,-0.97888446,-0.97928286,-0.97968125,-0.9800797,-0.9804781,-0.9808765,-0.9812749,-0.9816733,-0.9820717,-0.9824701,-0.98286855,-0.98326695,-0.98366535,-0.98406374,-0.98446214,-0.98486054,-0.98525894,-0.9856574,-0.9860558,-0.9864542,-0.9868526,-0.987251,-0.9876494,-0.98804784,-0.98844624,-0.98884463,-0.98924303,-0.9896414,-0.9900398,-0.9904382,-0.9908367,-0.9912351,-0.9916335,-0.9920319,-0.99243027,-0.99282867,-0.99322706,-0.9936255,-0.9940239,-0.9944223,-0.9948207,-0.9952191,-0.9956175,-0.99601597,-0.99641436,-0.99681276,-0.99721116,-0.99760956,-0.99800795,-0.99840635,-0.9988048,-0.9992032,-0.9996016,-1.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/small_positive.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/small_positive.json new file mode 100644 index 000000000000..9379881bac0c --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/small_positive.json @@ -0,0 +1 @@ +{"expected":[1.047593,1.0472043,1.0468158,1.0464276,1.0460397,1.045652,1.0452645,1.0448774,1.0444906,1.044104,1.0437176,1.0433316,1.0429457,1.0425603,1.0421749,1.04179,1.0414053,1.0410209,1.0406367,1.0402526,1.039869,1.0394855,1.0391023,1.0387195,1.0383369,1.0379544,1.0375724,1.0371906,1.036809,1.0364276,1.0360466,1.0356659,1.0352852,1.034905,1.0345249,1.0341452,1.0337657,1.0333865,1.0330075,1.0326288,1.0322504,1.0318722,1.0314943,1.0311166,1.0307391,1.030362,1.0299851,1.0296084,1.029232,1.0288559,1.02848,1.0281044,1.027729,1.0273539,1.026979,1.0266045,1.0262301,1.025856,1.0254822,1.0251085,1.0247352,1.0243622,1.0239893,1.0236167,1.0232445,1.0228723,1.0225005,1.022129,1.0217577,1.0213866,1.0210158,1.0206453,1.0202749,1.019905,1.0195351,1.0191655,1.0187962,1.0184271,1.0180583,1.0176897,1.0173215,1.0169535,1.0165856,1.0162181,1.0158508,1.0154836,1.0151168,1.0147502,1.0143839,1.0140178,1.013652,1.0132865,1.0129211,1.012556,1.012191,1.0118265,1.0114621,1.011098,1.0107342,1.0103705,1.0100071,1.0096439,1.009281,1.0089184,1.008556,1.0081939,1.0078319,1.0074703,1.0071087,1.0067476,1.0063866,1.0060259,1.0056653,1.0053052,1.004945,1.0045854,1.0042259,1.0038667,1.0035076,1.0031487,1.0027902,1.0024319,1.0020738,1.001716,1.0013584,1.001001,1.0006438,1.0002869,0.9999303,0.9995739,0.9992177,0.9988618,0.99850607,0.9981506,0.99779534,0.99744034,0.9970856,0.99673104,0.9963767,0.9960226,0.9956688,0.99531525,0.99496186,0.99460876,0.9942559,0.99390316,0.99355084,0.9931986,0.9928466,0.99249494,0.9921435,0.99179214,0.9914411,0.9910903,0.99073976,0.9903894,0.9900393,0.98968947,0.9893398,0.98899037,0.9886412,0.9882922,0.98794353,0.987595,0.98724675,0.9868987,0.98655087,0.9862033,0.985856,0.98550886,0.98516196,0.9848153,0.9844688,0.98412263,0.9837766,0.98343086,0.9830854,0.9827401,0.982395,0.9820501,0.9817055,0.9813611,0.98101693,0.980673,0.9803292,0.97998565,0.9796424,0.97929937,0.9789565,0.9786139,0.97827154,0.9779294,0.97758746,0.97724575,0.9769042,0.976563,0.976222,0.9758811,0.9755405,0.97520006,0.97485995,0.97452,0.9741803,0.9738408,0.9735015,0.97316235,0.9728236,0.972485,0.9721466,0.97180843,0.9714705,0.97113276,0.9707952,0.9704579,0.9701208,0.96978396,0.9694473,0.9691109,0.9687747,0.9684386,0.96810293,0.9677673,0.96743196,0.96709687,0.96676195,0.9664272,0.9660927,0.9657585,0.9654244,0.96509063,0.964757,0.96442366,0.96409047,0.9637574,0.96342474,0.9630922,0.96275985,0.96242774,0.9620959,0.96176416,0.9614327,0.96110135,0.9607703,0.9604395,0.9601089,0.9597784,0.9594482,0.9591183,0.9587885,0.95845896,0.95812964,0.95780045,0.9574715,0.9571428,0.9568143,0.95648605,0.9561579,0.95583004,0.9555024,0.9551749,0.95484763,0.9545206,0.9541937,0.9538672,0.9535407,0.9532145,0.9528885,0.95256263,0.9522371,0.95191175,0.9515866,0.95126164,0.95093685,0.95061225,0.950288,0.9499638,0.9496399,0.9493162,0.9489927,0.9486693,0.9483462,0.9480233,0.9477006,0.94737816,0.94705594,0.9467338,0.94641185,0.9460903,0.9457688,0.94544756,0.9451264,0.9448056,0.9444849,0.94416445,0.9438442,0.9435241,0.9432043,0.9428847,0.94256526,0.94224596,0.941927,0.94160813,0.9412894,0.9409711,0.94065285,0.94033486,0.9400169,0.93969935,0.93938196,0.9390647,0.93874764,0.93843085,0.93811417,0.9377977,0.9374815,0.9371655,0.9368496,0.93653405,0.9362185,0.9359033,0.93558824,0.9352734,0.9349588,0.9346443,0.9343301,0.93401605,0.9337022,0.9333885,0.933075,0.9327618,0.93244874,0.9321359,0.9318232,0.9315106,0.93119836,0.9308863,0.9305744,0.9302626,0.9299512,0.9296398,0.92932874,0.9290178,0.92870706,0.9283965,0.9280862,0.9277761,0.92746603,0.9271563,0.9268468,0.92653733,0.9262283,0.9259192,0.92561036,0.9253018,0.9249934,0.9246851,0.9243771,0.9240693,0.92376167,0.9234541,0.9231469,0.9228399,0.922533,0.9222263,0.92191976,0.92161345,0.92130727,0.9210014,0.9206956,0.92039007,0.92008466,0.9197796,0.9194745,0.9191697,0.9188651,0.9185607,0.9182565,0.9179525,0.9176486,0.91734487,0.9170414,0.9167381,0.91643494,0.91613215,0.91582936,0.9155268,0.9152244,0.91492224,0.9146203,0.9143185,0.9140169,0.9137155,0.9134142,0.9131132,0.9128123,0.9125115,0.912211,0.9119108,0.9116106,0.9113106,0.9110108,0.9107113,0.9104119,0.9101127,0.90981364,0.9095148,0.9092161,0.90891767,0.90861934,0.9083212,0.90802336,0.9077255,0.90742797,0.9071306,0.90683335,0.90653646,0.9062395,0.9059429,0.9056464,0.90535,0.9050539,0.904758,0.9044623,0.9041667,0.90387136,0.9035761,0.90328103,0.9029862,0.9026915,0.9023971,0.90210277,0.9018086,0.9015147,0.90122086,0.90092725,0.9006338,0.9003407,0.9000476,0.8997547,0.8994619,0.8991694,0.8988771,0.89858484,0.8982929,0.89800113,0.8977094,0.89741796,0.8971267,0.89683557,0.8965447,0.8962539,0.89596325,0.89567286,0.89538264,0.8950926,0.89480275,0.8945131,0.8942235,0.89393413,0.893645,0.89335597,0.8930671,0.89277846,0.89249,0.89220166,0.89191353,0.8916256,0.8913379,0.8910502,0.8907628,0.8904755,0.89018846,0.8899015,0.8896147,0.8893282,0.8890418,0.8887556,0.8884695,0.8881836,0.88789785,0.88761234,0.88732696,0.88704175,0.8867568,0.8864719,0.88618726,0.8859027,0.88561827,0.88533413,0.8850502,0.88476634,0.88448274,0.88419914,0.8839159,0.88363266,0.8833498,0.88306695,0.8827843,0.88250184,0.88221943,0.8819373,0.88165534,0.8813736],"x":[0.8,0.8003984,0.8007968,0.8011952,0.8015936,0.80199206,0.80239046,0.80278885,0.80318725,0.80358565,0.80398405,0.80438244,0.8047809,0.8051793,0.8055777,0.8059761,0.8063745,0.8067729,0.8071713,0.80756974,0.80796814,0.80836654,0.80876493,0.80916333,0.8095617,0.8099602,0.8103586,0.810757,0.8111554,0.8115538,0.8119522,0.8123506,0.812749,0.8131474,0.8135458,0.8139442,0.8143426,0.814741,0.8151394,0.81553787,0.81593627,0.81633466,0.81673306,0.81713146,0.81752986,0.8179283,0.8183267,0.8187251,0.8191235,0.8195219,0.8199203,0.8203187,0.82071716,0.82111555,0.82151395,0.82191235,0.82231075,0.82270914,0.82310754,0.823506,0.8239044,0.8243028,0.8247012,0.8250996,0.825498,0.82589644,0.82629484,0.82669324,0.82709163,0.82749003,0.8278884,0.8282868,0.8286853,0.8290837,0.8294821,0.8298805,0.8302789,0.8306773,0.83107567,0.8314741,0.8318725,0.8322709,0.8326693,0.8330677,0.8334661,0.83386457,0.83426297,0.83466136,0.83505976,0.83545816,0.83585656,0.83625495,0.8366534,0.8370518,0.8374502,0.8378486,0.838247,0.8386454,0.8390438,0.83944225,0.83984065,0.84023905,0.84063745,0.84103584,0.84143424,0.8418327,0.8422311,0.8426295,0.8430279,0.8434263,0.8438247,0.8442231,0.84462154,0.84501994,0.84541833,0.84581673,0.8462151,0.8466135,0.8470119,0.8474104,0.8478088,0.8482072,0.8486056,0.849004,0.84940237,0.8498008,0.8501992,0.8505976,0.850996,0.8513944,0.8517928,0.8521912,0.85258967,0.85298806,0.85338646,0.85378486,0.85418326,0.85458165,0.85498005,0.8553785,0.8557769,0.8561753,0.8565737,0.8569721,0.8573705,0.85776895,0.85816735,0.85856575,0.85896415,0.85936254,0.85976094,0.86015934,0.8605578,0.8609562,0.8613546,0.861753,0.8621514,0.8625498,0.8629482,0.86334664,0.86374503,0.86414343,0.8645418,0.8649402,0.8653386,0.8657371,0.8661355,0.8665339,0.8669323,0.8673307,0.86772907,0.86812747,0.8685259,0.8689243,0.8693227,0.8697211,0.8701195,0.8705179,0.8709163,0.87131476,0.87171316,0.87211156,0.87250996,0.87290835,0.87330675,0.8737052,0.8741036,0.874502,0.8749004,0.8752988,0.8756972,0.8760956,0.87649405,0.87689245,0.87729084,0.87768924,0.87808764,0.87848604,0.87888443,0.8792829,0.8796813,0.8800797,0.8804781,0.8808765,0.8812749,0.88167334,0.88207173,0.88247013,0.8828685,0.8832669,0.8836653,0.8840637,0.8844622,0.8848606,0.885259,0.88565737,0.88605577,0.88645416,0.88685256,0.887251,0.8876494,0.8880478,0.8884462,0.8888446,0.889243,0.88964146,0.89003986,0.89043826,0.89083666,0.89123505,0.89163345,0.89203185,0.8924303,0.8928287,0.8932271,0.8936255,0.8940239,0.8944223,0.8948207,0.89521915,0.89561754,0.89601594,0.89641434,0.89681274,0.89721113,0.8976096,0.898008,0.8984064,0.8988048,0.8992032,0.8996016,0.9,0.90039843,0.90079683,0.9011952,0.9015936,0.901992,0.9023904,0.9027888,0.9031873,0.9035857,0.90398407,0.90438247,0.90478086,0.90517926,0.90557766,0.9059761,0.9063745,0.9067729,0.9071713,0.9075697,0.9079681,0.90836656,0.90876496,0.90916336,0.90956175,0.90996015,0.91035855,0.91075695,0.9111554,0.9115538,0.9119522,0.9123506,0.912749,0.9131474,0.9135458,0.91394424,0.91434264,0.91474104,0.91513944,0.91553783,0.91593623,0.9163347,0.9167331,0.9171315,0.9175299,0.9179283,0.9183267,0.9187251,0.91912353,0.9195219,0.9199203,0.9203187,0.9207171,0.9211155,0.9215139,0.9219124,0.92231077,0.92270917,0.92310756,0.92350596,0.92390436,0.9243028,0.9247012,0.9250996,0.925498,0.9258964,0.9262948,0.9266932,0.92709166,0.92749006,0.92788845,0.92828685,0.92868525,0.92908365,0.92948204,0.9298805,0.9302789,0.9306773,0.9310757,0.9314741,0.9318725,0.93227094,0.93266934,0.93306774,0.93346614,0.93386453,0.93426293,0.9346613,0.9350598,0.9354582,0.9358566,0.936255,0.9366534,0.9370518,0.9374502,0.9378486,0.938247,0.9386454,0.9390438,0.9394422,0.9398406,0.9402391,0.94063747,0.94103587,0.94143426,0.94183266,0.94223106,0.94262946,0.9430279,0.9434263,0.9438247,0.9442231,0.9446215,0.9450199,0.9454183,0.94581676,0.94621515,0.94661355,0.94701195,0.94741035,0.94780874,0.9482072,0.9486056,0.949004,0.9494024,0.9498008,0.9501992,0.9505976,0.95099604,0.95139444,0.95179284,0.95219123,0.95258963,0.952988,0.9533864,0.9537849,0.9541833,0.9545817,0.9549801,0.9553785,0.9557769,0.9561753,0.9565737,0.9569721,0.9573705,0.9577689,0.9581673,0.9585657,0.95896417,0.95936257,0.95976096,0.96015936,0.96055776,0.96095616,0.96135455,0.961753,0.9621514,0.9625498,0.9629482,0.9633466,0.963745,0.96414346,0.96454185,0.96494025,0.96533865,0.96573704,0.96613544,0.96653384,0.9669323,0.9673307,0.9677291,0.9681275,0.9685259,0.9689243,0.9693227,0.96972114,0.97011954,0.97051793,0.97091633,0.9713147,0.9717131,0.9721116,0.97251,0.9729084,0.9733068,0.9737052,0.97410357,0.97450197,0.9749004,0.9752988,0.9756972,0.9760956,0.976494,0.9768924,0.9772908,0.97768927,0.97808766,0.97848606,0.97888446,0.97928286,0.97968125,0.9800797,0.9804781,0.9808765,0.9812749,0.9816733,0.9820717,0.9824701,0.98286855,0.98326695,0.98366535,0.98406374,0.98446214,0.98486054,0.98525894,0.9856574,0.9860558,0.9864542,0.9868526,0.987251,0.9876494,0.98804784,0.98844624,0.98884463,0.98924303,0.9896414,0.9900398,0.9904382,0.9908367,0.9912351,0.9916335,0.9920319,0.99243027,0.99282867,0.99322706,0.9936255,0.9940239,0.9944223,0.9948207,0.9952191,0.9956175,0.99601597,0.99641436,0.99681276,0.99721116,0.99760956,0.99800795,0.99840635,0.9988048,0.9992032,0.9996016,1.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/smaller.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/smaller.json new file mode 100644 index 000000000000..dc3070039348 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/smaller.json @@ -0,0 +1 @@ +{"expected":[-1.047593,-1.0507127,-1.0538497,-1.0570043,-1.0601765,-1.0633665,-1.0665745,-1.0698006,-1.0730449,-1.0763077,-1.079589,-1.0828891,-1.086208,-1.089546,-1.092903,-1.0962796,-1.0996757,-1.1030915,-1.1065271,-1.1099827,-1.1134586,-1.1169549,-1.1204718,-1.1240095,-1.127568,-1.1311477,-1.1347487,-1.1383712,-1.1420155,-1.1456815,-1.1493697,-1.1530802,-1.1568131,-1.1605688,-1.1643473,-1.168149,-1.1719741,-1.1758227,-1.179695,-1.1835914,-1.1875119,-1.1914568,-1.1954266,-1.1994212,-1.2034409,-1.2074859,-1.2115567,-1.2156533,-1.219776,-1.2239252,-1.228101,-1.2323036,-1.2365335,-1.2407908,-1.2450758,-1.2493889,-1.2537302,-1.2581,-1.2624987,-1.2669265,-1.2713838,-1.2758708,-1.280388,-1.2849355,-1.2895135,-1.2941227,-1.298763,-1.3034352,-1.3081393,-1.3128759,-1.317645,-1.3224472,-1.3272828,-1.3321521,-1.3370557,-1.3419937,-1.3469665,-1.3519747,-1.3570187,-1.3620986,-1.367215,-1.3723685,-1.3775591,-1.3827875,-1.3880541,-1.3933594,-1.3987038,-1.4040877,-1.4095117,-1.4149761,-1.4204814,-1.4260284,-1.4316173,-1.4372488,-1.4429232,-1.4486411,-1.454403,-1.4602098,-1.4660615,-1.4719594,-1.4779034,-1.4838942,-1.4899328,-1.4960195,-1.5021551,-1.5083399,-1.5145749,-1.5208607,-1.527198,-1.5335875,-1.5400298,-1.5465257,-1.5530759,-1.5596813,-1.5663425,-1.5730603,-1.5798354,-1.5866691,-1.5935618,-1.6005144,-1.6075277,-1.614603,-1.621741,-1.6289426,-1.6362088,-1.6435404,-1.6509386,-1.6584046,-1.665939,-1.6735433,-1.6812184,-1.6889654,-1.6967858,-1.7046803,-1.7126504,-1.7206974,-1.7288222,-1.7370268,-1.745312,-1.7536793,-1.76213,-1.770666,-1.7792885,-1.787999,-1.7967992,-1.8056906,-1.8146751,-1.8237542,-1.8329297,-1.8422036,-1.8515776,-1.8610536,-1.8706338,-1.8803201,-1.8901145,-1.9000194,-1.9100369,-1.9201695,-1.9304192,-1.9407889,-1.951281,-1.9618979,-1.9726425,-1.9835178,-1.9945263,-2.0056715,-2.0169559,-2.0283833,-2.0399566,-2.0516794,-2.0635555,-2.0755882,-2.0877817,-2.1001396,-2.1126668,-2.1253667,-2.1382444,-2.1513042,-2.1645513,-2.1779904,-2.191627,-2.2054665,-2.2195148,-2.2337778,-2.2482615,-2.2629726,-2.2779176,-2.2931042,-2.3085396,-2.3242316,-2.3401887,-2.3564188,-2.3729317,-2.3897367,-2.4068434,-2.4242628,-2.4420059,-2.4600842,-2.4785104,-2.4972975,-2.5164592,-2.53601,-2.5559661,-2.5763433,-2.5971596,-2.6184332,-2.6401846,-2.662435,-2.6852067,-2.7085242,-2.7324135,-2.7569032,-2.7820225,-2.8078048,-2.8342845,-2.8615,-2.8894923,-2.918306,-2.9479904,-2.978598,-3.010188,-3.0428243,-3.076577,-3.1115243,-3.147753,-3.1853595,-3.2244513,-3.2651496,-3.3075902,-3.3519282,-3.3983393,-3.4470258,-3.4982202,-3.5521936,-3.6092637,-3.6698046,-3.7342644,-3.8031838,-3.8772233,-3.9572024,-4.0441556,-4.1394124,-4.2447248,-4.3624644,-4.495958,-4.6500754,-4.8323693,-5.05549,-5.3431544,-5.7486067,-6.441746,null,6.441746,5.7486067,5.3431544,5.05549,4.8323693,4.6500754,4.495958,4.3624644,4.2447248,4.1394124,4.0441556,3.9572024,3.8772233,3.8031838,3.7342644,3.6698046,3.6092637,3.5521936,3.4982202,3.4470258,3.3983393,3.3519282,3.3075902,3.2651496,3.2244513,3.1853595,3.147753,3.1115243,3.076577,3.0428243,3.010188,2.978598,2.9479904,2.918306,2.8894923,2.8615,2.8342845,2.8078048,2.7820225,2.7569032,2.7324135,2.7085242,2.6852067,2.662435,2.6401846,2.6184332,2.5971596,2.5763433,2.5559661,2.53601,2.5164592,2.4972975,2.4785104,2.4600842,2.4420059,2.4242628,2.4068434,2.3897367,2.3729317,2.3564188,2.3401887,2.3242316,2.3085396,2.2931042,2.2779176,2.2629726,2.2482615,2.2337778,2.2195148,2.2054665,2.191627,2.1779904,2.1645513,2.1513042,2.1382444,2.1253667,2.1126668,2.1001396,2.0877817,2.0755882,2.0635555,2.0516794,2.0399566,2.0283833,2.0169559,2.0056715,1.9945263,1.9835178,1.9726425,1.9618979,1.951281,1.9407889,1.9304192,1.9201695,1.9100369,1.9000194,1.8901145,1.8803201,1.8706338,1.8610536,1.8515776,1.8422036,1.8329297,1.8237542,1.8146751,1.8056906,1.7967992,1.787999,1.7792885,1.770666,1.76213,1.7536793,1.745312,1.7370268,1.7288222,1.7206974,1.7126504,1.7046803,1.6967858,1.6889654,1.6812184,1.6735433,1.665939,1.6584046,1.6509386,1.6435404,1.6362088,1.6289426,1.621741,1.614603,1.6075277,1.6005144,1.5935618,1.5866691,1.5798354,1.5730603,1.5663425,1.5596813,1.5530759,1.5465257,1.5400298,1.5335875,1.527198,1.5208607,1.5145749,1.5083399,1.5021551,1.4960195,1.4899328,1.4838942,1.4779034,1.4719594,1.4660615,1.4602098,1.454403,1.4486411,1.4429232,1.4372488,1.4316173,1.4260284,1.4204814,1.4149761,1.4095117,1.4040877,1.3987038,1.3933594,1.3880541,1.3827875,1.3775591,1.3723685,1.367215,1.3620986,1.3570187,1.3519747,1.3469665,1.3419937,1.3370557,1.3321521,1.3272828,1.3224472,1.317645,1.3128759,1.3081393,1.3034352,1.298763,1.2941227,1.2895135,1.2849355,1.280388,1.2758708,1.2713838,1.2669265,1.2624987,1.2581,1.2537302,1.2493889,1.2450758,1.2407908,1.2365335,1.2323036,1.228101,1.2239252,1.219776,1.2156533,1.2115567,1.2074859,1.2034409,1.1994212,1.1954266,1.1914568,1.1875119,1.1835914,1.179695,1.1758227,1.1719741,1.168149,1.1643473,1.1605688,1.1568131,1.1530802,1.1493697,1.1456815,1.1420155,1.1383712,1.1347487,1.1311477,1.127568,1.1240095,1.1204718,1.1169549,1.1134586,1.1099827,1.1065271,1.1030915,1.0996757,1.0962796,1.092903,1.089546,1.086208,1.0828891,1.079589,1.0763077,1.0730449,1.0698006,1.0665745,1.0633665,1.0601765,1.0570043,1.0538497,1.0507127,1.047593],"x":[-0.8,-0.7968128,-0.7936255,-0.79043823,-0.787251,-0.78406376,-0.7808765,-0.7776892,-0.774502,-0.77131474,-0.7681275,-0.76494026,-0.76175296,-0.7585657,-0.7553785,-0.75219125,-0.749004,-0.7458167,-0.74262947,-0.7394422,-0.736255,-0.73306775,-0.72988045,-0.7266932,-0.723506,-0.72031873,-0.7171315,-0.7139442,-0.71075696,-0.7075697,-0.7043825,-0.70119524,-0.69800794,-0.6948207,-0.69163346,-0.6884462,-0.685259,-0.6820717,-0.67888445,-0.6756972,-0.67250997,-0.6693227,-0.66613543,-0.6629482,-0.65976095,-0.6565737,-0.6533865,-0.6501992,-0.64701194,-0.6438247,-0.64063746,-0.6374502,-0.6342629,-0.6310757,-0.62788844,-0.6247012,-0.62151396,-0.61832666,-0.6151394,-0.6119522,-0.60876495,-0.6055777,-0.6023904,-0.59920317,-0.59601593,-0.5928287,-0.58964145,-0.5864542,-0.5832669,-0.5800797,-0.57689244,-0.5737052,-0.57051796,-0.56733066,-0.5641434,-0.5609562,-0.55776894,-0.5545817,-0.5513944,-0.54820716,-0.5450199,-0.5418327,-0.53864545,-0.53545815,-0.5322709,-0.52908367,-0.52589643,-0.5227092,-0.5195219,-0.51633465,-0.5131474,-0.5099602,-0.50677294,-0.50358564,-0.5003984,-0.49721116,-0.49402392,-0.49083665,-0.4876494,-0.48446214,-0.4812749,-0.47808766,-0.4749004,-0.47171316,-0.4685259,-0.46533865,-0.4621514,-0.45896414,-0.4557769,-0.45258963,-0.4494024,-0.44621515,-0.44302788,-0.43984064,-0.43665338,-0.43346614,-0.4302789,-0.42709163,-0.4239044,-0.42071712,-0.41752988,-0.41434264,-0.41115537,-0.40796813,-0.40478086,-0.40159363,-0.3984064,-0.39521912,-0.39203188,-0.3888446,-0.38565737,-0.38247013,-0.37928286,-0.37609562,-0.37290835,-0.3697211,-0.36653388,-0.3633466,-0.36015937,-0.3569721,-0.35378486,-0.35059762,-0.34741035,-0.3442231,-0.34103584,-0.3378486,-0.33466136,-0.3314741,-0.32828686,-0.3250996,-0.32191235,-0.3187251,-0.31553784,-0.3123506,-0.30916333,-0.3059761,-0.30278885,-0.29960158,-0.29641435,-0.2932271,-0.29003984,-0.2868526,-0.28366533,-0.2804781,-0.27729085,-0.27410358,-0.27091634,-0.26772907,-0.26454183,-0.2613546,-0.25816733,-0.2549801,-0.25179282,-0.24860558,-0.24541833,-0.24223107,-0.23904383,-0.23585658,-0.23266932,-0.22948207,-0.22629482,-0.22310758,-0.21992032,-0.21673307,-0.21354581,-0.21035856,-0.20717132,-0.20398407,-0.20079681,-0.19760956,-0.1944223,-0.19123507,-0.18804781,-0.18486056,-0.1816733,-0.17848605,-0.17529881,-0.17211156,-0.1689243,-0.16573705,-0.1625498,-0.15936255,-0.1561753,-0.15298805,-0.14980079,-0.14661355,-0.1434263,-0.14023905,-0.13705179,-0.13386454,-0.1306773,-0.12749004,-0.12430279,-0.121115535,-0.11792829,-0.114741035,-0.11155379,-0.108366534,-0.10517928,-0.10199203,-0.09880478,-0.09561753,-0.09243028,-0.089243025,-0.08605578,-0.082868524,-0.07968128,-0.07649402,-0.07330678,-0.07011952,-0.06693227,-0.06374502,-0.060557768,-0.057370517,-0.054183267,-0.050996017,-0.047808766,-0.044621512,-0.041434262,-0.03824701,-0.03505976,-0.03187251,-0.028685259,-0.025498008,-0.022310756,-0.019123506,-0.015936255,-0.012749004,-0.009561753,-0.006374502,-0.003187251,0.0,0.003187251,0.006374502,0.009561753,0.012749004,0.015936255,0.019123506,0.022310756,0.025498008,0.028685259,0.03187251,0.03505976,0.03824701,0.041434262,0.044621512,0.047808766,0.050996017,0.054183267,0.057370517,0.060557768,0.06374502,0.06693227,0.07011952,0.07330678,0.07649402,0.07968128,0.082868524,0.08605578,0.089243025,0.09243028,0.09561753,0.09880478,0.10199203,0.10517928,0.108366534,0.11155379,0.114741035,0.11792829,0.121115535,0.12430279,0.12749004,0.1306773,0.13386454,0.13705179,0.14023905,0.1434263,0.14661355,0.14980079,0.15298805,0.1561753,0.15936255,0.1625498,0.16573705,0.1689243,0.17211156,0.17529881,0.17848605,0.1816733,0.18486056,0.18804781,0.19123507,0.1944223,0.19760956,0.20079681,0.20398407,0.20717132,0.21035856,0.21354581,0.21673307,0.21992032,0.22310758,0.22629482,0.22948207,0.23266932,0.23585658,0.23904383,0.24223107,0.24541833,0.24860558,0.25179282,0.2549801,0.25816733,0.2613546,0.26454183,0.26772907,0.27091634,0.27410358,0.27729085,0.2804781,0.28366533,0.2868526,0.29003984,0.2932271,0.29641435,0.29960158,0.30278885,0.3059761,0.30916333,0.3123506,0.31553784,0.3187251,0.32191235,0.3250996,0.32828686,0.3314741,0.33466136,0.3378486,0.34103584,0.3442231,0.34741035,0.35059762,0.35378486,0.3569721,0.36015937,0.3633466,0.36653388,0.3697211,0.37290835,0.37609562,0.37928286,0.38247013,0.38565737,0.3888446,0.39203188,0.39521912,0.3984064,0.40159363,0.40478086,0.40796813,0.41115537,0.41434264,0.41752988,0.42071712,0.4239044,0.42709163,0.4302789,0.43346614,0.43665338,0.43984064,0.44302788,0.44621515,0.4494024,0.45258963,0.4557769,0.45896414,0.4621514,0.46533865,0.4685259,0.47171316,0.4749004,0.47808766,0.4812749,0.48446214,0.4876494,0.49083665,0.49402392,0.49721116,0.5003984,0.50358564,0.50677294,0.5099602,0.5131474,0.51633465,0.5195219,0.5227092,0.52589643,0.52908367,0.5322709,0.53545815,0.53864545,0.5418327,0.5450199,0.54820716,0.5513944,0.5545817,0.55776894,0.5609562,0.5641434,0.56733066,0.57051796,0.5737052,0.57689244,0.5800797,0.5832669,0.5864542,0.58964145,0.5928287,0.59601593,0.59920317,0.6023904,0.6055777,0.60876495,0.6119522,0.6151394,0.61832666,0.62151396,0.6247012,0.62788844,0.6310757,0.6342629,0.6374502,0.64063746,0.6438247,0.64701194,0.6501992,0.6533865,0.6565737,0.65976095,0.6629482,0.66613543,0.6693227,0.67250997,0.6756972,0.67888445,0.6820717,0.685259,0.6884462,0.69163346,0.6948207,0.69800794,0.70119524,0.7043825,0.7075697,0.71075696,0.7139442,0.7171315,0.72031873,0.723506,0.7266932,0.72988045,0.73306775,0.736255,0.7394422,0.74262947,0.7458167,0.749004,0.75219125,0.7553785,0.7585657,0.76175296,0.76494026,0.7681275,0.77131474,0.774502,0.7776892,0.7808765,0.78406376,0.787251,0.79043823,0.7936255,0.7968128,0.8]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/tiny_negative.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/tiny_negative.json new file mode 100644 index 000000000000..bf6ca7163817 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/tiny_negative.json @@ -0,0 +1 @@ +{"expected":[-69.7707,-69.77269,-69.77469,-69.776695,-69.7787,-69.78071,-69.78272,-69.784744,-69.786766,-69.78879,-69.79082,-69.792854,-69.79489,-69.796936,-69.79898,-69.80103,-69.80309,-69.80515,-69.80721,-69.80928,-69.811356,-69.81343,-69.81551,-69.8176,-69.81969,-69.821785,-69.82388,-69.82598,-69.828094,-69.8302,-69.83232,-69.83444,-69.83656,-69.8387,-69.84083,-69.84297,-69.845116,-69.84726,-69.84941,-69.85157,-69.85374,-69.8559,-69.85807,-69.860245,-69.86243,-69.86462,-69.866806,-69.869,-69.8712,-69.873405,-69.87562,-69.87783,-69.88005,-69.88228,-69.88451,-69.88674,-69.88898,-69.89123,-69.89347,-69.89573,-69.89799,-69.90025,-69.90253,-69.9048,-69.90708,-69.90936,-69.91166,-69.913956,-69.91625,-69.918564,-69.920876,-69.92319,-69.925514,-69.92784,-69.930176,-69.93252,-69.93486,-69.93721,-69.93957,-69.941925,-69.94429,-69.94666,-69.94904,-69.95143,-69.95382,-69.956215,-69.95861,-69.96102,-69.96343,-69.96585,-69.96828,-69.9707,-69.973145,-69.975586,-69.978035,-69.980484,-69.98295,-69.98541,-69.987885,-69.990364,-69.99284,-69.99534,-69.99783,-70.000336,-70.002846,-70.00536,-70.00788,-70.010414,-70.01295,-70.01549,-70.018036,-70.02059,-70.023155,-70.02572,-70.02829,-70.030876,-70.03346,-70.03606,-70.03866,-70.04127,-70.04388,-70.0465,-70.049126,-70.051765,-70.054405,-70.05705,-70.05971,-70.06237,-70.06504,-70.06772,-70.070404,-70.0731,-70.0758,-70.0785,-70.081215,-70.08394,-70.08666,-70.0894,-70.09215,-70.094894,-70.09766,-70.10042,-70.103195,-70.10598,-70.108765,-70.111565,-70.114365,-70.11718,-70.12,-70.12283,-70.12566,-70.12851,-70.13136,-70.134224,-70.13709,-70.13998,-70.14286,-70.14575,-70.14866,-70.151566,-70.15449,-70.15742,-70.160355,-70.1633,-70.16625,-70.16921,-70.17219,-70.17517,-70.178154,-70.18116,-70.184166,-70.18718,-70.19021,-70.19324,-70.19628,-70.19934,-70.2024,-70.205475,-70.20856,-70.21165,-70.214745,-70.21786,-70.22098,-70.224106,-70.22725,-70.2304,-70.23356,-70.236725,-70.23991,-70.243095,-70.24629,-70.249504,-70.25272,-70.25596,-70.2592,-70.26245,-70.26572,-70.26899,-70.27227,-70.275566,-70.27887,-70.28219,-70.285515,-70.28886,-70.292206,-70.29557,-70.29894,-70.30232,-70.30572,-70.30913,-70.312546,-70.31598,-70.31942,-70.32287,-70.32634,-70.32982,-70.333305,-70.33681,-70.340324,-70.34385,-70.34739,-70.350945,-70.35451,-70.358086,-70.36168,-70.36528,-70.3689,-70.37253,-70.37617,-70.37983,-70.3835,-70.38718,-70.39088,-70.394585,-70.398315,-70.402054,-70.4058,-70.40957,-70.41335,-70.417145,-70.42095,-70.42478,-70.42862,-70.43247,-70.43634,-70.44022,-70.44412,-70.44804,-70.451965,-70.45591,-70.45987,-70.463844,-70.467834,-70.47185,-70.47587,-70.47991,-70.48397,-70.48804,-70.492134,-70.49624,-70.50036,-70.5045,-70.50866,-70.51283,-70.51703,-70.52124,-70.52547,-70.52972,-70.53398,-70.53826,-70.542564,-70.54688,-70.551216,-70.55558,-70.55995,-70.56435,-70.56876,-70.5732,-70.57765,-70.58213,-70.586624,-70.59113,-70.59567,-70.60023,-70.604805,-70.6094,-70.61402,-70.61866,-70.62332,-70.628006,-70.63271,-70.63744,-70.64219,-70.646965,-70.651764,-70.65658,-70.66142,-70.66629,-70.67118,-70.676094,-70.68103,-70.686,-70.69098,-70.69599,-70.701035,-70.70609,-70.71118,-70.7163,-70.72144,-70.72661,-70.731804,-70.73702,-70.74227,-70.74755,-70.75285,-70.75819,-70.76355,-70.76894,-70.77436,-70.779816,-70.78529,-70.7908,-70.79634,-70.80191,-70.80752,-70.81315,-70.81882,-70.82452,-70.830246,-70.836006,-70.841805,-70.84763,-70.8535,-70.8594,-70.86533,-70.87131,-70.87731,-70.883354,-70.889435,-70.895546,-70.9017,-70.9079,-70.91412,-70.920395,-70.926704,-70.93305,-70.939445,-70.94588,-70.95235,-70.95886,-70.965416,-70.972015,-70.97866,-70.98535,-70.99209,-70.99886,-71.00569,-71.012566,-71.019485,-71.02645,-71.03347,-71.040535,-71.04765,-71.054825,-71.06204,-71.06932,-71.076645,-71.08402,-71.09146,-71.09895,-71.1065,-71.1141,-71.121765,-71.129486,-71.13727,-71.14511,-71.153015,-71.16099,-71.169014,-71.17712,-71.18528,-71.193504,-71.201805,-71.210175,-71.21861,-71.22713,-71.23571,-71.24437,-71.2531,-71.26191,-71.2708,-71.27977,-71.28882,-71.29795,-71.30717,-71.31647,-71.32586,-71.335335,-71.34491,-71.35457,-71.36433,-71.374176,-71.384125,-71.39418,-71.40433,-71.41459,-71.42495,-71.435425,-71.44601,-71.456696,-71.46751,-71.47844,-71.48949,-71.50066,-71.51196,-71.52339,-71.53495,-71.546646,-71.55848,-71.57046,-71.58258,-71.59485,-71.60727,-71.61985,-71.63259,-71.64549,-71.65856,-71.671814,-71.685234,-71.69884,-71.71263,-71.726616,-71.74081,-71.755196,-71.76979,-71.78461,-71.799644,-71.81491,-71.830414,-71.84616,-71.86217,-71.878426,-71.89495,-71.91176,-71.928856,-71.94625,-71.96394,-71.981964,-72.00031,-72.019005,-72.038055,-72.05747,-72.07728,-72.09748,-72.118095,-72.13915,-72.16066,-72.18263,-72.20511,-72.228096,-72.25163,-72.27573,-72.30042,-72.32574,-72.351715,-72.37838,-72.40578,-72.43395,-72.46294,-72.49279,-72.52356,-72.55531,-72.588104,-72.622,-72.6571,-72.69346,-72.7312,-72.770424,-72.81124,-72.853806,-72.898254,-72.94478,-72.99357,-73.04486,-73.09893,-73.15608,-73.21671,-73.28125,-73.35024,-73.42435,-73.504395,-73.5914,-73.686714,-73.792076,-73.90986,-74.04339,-74.19754,-74.37986,-74.603004,-74.890686,-75.29615,-75.989296,-88.191376],"x":[-1.0e-30,-9.98008e-31,-9.960159e-31,-9.940239e-31,-9.920318e-31,-9.900398e-31,-9.880478e-31,-9.860558e-31,-9.840638e-31,-9.820717e-31,-9.800797e-31,-9.780877e-31,-9.760956e-31,-9.741036e-31,-9.721115e-31,-9.701195e-31,-9.681275e-31,-9.661354e-31,-9.641434e-31,-9.621514e-31,-9.601594e-31,-9.581674e-31,-9.561753e-31,-9.541833e-31,-9.521912e-31,-9.501992e-31,-9.482072e-31,-9.462151e-31,-9.442231e-31,-9.42231e-31,-9.40239e-31,-9.382471e-31,-9.36255e-31,-9.34263e-31,-9.322709e-31,-9.302789e-31,-9.282869e-31,-9.262948e-31,-9.243028e-31,-9.223107e-31,-9.203187e-31,-9.183267e-31,-9.163346e-31,-9.143427e-31,-9.123506e-31,-9.103586e-31,-9.0836655e-31,-9.063745e-31,-9.043825e-31,-9.023904e-31,-9.003984e-31,-8.9840635e-31,-8.964143e-31,-8.944223e-31,-8.924302e-31,-8.904383e-31,-8.8844625e-31,-8.864542e-31,-8.844622e-31,-8.824701e-31,-8.804781e-31,-8.7848605e-31,-8.76494e-31,-8.74502e-31,-8.725099e-31,-8.705179e-31,-8.685259e-31,-8.665339e-31,-8.645419e-31,-8.625498e-31,-8.605578e-31,-8.585657e-31,-8.565737e-31,-8.545817e-31,-8.525896e-31,-8.505976e-31,-8.486055e-31,-8.466135e-31,-8.446216e-31,-8.426295e-31,-8.406375e-31,-8.386454e-31,-8.366534e-31,-8.346614e-31,-8.326693e-31,-8.306773e-31,-8.286852e-31,-8.266932e-31,-8.247012e-31,-8.227091e-31,-8.207172e-31,-8.187251e-31,-8.167331e-31,-8.147411e-31,-8.12749e-31,-8.10757e-31,-8.087649e-31,-8.067729e-31,-8.047809e-31,-8.027888e-31,-8.007968e-31,-7.988047e-31,-7.968128e-31,-7.948208e-31,-7.928287e-31,-7.908367e-31,-7.8884464e-31,-7.868526e-31,-7.8486056e-31,-7.828685e-31,-7.808765e-31,-7.788845e-31,-7.7689244e-31,-7.749004e-31,-7.7290837e-31,-7.7091633e-31,-7.689243e-31,-7.669323e-31,-7.6494025e-31,-7.629482e-31,-7.6095617e-31,-7.5896413e-31,-7.569721e-31,-7.549801e-31,-7.5298806e-31,-7.50996e-31,-7.49004e-31,-7.4701194e-31,-7.450199e-31,-7.430279e-31,-7.4103587e-31,-7.3904383e-31,-7.370518e-31,-7.3505975e-31,-7.330677e-31,-7.310757e-31,-7.290837e-31,-7.2709164e-31,-7.250996e-31,-7.2310756e-31,-7.211155e-31,-7.1912353e-31,-7.171315e-31,-7.1513945e-31,-7.131474e-31,-7.1115537e-31,-7.0916333e-31,-7.0717134e-31,-7.051793e-31,-7.0318726e-31,-7.011952e-31,-6.992032e-31,-6.9721114e-31,-6.9521914e-31,-6.932271e-31,-6.9123506e-31,-6.8924303e-31,-6.87251e-31,-6.8525895e-31,-6.8326695e-31,-6.812749e-31,-6.7928287e-31,-6.7729083e-31,-6.752988e-31,-6.7330675e-31,-6.7131476e-31,-6.693227e-31,-6.673307e-31,-6.6533864e-31,-6.633466e-31,-6.6135456e-31,-6.5936257e-31,-6.5737053e-31,-6.553785e-31,-6.5338645e-31,-6.513944e-31,-6.4940237e-31,-6.474104e-31,-6.4541834e-31,-6.434263e-31,-6.4143426e-31,-6.394422e-31,-6.374502e-31,-6.354582e-31,-6.3346615e-31,-6.314741e-31,-6.2948207e-31,-6.2749003e-31,-6.25498e-31,-6.23506e-31,-6.2151396e-31,-6.195219e-31,-6.1752988e-31,-6.1553784e-31,-6.1354584e-31,-6.115538e-31,-6.0956176e-31,-6.0756972e-31,-6.055777e-31,-6.0358565e-31,-6.0159365e-31,-5.996016e-31,-5.9760957e-31,-5.9561753e-31,-5.936255e-31,-5.9163345e-31,-5.8964146e-31,-5.876494e-31,-5.856574e-31,-5.8366534e-31,-5.816733e-31,-5.7968126e-31,-5.7768927e-31,-5.7569723e-31,-5.737052e-31,-5.7171315e-31,-5.697211e-31,-5.6772907e-31,-5.657371e-31,-5.6374504e-31,-5.61753e-31,-5.5976096e-31,-5.577689e-31,-5.557769e-31,-5.537849e-31,-5.5179285e-31,-5.498008e-31,-5.4780877e-31,-5.4581673e-31,-5.438247e-31,-5.418327e-31,-5.3984066e-31,-5.378486e-31,-5.3585658e-31,-5.3386454e-31,-5.318725e-31,-5.298805e-31,-5.2788846e-31,-5.2589642e-31,-5.239044e-31,-5.2191234e-31,-5.199203e-31,-5.179283e-31,-5.1593627e-31,-5.1394423e-31,-5.119522e-31,-5.0996015e-31,-5.079681e-31,-5.059761e-31,-5.039841e-31,-5.0199204e-31,-5.0e-31,-4.9800796e-31,-4.960159e-31,-4.9402393e-31,-4.920319e-31,-4.9003985e-31,-4.880478e-31,-4.8605577e-31,-4.8406373e-31,-4.8207174e-31,-4.800797e-31,-4.7808766e-31,-4.760956e-31,-4.741036e-31,-4.7211154e-31,-4.7011955e-31,-4.681275e-31,-4.6613547e-31,-4.6414343e-31,-4.621514e-31,-4.6015935e-31,-4.5816735e-31,-4.561753e-31,-4.5418328e-31,-4.5219124e-31,-4.501992e-31,-4.4820716e-31,-4.4621516e-31,-4.4422312e-31,-4.422311e-31,-4.4023904e-31,-4.38247e-31,-4.3625496e-31,-4.3426297e-31,-4.3227093e-31,-4.302789e-31,-4.2828685e-31,-4.262948e-31,-4.2430277e-31,-4.223108e-31,-4.2031874e-31,-4.183267e-31,-4.1633466e-31,-4.143426e-31,-4.123506e-31,-4.103586e-31,-4.0836655e-31,-4.063745e-31,-4.0438247e-31,-4.0239043e-31,-4.003984e-31,-3.984064e-31,-3.9641436e-31,-3.9442232e-31,-3.9243028e-31,-3.9043826e-31,-3.8844622e-31,-3.8645418e-31,-3.8446217e-31,-3.8247013e-31,-3.8047809e-31,-3.7848607e-31,-3.7649403e-31,-3.74502e-31,-3.7250998e-31,-3.7051794e-31,-3.685259e-31,-3.6653388e-31,-3.6454184e-31,-3.625498e-31,-3.6055778e-31,-3.5856574e-31,-3.565737e-31,-3.5458169e-31,-3.5258965e-31,-3.505976e-31,-3.486056e-31,-3.4661355e-31,-3.4462151e-31,-3.426295e-31,-3.4063746e-31,-3.3864542e-31,-3.366534e-31,-3.3466136e-31,-3.3266932e-31,-3.306773e-31,-3.2868527e-31,-3.2669323e-31,-3.247012e-31,-3.2270917e-31,-3.2071713e-31,-3.1872511e-31,-3.1673307e-31,-3.1474103e-31,-3.1274902e-31,-3.1075698e-31,-3.0876494e-31,-3.0677292e-31,-3.0478088e-31,-3.0278884e-31,-3.0079683e-31,-2.9880479e-31,-2.9681275e-31,-2.9482073e-31,-2.928287e-31,-2.9083665e-31,-2.8884463e-31,-2.868526e-31,-2.8486056e-31,-2.8286854e-31,-2.808765e-31,-2.7888446e-31,-2.7689244e-31,-2.749004e-31,-2.7290836e-31,-2.7091635e-31,-2.689243e-31,-2.6693227e-31,-2.6494025e-31,-2.6294821e-31,-2.6095617e-31,-2.5896416e-31,-2.5697212e-31,-2.5498008e-31,-2.5298806e-31,-2.5099602e-31,-2.4900398e-31,-2.4701196e-31,-2.4501992e-31,-2.4302789e-31,-2.4103587e-31,-2.3904383e-31,-2.370518e-31,-2.3505977e-31,-2.3306773e-31,-2.310757e-31,-2.2908368e-31,-2.2709164e-31,-2.250996e-31,-2.2310758e-31,-2.2111554e-31,-2.191235e-31,-2.1713149e-31,-2.1513945e-31,-2.131474e-31,-2.111554e-31,-2.0916335e-31,-2.0717133e-31,-2.051793e-31,-2.0318725e-31,-2.0119524e-31,-1.992032e-31,-1.9721116e-31,-1.9521913e-31,-1.932271e-31,-1.9123506e-31,-1.8924304e-31,-1.8725101e-31,-1.8525897e-31,-1.8326694e-31,-1.8127491e-31,-1.7928287e-31,-1.7729084e-31,-1.7529882e-31,-1.7330678e-31,-1.7131475e-31,-1.6932272e-31,-1.6733068e-31,-1.6533865e-31,-1.6334662e-31,-1.6135458e-31,-1.5936256e-31,-1.5737053e-31,-1.5537849e-31,-1.5338646e-31,-1.5139443e-31,-1.4940239e-31,-1.4741037e-31,-1.4541834e-31,-1.434263e-31,-1.4143427e-31,-1.3944224e-31,-1.3745021e-31,-1.3545817e-31,-1.3346615e-31,-1.3147412e-31,-1.2948208e-31,-1.2749005e-31,-1.2549802e-31,-1.2350598e-31,-1.2151395e-31,-1.1952193e-31,-1.1752989e-31,-1.1553786e-31,-1.1354583e-31,-1.1155379e-31,-1.0956176e-31,-1.0756973e-31,-1.055777e-31,-1.0358567e-31,-1.0159364e-31,-9.96016e-32,-9.760957e-32,-9.561754e-32,-9.362551e-32,-9.1633476e-32,-8.964144e-32,-8.7649414e-32,-8.565738e-32,-8.3665346e-32,-8.167332e-32,-7.9681284e-32,-7.768925e-32,-7.569722e-32,-7.370519e-32,-7.1713155e-32,-6.9721127e-32,-6.772909e-32,-6.573706e-32,-6.374503e-32,-6.1752997e-32,-5.9760963e-32,-5.7768935e-32,-5.57769e-32,-5.378487e-32,-5.179284e-32,-4.9800806e-32,-4.7808775e-32,-4.5816744e-32,-4.382471e-32,-4.183268e-32,-3.9840648e-32,-3.7848614e-32,-3.5856583e-32,-3.3864552e-32,-3.1872518e-32,-2.9880487e-32,-2.7888457e-32,-2.5896423e-32,-2.3904392e-32,-2.1912361e-32,-1.9920328e-32,-1.7928296e-32,-1.5936265e-32,-1.3944233e-32,-1.1952201e-32,-9.960169e-33,-7.968138e-33,-5.9761056e-33,-3.9840736e-33,-1.9920418e-33,-1.0e-38]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/tiny_positive.json b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/tiny_positive.json new file mode 100644 index 000000000000..19b21efeaabc --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/fixtures/julia/tiny_positive.json @@ -0,0 +1 @@ +{"expected":[69.7707,69.77269,69.77469,69.776695,69.7787,69.78071,69.78272,69.784744,69.786766,69.78879,69.79082,69.792854,69.79489,69.796936,69.79898,69.80103,69.80309,69.80515,69.80721,69.80928,69.811356,69.81343,69.81551,69.8176,69.81969,69.821785,69.82388,69.82598,69.828094,69.8302,69.83232,69.83444,69.83656,69.8387,69.84083,69.84297,69.845116,69.84726,69.84941,69.85157,69.85374,69.8559,69.85807,69.860245,69.86243,69.86462,69.866806,69.869,69.8712,69.873405,69.87562,69.87783,69.88005,69.88228,69.88451,69.88674,69.88898,69.89123,69.89347,69.89573,69.89799,69.90025,69.90253,69.9048,69.90708,69.90936,69.91166,69.913956,69.91625,69.918564,69.920876,69.92319,69.925514,69.92784,69.930176,69.93252,69.93486,69.93721,69.93957,69.941925,69.94429,69.94666,69.94904,69.95143,69.95382,69.956215,69.95861,69.96102,69.96343,69.96585,69.96828,69.9707,69.973145,69.975586,69.978035,69.980484,69.98295,69.98541,69.987885,69.990364,69.99284,69.99534,69.99783,70.000336,70.002846,70.00536,70.00788,70.010414,70.01295,70.01549,70.018036,70.02059,70.023155,70.02572,70.02829,70.030876,70.03346,70.03606,70.03866,70.04127,70.04388,70.0465,70.049126,70.051765,70.054405,70.05705,70.05971,70.06237,70.06504,70.06772,70.070404,70.0731,70.0758,70.0785,70.081215,70.08394,70.08666,70.0894,70.09215,70.094894,70.09766,70.10042,70.103195,70.10598,70.108765,70.111565,70.114365,70.11718,70.12,70.12283,70.12566,70.12851,70.13136,70.134224,70.13709,70.13998,70.14286,70.14575,70.14866,70.151566,70.15449,70.15742,70.160355,70.1633,70.16625,70.16921,70.17219,70.17517,70.178154,70.18116,70.184166,70.18718,70.19021,70.19324,70.19628,70.19934,70.2024,70.205475,70.20856,70.21165,70.214745,70.21786,70.22098,70.224106,70.22725,70.2304,70.23356,70.236725,70.23991,70.243095,70.24629,70.249504,70.25272,70.25596,70.2592,70.26245,70.26572,70.26899,70.27227,70.275566,70.27887,70.28219,70.285515,70.28886,70.292206,70.29557,70.29894,70.30232,70.30572,70.30913,70.312546,70.31598,70.31942,70.32287,70.32634,70.32982,70.333305,70.33681,70.340324,70.34385,70.34739,70.350945,70.35451,70.358086,70.36168,70.36528,70.3689,70.37253,70.37617,70.37983,70.3835,70.38718,70.39088,70.394585,70.398315,70.402054,70.4058,70.40957,70.41335,70.417145,70.42095,70.42478,70.42862,70.43247,70.43634,70.44022,70.44412,70.44804,70.451965,70.45591,70.45987,70.463844,70.467834,70.47185,70.47587,70.47991,70.48397,70.48804,70.492134,70.49624,70.50036,70.5045,70.50866,70.51283,70.51703,70.52124,70.52547,70.52972,70.53398,70.53826,70.542564,70.54688,70.551216,70.55558,70.55995,70.56435,70.56876,70.5732,70.57765,70.58213,70.586624,70.59113,70.59567,70.60023,70.604805,70.6094,70.61402,70.61866,70.62332,70.628006,70.63271,70.63744,70.64219,70.646965,70.651764,70.65658,70.66142,70.66629,70.67118,70.676094,70.68103,70.686,70.69098,70.69599,70.701035,70.70609,70.71118,70.7163,70.72144,70.72661,70.731804,70.73702,70.74227,70.74755,70.75285,70.75819,70.76355,70.76894,70.77436,70.779816,70.78529,70.7908,70.79634,70.80191,70.80752,70.81315,70.81882,70.82452,70.830246,70.836006,70.841805,70.84763,70.8535,70.8594,70.86533,70.87131,70.87731,70.883354,70.889435,70.895546,70.9017,70.9079,70.91412,70.920395,70.926704,70.93305,70.939445,70.94588,70.95235,70.95886,70.965416,70.972015,70.97866,70.98535,70.99209,70.99886,71.00569,71.012566,71.019485,71.02645,71.03347,71.040535,71.04765,71.054825,71.06204,71.06932,71.076645,71.08402,71.09146,71.09895,71.1065,71.1141,71.121765,71.129486,71.13727,71.14511,71.153015,71.16099,71.169014,71.17712,71.18528,71.193504,71.201805,71.210175,71.21861,71.22713,71.23571,71.24437,71.2531,71.26191,71.2708,71.27977,71.28882,71.29795,71.30717,71.31647,71.32586,71.335335,71.34491,71.35457,71.36433,71.374176,71.384125,71.39418,71.40433,71.41459,71.42495,71.435425,71.44601,71.456696,71.46751,71.47844,71.48949,71.50066,71.51196,71.52339,71.53495,71.546646,71.55848,71.57046,71.58258,71.59485,71.60727,71.61985,71.63259,71.64549,71.65856,71.671814,71.685234,71.69884,71.71263,71.726616,71.74081,71.755196,71.76979,71.78461,71.799644,71.81491,71.830414,71.84616,71.86217,71.878426,71.89495,71.91176,71.928856,71.94625,71.96394,71.981964,72.00031,72.019005,72.038055,72.05747,72.07728,72.09748,72.118095,72.13915,72.16066,72.18263,72.20511,72.228096,72.25163,72.27573,72.30042,72.32574,72.351715,72.37838,72.40578,72.43395,72.46294,72.49279,72.52356,72.55531,72.588104,72.622,72.6571,72.69346,72.7312,72.770424,72.81124,72.853806,72.898254,72.94478,72.99357,73.04486,73.09893,73.15608,73.21671,73.28125,73.35024,73.42435,73.504395,73.5914,73.686714,73.792076,73.90986,74.04339,74.19754,74.37986,74.603004,74.890686,75.29615,75.989296,88.191376],"x":[1.0e-30,9.98008e-31,9.960159e-31,9.940239e-31,9.920318e-31,9.900398e-31,9.880478e-31,9.860558e-31,9.840638e-31,9.820717e-31,9.800797e-31,9.780877e-31,9.760956e-31,9.741036e-31,9.721115e-31,9.701195e-31,9.681275e-31,9.661354e-31,9.641434e-31,9.621514e-31,9.601594e-31,9.581674e-31,9.561753e-31,9.541833e-31,9.521912e-31,9.501992e-31,9.482072e-31,9.462151e-31,9.442231e-31,9.42231e-31,9.40239e-31,9.382471e-31,9.36255e-31,9.34263e-31,9.322709e-31,9.302789e-31,9.282869e-31,9.262948e-31,9.243028e-31,9.223107e-31,9.203187e-31,9.183267e-31,9.163346e-31,9.143427e-31,9.123506e-31,9.103586e-31,9.0836655e-31,9.063745e-31,9.043825e-31,9.023904e-31,9.003984e-31,8.9840635e-31,8.964143e-31,8.944223e-31,8.924302e-31,8.904383e-31,8.8844625e-31,8.864542e-31,8.844622e-31,8.824701e-31,8.804781e-31,8.7848605e-31,8.76494e-31,8.74502e-31,8.725099e-31,8.705179e-31,8.685259e-31,8.665339e-31,8.645419e-31,8.625498e-31,8.605578e-31,8.585657e-31,8.565737e-31,8.545817e-31,8.525896e-31,8.505976e-31,8.486055e-31,8.466135e-31,8.446216e-31,8.426295e-31,8.406375e-31,8.386454e-31,8.366534e-31,8.346614e-31,8.326693e-31,8.306773e-31,8.286852e-31,8.266932e-31,8.247012e-31,8.227091e-31,8.207172e-31,8.187251e-31,8.167331e-31,8.147411e-31,8.12749e-31,8.10757e-31,8.087649e-31,8.067729e-31,8.047809e-31,8.027888e-31,8.007968e-31,7.988047e-31,7.968128e-31,7.948208e-31,7.928287e-31,7.908367e-31,7.8884464e-31,7.868526e-31,7.8486056e-31,7.828685e-31,7.808765e-31,7.788845e-31,7.7689244e-31,7.749004e-31,7.7290837e-31,7.7091633e-31,7.689243e-31,7.669323e-31,7.6494025e-31,7.629482e-31,7.6095617e-31,7.5896413e-31,7.569721e-31,7.549801e-31,7.5298806e-31,7.50996e-31,7.49004e-31,7.4701194e-31,7.450199e-31,7.430279e-31,7.4103587e-31,7.3904383e-31,7.370518e-31,7.3505975e-31,7.330677e-31,7.310757e-31,7.290837e-31,7.2709164e-31,7.250996e-31,7.2310756e-31,7.211155e-31,7.1912353e-31,7.171315e-31,7.1513945e-31,7.131474e-31,7.1115537e-31,7.0916333e-31,7.0717134e-31,7.051793e-31,7.0318726e-31,7.011952e-31,6.992032e-31,6.9721114e-31,6.9521914e-31,6.932271e-31,6.9123506e-31,6.8924303e-31,6.87251e-31,6.8525895e-31,6.8326695e-31,6.812749e-31,6.7928287e-31,6.7729083e-31,6.752988e-31,6.7330675e-31,6.7131476e-31,6.693227e-31,6.673307e-31,6.6533864e-31,6.633466e-31,6.6135456e-31,6.5936257e-31,6.5737053e-31,6.553785e-31,6.5338645e-31,6.513944e-31,6.4940237e-31,6.474104e-31,6.4541834e-31,6.434263e-31,6.4143426e-31,6.394422e-31,6.374502e-31,6.354582e-31,6.3346615e-31,6.314741e-31,6.2948207e-31,6.2749003e-31,6.25498e-31,6.23506e-31,6.2151396e-31,6.195219e-31,6.1752988e-31,6.1553784e-31,6.1354584e-31,6.115538e-31,6.0956176e-31,6.0756972e-31,6.055777e-31,6.0358565e-31,6.0159365e-31,5.996016e-31,5.9760957e-31,5.9561753e-31,5.936255e-31,5.9163345e-31,5.8964146e-31,5.876494e-31,5.856574e-31,5.8366534e-31,5.816733e-31,5.7968126e-31,5.7768927e-31,5.7569723e-31,5.737052e-31,5.7171315e-31,5.697211e-31,5.6772907e-31,5.657371e-31,5.6374504e-31,5.61753e-31,5.5976096e-31,5.577689e-31,5.557769e-31,5.537849e-31,5.5179285e-31,5.498008e-31,5.4780877e-31,5.4581673e-31,5.438247e-31,5.418327e-31,5.3984066e-31,5.378486e-31,5.3585658e-31,5.3386454e-31,5.318725e-31,5.298805e-31,5.2788846e-31,5.2589642e-31,5.239044e-31,5.2191234e-31,5.199203e-31,5.179283e-31,5.1593627e-31,5.1394423e-31,5.119522e-31,5.0996015e-31,5.079681e-31,5.059761e-31,5.039841e-31,5.0199204e-31,5.0e-31,4.9800796e-31,4.960159e-31,4.9402393e-31,4.920319e-31,4.9003985e-31,4.880478e-31,4.8605577e-31,4.8406373e-31,4.8207174e-31,4.800797e-31,4.7808766e-31,4.760956e-31,4.741036e-31,4.7211154e-31,4.7011955e-31,4.681275e-31,4.6613547e-31,4.6414343e-31,4.621514e-31,4.6015935e-31,4.5816735e-31,4.561753e-31,4.5418328e-31,4.5219124e-31,4.501992e-31,4.4820716e-31,4.4621516e-31,4.4422312e-31,4.422311e-31,4.4023904e-31,4.38247e-31,4.3625496e-31,4.3426297e-31,4.3227093e-31,4.302789e-31,4.2828685e-31,4.262948e-31,4.2430277e-31,4.223108e-31,4.2031874e-31,4.183267e-31,4.1633466e-31,4.143426e-31,4.123506e-31,4.103586e-31,4.0836655e-31,4.063745e-31,4.0438247e-31,4.0239043e-31,4.003984e-31,3.984064e-31,3.9641436e-31,3.9442232e-31,3.9243028e-31,3.9043826e-31,3.8844622e-31,3.8645418e-31,3.8446217e-31,3.8247013e-31,3.8047809e-31,3.7848607e-31,3.7649403e-31,3.74502e-31,3.7250998e-31,3.7051794e-31,3.685259e-31,3.6653388e-31,3.6454184e-31,3.625498e-31,3.6055778e-31,3.5856574e-31,3.565737e-31,3.5458169e-31,3.5258965e-31,3.505976e-31,3.486056e-31,3.4661355e-31,3.4462151e-31,3.426295e-31,3.4063746e-31,3.3864542e-31,3.366534e-31,3.3466136e-31,3.3266932e-31,3.306773e-31,3.2868527e-31,3.2669323e-31,3.247012e-31,3.2270917e-31,3.2071713e-31,3.1872511e-31,3.1673307e-31,3.1474103e-31,3.1274902e-31,3.1075698e-31,3.0876494e-31,3.0677292e-31,3.0478088e-31,3.0278884e-31,3.0079683e-31,2.9880479e-31,2.9681275e-31,2.9482073e-31,2.928287e-31,2.9083665e-31,2.8884463e-31,2.868526e-31,2.8486056e-31,2.8286854e-31,2.808765e-31,2.7888446e-31,2.7689244e-31,2.749004e-31,2.7290836e-31,2.7091635e-31,2.689243e-31,2.6693227e-31,2.6494025e-31,2.6294821e-31,2.6095617e-31,2.5896416e-31,2.5697212e-31,2.5498008e-31,2.5298806e-31,2.5099602e-31,2.4900398e-31,2.4701196e-31,2.4501992e-31,2.4302789e-31,2.4103587e-31,2.3904383e-31,2.370518e-31,2.3505977e-31,2.3306773e-31,2.310757e-31,2.2908368e-31,2.2709164e-31,2.250996e-31,2.2310758e-31,2.2111554e-31,2.191235e-31,2.1713149e-31,2.1513945e-31,2.131474e-31,2.111554e-31,2.0916335e-31,2.0717133e-31,2.051793e-31,2.0318725e-31,2.0119524e-31,1.992032e-31,1.9721116e-31,1.9521913e-31,1.932271e-31,1.9123506e-31,1.8924304e-31,1.8725101e-31,1.8525897e-31,1.8326694e-31,1.8127491e-31,1.7928287e-31,1.7729084e-31,1.7529882e-31,1.7330678e-31,1.7131475e-31,1.6932272e-31,1.6733068e-31,1.6533865e-31,1.6334662e-31,1.6135458e-31,1.5936256e-31,1.5737053e-31,1.5537849e-31,1.5338646e-31,1.5139443e-31,1.4940239e-31,1.4741037e-31,1.4541834e-31,1.434263e-31,1.4143427e-31,1.3944224e-31,1.3745021e-31,1.3545817e-31,1.3346615e-31,1.3147412e-31,1.2948208e-31,1.2749005e-31,1.2549802e-31,1.2350598e-31,1.2151395e-31,1.1952193e-31,1.1752989e-31,1.1553786e-31,1.1354583e-31,1.1155379e-31,1.0956176e-31,1.0756973e-31,1.055777e-31,1.0358567e-31,1.0159364e-31,9.96016e-32,9.760957e-32,9.561754e-32,9.362551e-32,9.1633476e-32,8.964144e-32,8.7649414e-32,8.565738e-32,8.3665346e-32,8.167332e-32,7.9681284e-32,7.768925e-32,7.569722e-32,7.370519e-32,7.1713155e-32,6.9721127e-32,6.772909e-32,6.573706e-32,6.374503e-32,6.1752997e-32,5.9760963e-32,5.7768935e-32,5.57769e-32,5.378487e-32,5.179284e-32,4.9800806e-32,4.7808775e-32,4.5816744e-32,4.382471e-32,4.183268e-32,3.9840648e-32,3.7848614e-32,3.5856583e-32,3.3864552e-32,3.1872518e-32,2.9880487e-32,2.7888457e-32,2.5896423e-32,2.3904392e-32,2.1912361e-32,1.9920328e-32,1.7928296e-32,1.5936265e-32,1.3944233e-32,1.1952201e-32,9.960169e-33,7.968138e-33,5.9761056e-33,3.9840736e-33,1.9920418e-33,1.0e-38]} diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/test.js b/lib/node_modules/@stdlib/math/base/special/acschf/test/test.js new file mode 100644 index 000000000000..57503e3f1127 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/test.js @@ -0,0 +1,325 @@ +/** +* @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 isNegativeZerof = require( '@stdlib/math/base/assert/is-negative-zerof' ); +var isPositiveZerof = require( '@stdlib/math/base/assert/is-positive-zerof' ); +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); +var isAlmostSameValue = require( '@stdlib/number/float32/base/assert/is-almost-same-value' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var acschf = require( './../lib' ); + + +// FIXTURES // + +var largerNegative = require( './fixtures/julia/larger_negative.json' ); +var largerPositive = require( './fixtures/julia/larger_positive.json' ); +var largeNegative = require( './fixtures/julia/large_negative.json' ); +var largePositive = require( './fixtures/julia/large_positive.json' ); +var mediumNegative = require( './fixtures/julia/medium_negative.json' ); +var mediumPositive = require( './fixtures/julia/medium_positive.json' ); +var smallNegative = require( './fixtures/julia/small_negative.json' ); +var smallPositive = require( './fixtures/julia/small_positive.json' ); +var smaller = require( './fixtures/julia/smaller.json' ); +var hugeNegative = require( './fixtures/julia/huge_negative.json' ); +var hugePositive = require( './fixtures/julia/huge_positive.json' ); +var tinyNegative = require( './fixtures/julia/tiny_negative.json' ); +var tinyPositive = require( './fixtures/julia/tiny_positive.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof acschf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-1e-30,-1e-38]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = tinyNegative.x; + expected = tinyNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[1e-30,1e-38]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = tinyPositive.x; + expected = tinyPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-0.8,0.8]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = smaller.x; + expected = smaller.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + if ( expected[ i ] === null ) { + t.strictEqual( y, PINF, 'x: '+x[i]+'. E: +infinity' ); + } else { + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-1.0,-0.8]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = smallNegative.x; + expected = smallNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[0.8,1.0]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = smallPositive.x; + expected = smallPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-3.0,-1.0]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = mediumNegative.x; + expected = mediumNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[1.0,3.0]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = mediumPositive.x; + expected = mediumPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[3.0,28.0]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largePositive.x; + expected = largePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-28.0,-3.0]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largeNegative.x; + expected = largeNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[28.0,100.0]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largerPositive.x; + expected = largerPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-100.0,-28.0]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largerNegative.x; + expected = largerNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-1e30,-1e38]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = hugeNegative.x; + expected = hugeNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[1e30,1e38]`', function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = hugePositive.x; + expected = hugePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided `NaN`', function test( t ) { + var v = acschf( NaN ); + t.strictEqual( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `+infinity` if provided `+0`', function test( t ) { + var v = acschf( +0.0 ); + t.strictEqual( v, PINF, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `-infinity` if provided `-0`', function test( t ) { + var v = acschf( -0.0 ); + t.strictEqual( v, NINF, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `-0` if provided `-infinity`', function test( t ) { + var v = acschf( NINF ); + t.strictEqual( isNegativeZerof( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `+0` if provided `+infinity`', function test( t ) { + var v = acschf( PINF ); + t.strictEqual( isPositiveZerof( v ), true, 'returns expected value' ); + t.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/acschf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/acschf/test/test.native.js new file mode 100644 index 000000000000..9d054389452e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/acschf/test/test.native.js @@ -0,0 +1,334 @@ +/** +* @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 isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var isNegativeZerof = require( '@stdlib/math/base/assert/is-negative-zerof' ); +var isPositiveZerof = require( '@stdlib/math/base/assert/is-positive-zerof' ); +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); +var isAlmostSameValue = require( '@stdlib/number/float32/base/assert/is-almost-same-value' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var tryRequire = require( '@stdlib/utils/try-require' ); + + +// FIXTURES // + +var largerNegative = require( './fixtures/julia/larger_negative.json' ); +var largerPositive = require( './fixtures/julia/larger_positive.json' ); +var largeNegative = require( './fixtures/julia/large_negative.json' ); +var largePositive = require( './fixtures/julia/large_positive.json' ); +var mediumNegative = require( './fixtures/julia/medium_negative.json' ); +var mediumPositive = require( './fixtures/julia/medium_positive.json' ); +var smallNegative = require( './fixtures/julia/small_negative.json' ); +var smallPositive = require( './fixtures/julia/small_positive.json' ); +var smaller = require( './fixtures/julia/smaller.json' ); +var tinyNegative = require( './fixtures/julia/tiny_negative.json' ); +var tinyPositive = require( './fixtures/julia/tiny_positive.json' ); +var hugeNegative = require( './fixtures/julia/huge_negative.json' ); +var hugePositive = require( './fixtures/julia/huge_positive.json' ); + + +// VARIABLES // + +var acschf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( acschf instanceof Error ) +}; + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof acschf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-1e-30,-1e-38]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = tinyNegative.x; + expected = tinyNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[1e-30,1e-38]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = tinyPositive.x; + expected = tinyPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-0.8,0.8]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = smaller.x; + expected = smaller.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + if ( expected[ i ] === null ) { + t.strictEqual( y, PINF, 'x: '+x[i]+'. E: +infinity' ); + } else { + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-1.0,-0.8]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = smallNegative.x; + expected = smallNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[0.8,1.0]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = smallPositive.x; + expected = smallPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-3.0,-1.0]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = mediumNegative.x; + expected = mediumNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[1.0,3.0]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = mediumPositive.x; + expected = mediumPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[3.0,28.0]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largePositive.x; + expected = largePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-28.0,-3.0]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largeNegative.x; + expected = largeNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[28.0,100.0]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largerPositive.x; + expected = largerPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-100.0,-28.0]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = largerNegative.x; + expected = largerNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[-1e30,-1e38]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = hugeNegative.x; + expected = hugeNegative.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosecant on the interval `[1e30,1e38]`', opts, function test( t ) { + var expected; + var x; + var y; + var i; + var e; + + x = hugePositive.x; + expected = hugePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + y = acschf( float64ToFloat32( x[i] ) ); + e = float64ToFloat32( expected[ i ] ); + t.strictEqual( isAlmostSameValue( y, e, 3 ), true, 'x: '+x[i]+'. y: '+y+'. E: '+e+'.' ); + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided `NaN`', opts, function test( t ) { + var v = acschf( NaN ); + t.strictEqual( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `+infinity` if provided `+0`', opts, function test( t ) { + var v = acschf( +0.0 ); + t.strictEqual( v, PINF, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `-infinity` if provided `-0`', opts, function test( t ) { + var v = acschf( -0.0 ); + t.strictEqual( v, NINF, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `-0` if provided `-infinity`', opts, function test( t ) { + var v = acschf( NINF ); + t.strictEqual( isNegativeZerof( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `+0` if provided `+infinity`', opts, function test( t ) { + var v = acschf( PINF ); + t.strictEqual( isPositiveZerof( v ), true, 'returns expected value' ); + t.end(); +});