diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/README.md b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/README.md new file mode 100644 index 000000000000..264f4e21810e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/README.md @@ -0,0 +1,209 @@ + + +# acoshf + +> Compute the [hyperbolic arccosine][inverse-hyperbolic] of a single-precision floating-point number. + +
+ +## Usage + +```javascript +var acoshf = require( '@stdlib/math/base/special/fast/acoshf' ); +``` + +#### acoshf( x ) + +Computes the [hyperbolic arccosine][inverse-hyperbolic] of a single-precision floating-point `number` (in radians). + +```javascript +var v = acoshf( 1.0 ); +// returns 0.0 + +v = acoshf( 2.0 ); +// returns ~1.317 + +v = acoshf( 0.5 ); +// returns NaN +``` + +The domain of `x` is restricted to `[1,+infinity)`. If `x < 1`, the function will return `NaN`. + +```javascript +var v = acoshf( 0.0 ); +// returns NaN +``` + +
+ + + +
+ +## Notes + +- For large `x`, the function will overflow. + + ```javascript + var v = acoshf( 1.0e308 ); + // returns Infinity + // (expected 709.889355822726) + ``` + +
+ + + +
+ +## Examples + + + +```javascript +var uniform = require( '@stdlib/random/array/uniform' ); +var logEachMap = require( '@stdlib/console/log-each-map' ); +var acoshf = require( '@stdlib/math/base/special/fast/acoshf' ); + +var opts = { + 'dtype': 'float32' +}; +var x = uniform( 103, 1.0, 5.0, opts ); + +logEachMap( 'acoshf(%0.4f) = %0.4f', x, acoshf ); +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/fast/acoshf.h" +``` + +#### stdlib_base_fast_acoshf( x ) + +Computes the [hyperbolic arccosine][inverse-hyperbolic] of a single-precision floating-point number. + +```c +float out = stdlib_base_fast_acoshf( 1.0f ); +// returns 0.0 + +out = stdlib_base_fast_acoshf( 2.0f ); +// returns ~1.317 +``` + +The function accepts the following arguments: + +- **x**: `[in] float` input value. + +```c +float stdlib_base_fast_acoshf( const float x ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/fast/acoshf.h" +#include +#include + +int main( void ) { + float x; + float v; + int i; + + for ( i = 0; i < 100; i++ ) { + x = ( (float)rand() / (float)RAND_MAX ) * 100.0f; + v = stdlib_base_fast_acoshf( x ); + printf( "acoshf(%f) = %f\n", x, v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/benchmark.js b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/benchmark.js new file mode 100644 index 000000000000..7c7677f1eb15 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/benchmark.js @@ -0,0 +1,55 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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 acoshf = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, 1.0, 100.0, { + 'dtype': 'float32' + }); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = acoshf( x[ i%x.length ] ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } else { + b.pass( 'benchmark finished' ); + } + b.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/benchmark.native.js b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/benchmark.native.js new file mode 100644 index 000000000000..14034fb85a6b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/benchmark.native.js @@ -0,0 +1,64 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var resolve = require( 'path' ).resolve; +var bench = require( '@stdlib/bench' ); +var uniform = require( '@stdlib/random/array/uniform' ); +var isnanf = require( '@stdlib/math/base/assert/is-nanf' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var acoshf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( acoshf instanceof Error ) +}; + + +// MAIN // + +bench( pkg+'::native', opts, function benchmark( b ) { + var x; + var y; + var i; + + x = uniform( 100, 1.0, 100.0, { + 'dtype': 'float32' + }); + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + y = acoshf( x[ i%x.length ] ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } else { + b.pass( 'benchmark finished' ); + } + b.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/c/native/Makefile b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/c/native/Makefile new file mode 100644 index 000000000000..a4bd7b38fd74 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/c/native/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2025 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/fast/acoshf/benchmark/c/native/benchmark.c b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/c/native/benchmark.c new file mode 100644 index 000000000000..ef783ae13810 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/benchmark/c/native/benchmark.c @@ -0,0 +1,138 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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/fast/acoshf.h" +#include +#include +#include +#include +#include + +#define NAME "acoshf" +#define ITERATIONS 1000000 +#define REPEATS 3 + +/** +* Prints the TAP version. +*/ +static void print_version( void ) { + printf( "TAP version 13\n" ); +} + +/** +* Prints the TAP summary. +* +* @param total total number of tests +* @param passing total number of passing tests +*/ +static void print_summary( int total, int passing ) { + printf( "#\n" ); + printf( "1..%d\n", total ); // TAP plan + printf( "# total %d\n", total ); + printf( "# pass %d\n", passing ); + printf( "#\n" ); + printf( "# ok\n" ); +} + +/** +* Prints benchmarks results. +* +* @param elapsed elapsed time in seconds +*/ +static void print_results( double elapsed ) { + double rate = (double)ITERATIONS / elapsed; + printf( " ---\n" ); + printf( " iterations: %d\n", ITERATIONS ); + printf( " elapsed: %0.9f\n", elapsed ); + printf( " rate: %0.9f\n", rate ); + printf( " ...\n" ); +} + +/** +* Returns a clock time. +* +* @return clock time +*/ +static double tic( void ) { + struct timeval now; + gettimeofday( &now, NULL ); + return (double)now.tv_sec + (double)now.tv_usec/1.0e6; +} + +/** +* Generates a random number on the interval [min,max). +* +* @param min minimum value (inclusive) +* @param max maximum value (exclusive) +* @return random number +*/ +static float random_uniform( const float min, const float max ) { + float v = (float)rand() / ( (float)RAND_MAX + 1.0f ); + return min + ( v*(max-min) ); +} + +/** +* Runs a benchmark. +* +* @return elapsed time in seconds +*/ +static double benchmark( void ) { + float x[ 100 ]; + double elapsed; + double t; + float y; + int i; + + for ( i = 0; i < 100; i++ ) { + x[ i ] = random_uniform( 0.0f, 100.0f ); + } + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + y = stdlib_base_fast_acoshf( x[ i%100 ] ); + if ( y != y ) { + printf( "should not return NaN\n" ); + break; + } + } + elapsed = tic() - t; + if ( y != y ) { + printf( "should not return NaN\n" ); + } + return elapsed; +} + +/** +* Main execution sequence. +*/ +int main( void ) { + double elapsed; + int i; + + // Use the current time to seed the random number generator: + srand( time( NULL ) ); + + print_version(); + for ( i = 0; i < REPEATS; i++ ) { + printf( "# c::native::%s\n", NAME ); + elapsed = benchmark(); + print_results( elapsed ); + printf( "ok %d benchmark finished\n", i+1 ); + } + print_summary( REPEATS, REPEATS ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/binding.gyp b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/binding.gyp new file mode 100644 index 000000000000..68a1ca11d160 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/binding.gyp @@ -0,0 +1,170 @@ +# @license Apache-2.0 +# +# Copyright (c) 2025 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/fast/acoshf/docs/repl.txt b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/repl.txt new file mode 100644 index 000000000000..f01ed31bc41e --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/repl.txt @@ -0,0 +1,34 @@ + +{{alias}}( x ) + Computes the hyperbolic arccosine of a single-precision + floating-point number. + + The domain of `x` is restricted to `[1,+infinity)`. If `x < 1`, the function + will return `NaN`. + + Parameters + ---------- + x: number + Input value. + + Returns + ------- + out: number + Hyperbolic arccosine (in radians). + + Examples + -------- + > var v = {{alias}}( 1.0 ) + 0.0 + > v = {{alias}}( 2.0 ) + ~1.317 + > v = {{alias}}( NaN ) + NaN + + // The function overflows for large `x`: + > v = {{alias}}( 1.0e308 ) + Infinity + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/types/index.d.ts b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/types/index.d.ts new file mode 100644 index 000000000000..1bb76a532667 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/types/index.d.ts @@ -0,0 +1,48 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 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 arccosine of a single-precision floating-point number. +* +* ## Notes +* +* - The domain of `x` is restricted to `[1,+infinity)`. If `x < 1`, the function will return `NaN`. +* +* @param x - input value +* @returns hyperbolic arccosine (in radians) +* +* @example +* var v = acoshf( 1.0 ); +* // returns 0.0 +* +* @example +* var v = acoshf( 2.0 ); +* // returns ~1.317 +* +* @example +* var v = acoshf( NaN ); +* // returns NaN +*/ +declare function acoshf( x: number ): number; + + +// EXPORTS // + +export = acoshf; diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/types/test.ts b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/types/test.ts new file mode 100644 index 000000000000..71e1c581e446 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/docs/types/test.ts @@ -0,0 +1,44 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 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 acoshf = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + acoshf( 8 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + acoshf( true ); // $ExpectError + acoshf( false ); // $ExpectError + acoshf( null ); // $ExpectError + acoshf( undefined ); // $ExpectError + acoshf( '5' ); // $ExpectError + acoshf( [] ); // $ExpectError + acoshf( {} ); // $ExpectError + acoshf( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + acoshf(); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/c/Makefile b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/c/Makefile new file mode 100644 index 000000000000..25ced822f96a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/c/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2025 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/fast/acoshf/examples/c/example.c b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/c/example.c new file mode 100644 index 000000000000..fbd3c623a58a --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/c/example.c @@ -0,0 +1,33 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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/fast/acoshf.h" +#include +#include + +int main( void ) { + float x; + float v; + int i; + + for ( i = 0; i < 100; i++ ) { + x = ( (float)rand() / (float)RAND_MAX ) * 100.0f; + v = stdlib_base_fast_acoshf( x ); + printf( "acoshf(%f) = %f\n", x, v ); + } +} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/index.js b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/index.js new file mode 100644 index 000000000000..e70233d2035d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/examples/index.js @@ -0,0 +1,30 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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 acoshf = require( './../lib' ); + +var opts = { + 'dtype': 'float32' +}; +var x = uniform( 103, 1.0, 5.0, opts ); + +logEachMap( 'acoshf(%0.4f) = %0.4f', x, acoshf ); diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/include.gypi b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/include.gypi new file mode 100644 index 000000000000..ecfaf82a3279 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/include.gypi @@ -0,0 +1,53 @@ +# @license Apache-2.0 +# +# Copyright (c) 2025 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", + "stdfastmath", + "mathematics", + "math", + "fastmath", + "fast", + "math.acosh", + "acosh", + "hyperbolic", + "inverse", + "cosine", + "cos", + "arc", + "arccosine", + "trig", + "trigonometry", + "radians", + "angle", + "polyfill", + "ponyfill" + ] +} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/Makefile b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/Makefile new file mode 100644 index 000000000000..7733b6180cb4 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/Makefile @@ -0,0 +1,70 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2025 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/fast/acoshf/src/addon.c b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/addon.c new file mode 100644 index 000000000000..3c99d4fd588d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/addon.c @@ -0,0 +1,22 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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/fast/acoshf.h" +#include "stdlib/math/base/napi/unary.h" + +STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_fast_acoshf ) diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/main.c b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/main.c new file mode 100644 index 000000000000..d92af9f90061 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/src/main.c @@ -0,0 +1,44 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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/fast/acoshf.h" +#include "stdlib/math/base/assert/is_nanf.h" +#include "stdlib/math/base/assert/is_infinitef.h" +#include "stdlib/math/base/special/lnf.h" +#include "stdlib/math/base/special/sqrtf.h" +#include + +/** +* Computes the hyperbolic arccosine of a single-precision floating-point number. +* +* @param x input value +* @return hyperbolic arccosine (in radians) +* +* @example +* float v = stdlib_base_fast_acoshf( 1.0f ); +* // returns 0.0 +*/ +float stdlib_base_fast_acoshf( const float x ) { + if ( x < 1.0f ) { + return 0.0f / 0.0f ; // NaN + } + if ( stdlib_base_is_nanf( x ) || stdlib_base_is_infinitef( x ) ) { + return x; + } + return stdlib_base_lnf( x + (float)( stdlib_base_sqrtf( x + 1.0f ) * stdlib_base_sqrtf( x - 1.0f ) ) ); +} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000000..308c3be89c85 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/REQUIRE @@ -0,0 +1,2 @@ +julia 1.5 +JSON 0.21 diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/huge_positive.json b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/huge_positive.json new file mode 100644 index 000000000000..e2ac84f4ab16 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/huge_positive.json @@ -0,0 +1 @@ +{"expected":[69.7707,69.86492,69.95102,70.0303,70.103745,70.172165,70.2362,70.29639,70.35315,70.40686,70.45784,70.50634,70.552605,70.59682,70.63916,70.67978,70.71881,70.75638,70.79259,70.82753,70.8613,70.89395,70.92558,70.95624,70.985985,71.01487,71.042946,71.07025,71.09683,71.12273,71.14797,71.17259,71.19662,71.22008,71.243004,71.26542,71.28734,71.30879,71.32979,71.35036,71.37051,71.39027,71.40964,71.42864,71.44729,71.4656,71.48358,71.50124,71.51859,71.53565,71.55243,71.568924,71.58515,71.60112,71.61684,71.63232,71.64755,71.66257,71.67735,71.691925,71.70629,71.72045,71.73441,71.748184,71.761765,71.77517,71.78839,71.801445,71.81432,71.82705,71.83961,71.85201,71.86426,71.876366,71.88832,71.90014,71.91182,71.92336,71.93478,71.94606,71.95722,71.968254,71.97917,71.98997,72.00065,72.011215,72.021675,72.03203,72.04227,72.05241,72.06245,72.07239,72.08222,72.09197,72.10162,72.111176,72.12064,72.13003,72.13932,72.14852,72.157646,72.16669,72.175644,72.184525,72.19333,72.20205,72.2107,72.21928,72.227776,72.236206,72.24457,72.25285,72.26108,72.26923,72.27732,72.28535,72.29331,72.30121,72.309044,72.31682,72.32453,72.332184,72.33978,72.34733,72.35481,72.362236,72.36961,72.37693,72.38419,72.39141,72.398575,72.405685,72.41274,72.419754,72.42672,72.43363,72.4405,72.44732,72.454094,72.46082,72.46751,72.474144,72.48074,72.4873,72.493805,72.500275,72.5067,72.513084,72.519424,72.525734,72.532,72.53822,72.54441,72.55056,72.55667,72.562744,72.56879,72.57478,72.58075,72.58668,72.592575,72.598434,72.60426,72.610054,72.615814,72.621544,72.627235,72.6329,72.63853,72.64413,72.6497,72.655235,72.660736,72.666214,72.67166,72.67708,72.682465,72.68782,72.69315,72.698456,72.70373,72.70898,72.714195,72.71938,72.72455,72.72968,72.734795,72.73988,72.74494,72.74998,72.75499,72.75997,72.76493,72.76987,72.77478,72.77966,72.78453,72.78937,72.79419,72.79898,72.80375,72.808495,72.813225,72.817924,72.82261,72.82727,72.8319,72.83652,72.84112,72.84569,72.85024,72.854774,72.85929,72.86378,72.868256,72.8727,72.87714,72.881546,72.88594,72.89032,72.89467,72.89901,72.90333,72.90762,72.9119,72.91617,72.92041,72.92464,72.92885,72.93304,72.93721,72.94137,72.9455,72.94962,72.95373,72.95782,72.96189,72.96594,72.969986,72.97401,72.97801,72.982,72.98598,72.98994,72.99387,72.9978,73.00172,73.005615,73.00949,73.01336,73.01721,73.02105,73.02487,73.02868,73.03247,73.036255,73.040016,73.04377,73.0475,73.05122,73.05494,73.05863,73.06231,73.06598,73.06963,73.07328,73.076904,73.08052,73.08412,73.08771,73.091286,73.09485,73.098404,73.101944,73.10547,73.10898,73.11248,73.11597,73.119446,73.12291,73.126366,73.12981,73.13323,73.13665,73.14006,73.14345,73.146835,73.15021,73.153564,73.15691,73.16025,73.163574,73.16689,73.1702,73.17349,73.17677,73.180046,73.183304,73.18656,73.1898,73.19303,73.19625,73.199455,73.20265,73.20584,73.20902,73.21219,73.21535,73.2185,73.221634,73.22476,73.22788,73.230995,73.23409,73.23718,73.240265,73.24333,73.2464,73.24945,73.252495,73.25552,73.25855,73.261566,73.26457,73.26757,73.27056,73.27354,73.276505,73.27947,73.282425,73.28537,73.2883,73.29123,73.29415,73.29706,73.29996,73.30286,73.30574,73.30862,73.311485,73.31435,73.3172,73.32004,73.322876,73.32571,73.32852,73.33134,73.33414,73.33694,73.33972,73.34251,73.345276,73.348045,73.3508,73.35355,73.35629,73.35903,73.361755,73.36448,73.36719,73.369896,73.3726,73.37528,73.37797,73.380646,73.383316,73.38598,73.38863,73.39128,73.39392,73.39655,73.399185,73.4018,73.40442,73.40702,73.40962,73.41222,73.4148,73.41738,73.41995,73.42252,73.42508,73.427635,73.43018,73.432724,73.43526,73.43778,73.44031,73.442825,73.44533,73.44783,73.450325,73.45282,73.4553,73.45778,73.46025,73.462715,73.46518,73.46763,73.47008,73.47252,73.47495,73.47738,73.479805,73.48222,73.484634,73.487045,73.48944,73.49184,73.494225,73.496605,73.498985,73.50136,73.50372,73.50608,73.50844,73.51079,73.51313,73.51547,73.51781,73.520134,73.52245,73.52477,73.527084,73.52939,73.53169,73.53399,73.53628,73.53856,73.54084,73.54311,73.54539,73.547646,73.54991,73.55216,73.55441,73.556656,73.55889,73.56113,73.563354,73.56558,73.5678,73.570015,73.57223,73.57443,73.57663,73.57883,73.58102,73.5832,73.58538,73.587555,73.58973,73.591896,73.594055,73.596214,73.598366,73.60051,73.60265,73.60479,73.606926,73.609055,73.61118,73.613304,73.61542,73.61753,73.61964,73.621735,73.62383,73.62593,73.62802,73.630104,73.63219,73.63426,73.63633,73.6384,73.640465,73.642525,73.64458,73.64663,73.648674,73.65072,73.652756,73.65479,73.65682,73.658844,73.660866,73.66289,73.6649,73.66691,73.668915,73.67091,73.67291,73.674904,73.676895,73.67888,73.68086,73.68284,73.684814,73.68678,73.68875,73.69071,73.69267,73.694626,73.69658,73.698524,73.70047,73.70241,73.704346,73.706276,73.708206,73.71013,73.71205,73.71397,73.71588,73.71779,73.719696,73.721596,73.723495,73.72539,73.72728,73.72917,73.73106,73.73293,73.73482,73.73669,73.738556,73.740425,73.74229,73.74415,73.746,73.747856,73.74971,73.75156,73.753395,73.75523,73.75707,73.7589,73.760735,73.76256,73.76438,73.766205,73.76802,73.76984,73.771645,73.773445,73.77525,73.777054,73.77885,73.78064,73.78243,73.78422,73.786,73.78778,73.78956,73.791336,73.793106,73.794876,73.79664,73.7984,73.800156,73.80191,73.803665,73.80541,73.80716,73.80891,73.810646,73.812386,73.81412,73.81585,73.81757,73.819305,73.82102,73.82275,73.82446,73.82617,73.82788,73.82959,73.8313,73.833,73.834694,73.836395,73.83809,73.839775,73.84146,73.84315,73.84483,73.84651,73.84818,73.84986,73.85153,73.853195,73.85486,73.85652,73.858185,73.85984,73.861496,73.863144,73.86479,73.86644,73.86808,73.86972,73.87136,73.87299,73.874626,73.87626,73.877884,73.87951,73.881134,73.88275,73.88437,73.88598,73.88759,73.8892,73.89081,73.89241,73.89401,73.89561,73.8972,73.898796,73.90039,73.90198,73.903564,73.90514,73.90673,73.9083,73.90988,73.91145,73.913025,73.9146,73.91616,73.917725,73.91928,73.920845,73.9224,73.92395,73.92551,73.927055,73.9286,73.930145,73.93169,73.93323,73.93476,73.936295,73.93783,73.93936,73.94089,73.94241,73.94393,73.94546,73.946976,73.94849,73.950005,73.951515,73.953026,73.95453,73.95603,73.957535,73.95904,73.96053,73.96203,73.963524,73.96501,73.96651,73.96799,73.969475,73.970955,73.972435,73.973915,73.97539,73.97687,73.97833,73.979805,73.98127,73.982735,73.9842,73.985664,73.98712,73.98858,73.99003,73.991486,73.992935,73.99438,73.99583,73.99727,73.99871,74.00015,74.00159,74.00302,74.004456,74.00589,74.00732,74.00874,74.01017,74.0116,74.013016,74.014435,74.015854,74.017265,74.01868,74.02009,74.0215,74.02291,74.024315,74.02572,74.027115,74.02852,74.029915,74.03131,74.03271,74.034096,74.035484,74.03687,74.03826,74.03964,74.04102,74.042404,74.043785,74.04516,74.04653,74.047905,74.04928,74.050644,74.05201,74.053375,74.05474,74.0561,74.05746,74.058815,74.06017,74.06152,74.06288,74.06423,74.065575,74.066925,74.06827,74.06961,74.07095,74.072296,74.07363,74.07497,74.0763,74.07763,74.078964,74.08029,74.08162,74.08295,74.08427,74.08559,74.08691,74.08823,74.08955,74.09086,74.09217,74.09348,74.094795,74.0961,74.097404,74.09871,74.10001,74.10131,74.102615,74.10391,74.10521,74.1065,74.107796,74.109085,74.110374,74.111664,74.112946,74.114235,74.11552,74.1168,74.11807,74.119354,74.12063,74.1219,74.12318,74.12445,74.12572,74.12698,74.12825,74.12952,74.13078,74.13204,74.1333,74.13456,74.13582,74.13707,74.13833,74.13958,74.14083,74.142075,74.143326,74.14457,74.14581,74.14706,74.1483,74.149536,74.15078,74.152016,74.15325,74.15448,74.155716,74.156944,74.15817,74.1594,74.16063,74.16185,74.16308,74.1643,74.16552,74.16673,74.16795,74.16917,74.17038,74.17159,74.172806,74.17402,74.175224,74.17643,74.177635,74.17884,74.180046,74.181244,74.18244,74.18364,74.18484,74.186035,74.187225,74.18842,74.18961,74.1908,74.191986,74.19318,74.19436,74.19555,74.19673,74.19791,74.19909,74.200264,74.20145,74.20262,74.2038,74.20496,74.20614,74.207306,74.20848,74.20965,74.21081,74.211975,74.213135,74.2143,74.21546,74.21662,74.21778,74.21893,74.22009,74.221245,74.2224,74.22355,74.2247,74.225845,74.227,74.22814,74.22929,74.23043,74.23157,74.23271,74.23385,74.234985,74.23612,74.23726,74.238396,74.239525,74.24066,74.24179,74.24292,74.24405,74.24517,74.2463,74.24742,74.24854,74.249664,74.250786,74.25191,74.25302,74.25414,74.25526,74.25637,74.257484,74.2586,74.259705,74.26081,74.261925,74.26303,74.26414,74.265236,74.26634,74.26744,74.26855,74.269646,74.270744,74.271835,74.272934,74.274025,74.27512,74.276215,74.277306,74.2784,74.27948,74.28057,74.281654,74.282745,74.28383,74.28491,74.28599,74.28707,74.28815,74.28923,74.290306,74.29138,74.29246,74.293526,74.2946,74.29567,74.29674,74.29781,74.29888,74.29994,74.30101,74.30207,74.30314,74.3042,74.30526,74.30632,74.30738,74.30843,74.309494,74.31055,74.3116,74.31265,74.313705,74.31476,74.3158,74.31686,74.3179,74.31895,74.31999,74.32104,74.32208,74.32313,74.324165,74.3252,74.32625,74.327286,74.328316,74.32935,74.33039,74.33142,74.33246,74.33349,74.33452,74.33555,74.33657,74.3376,74.33863,74.33965,74.340675,74.3417,74.34272,74.34374,74.344765,74.34578,74.346794,74.34782,74.34883,74.349846,74.35086,74.35187,74.35288,74.35389,74.354904,74.35591,74.35692,74.357925,74.35893,74.35993,74.36094,74.36194,74.36294,74.363945,74.364944,74.36594,74.366936,74.367935,74.36893,74.36993,74.37092,74.37191,74.3729,74.37389,74.37488,74.37587],"x":[1.0e30,1.0988023952095809e30,1.1976047904191617e30,1.2964071856287426e30,1.3952095808383235e30,1.4940119760479043e30,1.5928143712574852e30,1.691616766467066e30,1.790419161676647e30,1.8892215568862277e30,1.9880239520958083e30,2.0868263473053892e30,2.18562874251497e30,2.284431137724551e30,2.3832335329341318e30,2.4820359281437126e30,2.5808383233532935e30,2.6796407185628746e30,2.778443113772455e30,2.8772455089820363e30,2.976047904191617e30,3.0748502994011975e30,3.1736526946107786e30,3.272455089820359e30,3.3712574850299403e30,3.470059880239521e30,3.568862275449102e30,3.6676646706586826e30,3.766467065868264e30,3.8652694610778443e30,3.9640718562874255e30,4.062874251497006e30,4.161676646706587e30,4.260479041916168e30,4.359281437125749e30,4.4580838323353295e30,4.5568862275449106e30,4.655688622754491e30,4.7544910179640723e30,4.853293413173653e30,4.9520958083832335e30,5.0508982035928146e30,5.149700598802395e30,5.248502994011976e30,5.347305389221557e30,5.446107784431138e30,5.544910179640719e30,5.6437125748503e30,5.742514970059881e30,5.841317365269461e30,5.940119760479042e30,6.038922155688623e30,6.137724550898204e30,6.236526946107784e30,6.335329341317366e30,6.434131736526947e30,6.532934131736528e30,6.631736526946108e30,6.730538922155689e30,6.82934131736527e30,6.92814371257485e30,7.026946107784431e30,7.125748502994012e30,7.224550898203594e30,7.323353293413174e30,7.422155688622755e30,7.520958083832336e30,7.619760479041917e30,7.718562874251497e30,7.817365269461078e30,7.916167664670659e30,8.01497005988024e30,8.11377245508982e30,8.212574850299402e30,8.311377245508983e30,8.410179640718564e30,8.508982035928144e30,8.607784431137725e30,8.706586826347306e30,8.805389221556886e30,8.904191616766467e30,9.002994011976048e30,9.10179640718563e30,9.20059880239521e30,9.299401197604791e30,9.398203592814372e30,9.497005988023953e30,9.595808383233533e30,9.694610778443114e30,9.793413173652695e30,9.892215568862276e30,9.991017964071856e30,1.0089820359281438e31,1.0188622754491019e31,1.0287425149700599e31,1.038622754491018e31,1.048502994011976e31,1.058383233532934e31,1.0682634730538923e31,1.0781437125748503e31,1.0880239520958083e31,1.0979041916167666e31,1.1077844311377246e31,1.1176646706586828e31,1.1275449101796408e31,1.1374251497005988e31,1.147305389221557e31,1.157185628742515e31,1.167065868263473e31,1.1769461077844312e31,1.1868263473053892e31,1.1967065868263475e31,1.2065868263473055e31,1.2164670658682635e31,1.2263473053892217e31,1.2362275449101797e31,1.2461077844311377e31,1.255988023952096e31,1.265868263473054e31,1.275748502994012e31,1.2856287425149702e31,1.2955089820359282e31,1.3053892215568864e31,1.3152694610778444e31,1.3251497005988024e31,1.3350299401197606e31,1.3449101796407186e31,1.3547904191616766e31,1.3646706586826348e31,1.3745508982035928e31,1.384431137724551e31,1.394311377245509e31,1.404191616766467e31,1.4140718562874253e31,1.4239520958083833e31,1.4338323353293413e31,1.4437125748502995e31,1.4535928143712575e31,1.4634730538922155e31,1.4733532934131738e31,1.4832335329341318e31,1.49311377245509e31,1.502994011976048e31,1.512874251497006e31,1.5227544910179642e31,1.5326347305389222e31,1.5425149700598802e31,1.5523952095808384e31,1.5622754491017964e31,1.5721556886227547e31,1.5820359281437127e31,1.5919161676646707e31,1.601796407185629e31,1.611676646706587e31,1.621556886227545e31,1.6314371257485031e31,1.6413173652694611e31,1.6511976047904194e31,1.6610778443113774e31,1.6709580838323354e31,1.6808383233532936e31,1.6907185628742516e31,1.7005988023952096e31,1.7104790419161678e31,1.7203592814371258e31,1.7302395209580838e31,1.740119760479042e31,1.75e31,1.7598802395209583e31,1.7697604790419163e31,1.7796407185628743e31,1.7895209580838325e31,1.7994011976047905e31,1.8092814371257485e31,1.8191616766467067e31,1.8290419161676647e31,1.838922155688623e31,1.848802395209581e31,1.858682634730539e31,1.8685628742514972e31,1.8784431137724552e31,1.8883233532934132e31,1.8982035928143714e31,1.9080838323353294e31,1.9179640718562874e31,1.9278443113772456e31,1.9377245508982037e31,1.9476047904191619e31,1.9574850299401199e31,1.9673652694610779e31,1.977245508982036e31,1.987125748502994e31,1.997005988023952e31,2.0068862275449103e31,2.0167664670658683e31,2.0266467065868266e31,2.0365269461077843e31,2.046407185628743e31,2.056287425149701e31,2.066167664670659e31,2.076047904191617e31,2.085928143712575e31,2.0958083832335332e31,2.1056886227544913e31,2.1155688622754493e31,2.1254491017964073e31,2.1353293413173653e31,2.1452095808383233e31,2.1550898203592817e31,2.1649700598802397e31,2.1748502994011977e31,2.1847305389221557e31,2.1946107784431137e31,2.204491017964072e31,2.21437125748503e31,2.224251497005988e31,2.234131736526946e31,2.244011976047904e31,2.253892215568862e31,2.2637724550898206e31,2.2736526946107786e31,2.2835329341317366e31,2.2934131736526946e31,2.3032934131736526e31,2.313173652694611e31,2.323053892215569e31,2.332934131736527e31,2.342814371257485e31,2.352694610778443e31,2.3625748502994015e31,2.3724550898203595e31,2.3823353293413175e31,2.3922155688622755e31,2.4020958083832335e31,2.4119760479041915e31,2.42185628742515e31,2.431736526946108e31,2.441616766467066e31,2.451497005988024e31,2.461377245508982e31,2.4712574850299405e31,2.4811377245508985e31,2.4910179640718565e31,2.5008982035928145e31,2.5107784431137725e31,2.5206586826347305e31,2.530538922155689e31,2.540419161676647e31,2.550299401197605e31,2.560179640718563e31,2.570059880239521e31,2.5799401197604794e31,2.5898203592814374e31,2.5997005988023954e31,2.6095808383233534e31,2.6194610778443114e31,2.6293413173652694e31,2.639221556886228e31,2.649101796407186e31,2.658982035928144e31,2.668862275449102e31,2.67874251497006e31,2.6886227544910183e31,2.6985029940119763e31,2.7083832335329343e31,2.7182634730538923e31,2.7281437125748503e31,2.7380239520958087e31,2.7479041916167667e31,2.7577844311377247e31,2.7676646706586827e31,2.7775449101796407e31,2.7874251497005987e31,2.797305389221557e31,2.807185628742515e31,2.817065868263473e31,2.826946107784431e31,2.836826347305389e31,2.8467065868263477e31,2.8565868263473057e31,2.8664670658682637e31,2.8763473053892217e31,2.8862275449101797e31,2.8961077844311377e31,2.905988023952096e31,2.915868263473054e31,2.925748502994012e31,2.93562874251497e31,2.945508982035928e31,2.9553892215568866e31,2.9652694610778446e31,2.9751497005988026e31,2.9850299401197606e31,2.9949101796407186e31,3.004790419161677e31,3.014670658682635e31,3.024550898203593e31,3.034431137724551e31,3.044311377245509e31,3.054191616766467e31,3.0640718562874255e31,3.0739520958083835e31,3.0838323353293415e31,3.0937125748502995e31,3.1035928143712575e31,3.113473053892216e31,3.123353293413174e31,3.133233532934132e31,3.14311377245509e31,3.152994011976048e31,3.162874251497006e31,3.1727544910179644e31,3.1826347305389224e31,3.1925149700598804e31,3.2023952095808384e31,3.2122754491017964e31,3.222155688622755e31,3.232035928143713e31,3.241916167664671e31,3.251796407185629e31,3.261676646706587e31,3.271556886227545e31,3.2814371257485033e31,3.2913173652694613e31,3.3011976047904193e31,3.3110778443113773e31,3.3209580838323353e31,3.330838323353294e31,3.340718562874252e31,3.35059880239521e31,3.360479041916168e31,3.370359281437126e31,3.3802395209580842e31,3.3901197604790422e31,3.4000000000000002e31,3.4098802395209582e31,3.4197604790419162e31,3.4296407185628742e31,3.4395209580838327e31,3.4494011976047907e31,3.4592814371257487e31,3.4691616766467067e31,3.4790419161676647e31,3.488922155688623e31,3.498802395209581e31,3.508682634730539e31,3.518562874251497e31,3.528443113772455e31,3.538323353293413e31,3.5482035928143716e31,3.5580838323353296e31,3.5679640718562876e31,3.5778443113772456e31,3.5877245508982036e31,3.597604790419162e31,3.60748502994012e31,3.617365269461078e31,3.627245508982036e31,3.637125748502994e31,3.647005988023952e31,3.6568862275449105e31,3.6667664670658685e31,3.6766467065868265e31,3.6865269461077845e31,3.6964071856287425e31,3.706287425149701e31,3.716167664670659e31,3.726047904191617e31,3.735928143712575e31,3.745808383233533e31,3.7556886227544914e31,3.7655688622754494e31,3.7754491017964074e31,3.7853293413173654e31,3.7952095808383234e31,3.8050898203592814e31,3.81497005988024e31,3.824850299401198e31,3.834730538922156e31,3.844610778443114e31,3.854491017964072e31,3.8643712574850304e31,3.8742514970059884e31,3.8841317365269464e31,3.8940119760479044e31,3.9038922155688624e31,3.9137724550898204e31,3.923652694610779e31,3.933532934131737e31,3.943413173652695e31,3.953293413173653e31,3.963173652694611e31,3.9730538922155693e31,3.9829341317365273e31,3.9928143712574853e31,4.0026946107784433e31,4.0125748502994013e31,4.0224550898203593e31,4.0323353293413177e31,4.0422155688622757e31,4.0520958083832337e31,4.061976047904192e31,4.07185628742515e31,4.081736526946108e31,4.091616766467066e31,4.101497005988024e31,4.111377245508982e31,4.12125748502994e31,4.131137724550898e31,4.141017964071856e31,4.150898203592814e31,4.160778443113773e31,4.170658682634731e31,4.180538922155689e31,4.190419161676647e31,4.200299401197605e31,4.210179640718563e31,4.220059880239521e31,4.229940119760479e31,4.239820359281437e31,4.249700598802395e31,4.259580838323353e31,4.269461077844312e31,4.27934131736527e31,4.289221556886228e31,4.299101796407186e31,4.308982035928144e31,4.318862275449102e31,4.32874251497006e31,4.338622754491018e31,4.348502994011976e31,4.358383233532934e31,4.368263473053892e31,4.378143712574851e31,4.388023952095809e31,4.397904191616767e31,4.407784431137725e31,4.417664670658683e31,4.427544910179641e31,4.437425149700599e31,4.447305389221557e31,4.457185628742515e31,4.467065868263473e31,4.476946107784431e31,4.48682634730539e31,4.496706586826348e31,4.506586826347306e31,4.516467065868264e31,4.526347305389222e31,4.53622754491018e31,4.546107784431138e31,4.555988023952096e31,4.565868263473054e31,4.575748502994012e31,4.58562874251497e31,4.595508982035929e31,4.605389221556887e31,4.615269461077845e31,4.625149700598803e31,4.635029940119761e31,4.644910179640719e31,4.654790419161677e31,4.664670658682635e31,4.674550898203593e31,4.684431137724551e31,4.69431137724551e31,4.704191616766468e31,4.714071856287426e31,4.723952095808384e31,4.733832335329342e31,4.7437125748503e31,4.753592814371258e31,4.763473053892216e31,4.773353293413174e31,4.783233532934132e31,4.79311377245509e31,4.802994011976049e31,4.812874251497007e31,4.822754491017965e31,4.832634730538923e31,4.842514970059881e31,4.852395209580839e31,4.862275449101797e31,4.872155688622755e31,4.882035928143713e31,4.891916167664671e31,4.901796407185629e31,4.9116766467065875e31,4.9215568862275455e31,4.9314371257485035e31,4.9413173652694615e31,4.9511976047904195e31,4.9610778443113775e31,4.9709580838323355e31,4.9808383233532935e31,4.9907185628742515e31,5.0005988023952095e31,5.0104790419161675e31,5.020359281437126e31,5.030239520958084e31,5.040119760479042e31,5.05e31,5.059880239520958e31,5.069760479041916e31,5.079640718562874e31,5.089520958083832e31,5.09940119760479e31,5.109281437125748e31,5.119161676646706e31,5.129041916167665e31,5.138922155688623e31,5.148802395209581e31,5.158682634730539e31,5.168562874251497e31,5.178443113772455e31,5.188323353293413e31,5.198203592814371e31,5.208083832335329e31,5.217964071856287e31,5.227844311377245e31,5.237724550898204e31,5.247604790419162e31,5.25748502994012e31,5.267365269461078e31,5.277245508982036e31,5.287125748502994e31,5.297005988023952e31,5.30688622754491e31,5.316766467065868e31,5.326646706586826e31,5.336526946107785e31,5.346407185628743e31,5.356287425149701e31,5.366167664670659e31,5.376047904191617e31,5.385928143712575e31,5.395808383233533e31,5.405688622754491e31,5.415568862275449e31,5.425449101796407e31,5.435329341317365e31,5.445209580838324e31,5.455089820359282e31,5.46497005988024e31,5.474850299401198e31,5.484730538922156e31,5.494610778443114e31,5.504491017964072e31,5.51437125748503e31,5.524251497005988e31,5.534131736526946e31,5.544011976047904e31,5.553892215568863e31,5.563772455089821e31,5.573652694610779e31,5.583532934131737e31,5.593413173652695e31,5.603293413173653e31,5.613173652694611e31,5.623053892215569e31,5.632934131736527e31,5.642814371257485e31,5.652694610778443e31,5.662574850299402e31,5.67245508982036e31,5.682335329341318e31,5.692215568862276e31,5.702095808383234e31,5.711976047904192e31,5.72185628742515e31,5.731736526946108e31,5.741616766467066e31,5.751497005988024e31,5.761377245508982e31,5.771257485029941e31,5.781137724550899e31,5.791017964071857e31,5.800898203592815e31,5.810778443113773e31,5.820658682634731e31,5.830538922155689e31,5.840419161676647e31,5.850299401197605e31,5.860179640718563e31,5.870059880239521e31,5.87994011976048e31,5.889820359281438e31,5.899700598802396e31,5.909580838323354e31,5.919461077844312e31,5.92934131736527e31,5.939221556886228e31,5.949101796407186e31,5.958982035928144e31,5.968862275449102e31,5.97874251497006e31,5.988622754491019e31,5.998502994011977e31,6.008383233532935e31,6.018263473053893e31,6.028143712574851e31,6.038023952095809e31,6.047904191616767e31,6.057784431137725e31,6.067664670658683e31,6.077544910179641e31,6.0874251497006e31,6.097305389221558e31,6.107185628742516e31,6.117065868263474e31,6.126946107784432e31,6.13682634730539e31,6.146706586826348e31,6.156586826347306e31,6.166467065868264e31,6.176347305389222e31,6.18622754491018e31,6.1961077844311385e31,6.2059880239520965e31,6.2158682634730545e31,6.2257485029940125e31,6.2356287425149705e31,6.2455089820359285e31,6.2553892215568865e31,6.2652694610778445e31,6.2751497005988025e31,6.2850299401197605e31,6.2949101796407185e31,6.304790419161677e31,6.314670658682635e31,6.324550898203593e31,6.334431137724551e31,6.344311377245509e31,6.354191616766467e31,6.364071856287425e31,6.373952095808383e31,6.383832335329341e31,6.393712574850299e31,6.403592814371257e31,6.413473053892216e31,6.423353293413174e31,6.433233532934132e31,6.44311377245509e31,6.452994011976048e31,6.462874251497006e31,6.472754491017964e31,6.482634730538922e31,6.49251497005988e31,6.502395209580838e31,6.512275449101796e31,6.522155688622755e31,6.532035928143713e31,6.541916167664671e31,6.551796407185629e31,6.561676646706587e31,6.571556886227545e31,6.581437125748503e31,6.591317365269461e31,6.601197604790419e31,6.611077844311377e31,6.620958083832335e31,6.630838323353294e31,6.640718562874252e31,6.65059880239521e31,6.660479041916168e31,6.670359281437126e31,6.680239520958084e31,6.690119760479042e31,6.7e31,6.709880239520958e31,6.719760479041916e31,6.729640718562874e31,6.739520958083833e31,6.749401197604791e31,6.759281437125749e31,6.769161676646707e31,6.779041916167665e31,6.788922155688623e31,6.798802395209581e31,6.808682634730539e31,6.818562874251497e31,6.828443113772455e31,6.838323353293414e31,6.848203592814372e31,6.85808383233533e31,6.867964071856288e31,6.877844311377246e31,6.887724550898204e31,6.897604790419162e31,6.90748502994012e31,6.917365269461078e31,6.927245508982036e31,6.937125748502994e31,6.947005988023953e31,6.956886227544911e31,6.966766467065869e31,6.976646706586827e31,6.986526946107785e31,6.996407185628743e31,7.006287425149701e31,7.016167664670659e31,7.026047904191617e31,7.035928143712575e31,7.045808383233533e31,7.055688622754492e31,7.06556886227545e31,7.075449101796408e31,7.085329341317366e31,7.095209580838324e31,7.105089820359282e31,7.11497005988024e31,7.124850299401198e31,7.134730538922156e31,7.144610778443114e31,7.154491017964072e31,7.164371257485031e31,7.174251497005989e31,7.184131736526947e31,7.194011976047905e31,7.203892215568863e31,7.213772455089821e31,7.223652694610779e31,7.233532934131737e31,7.243413173652695e31,7.253293413173653e31,7.263173652694611e31,7.27305389221557e31,7.282934131736528e31,7.292814371257486e31,7.302694610778444e31,7.312574850299402e31,7.32245508982036e31,7.332335329341318e31,7.342215568862276e31,7.352095808383234e31,7.361976047904192e31,7.37185628742515e31,7.381736526946109e31,7.391616766467067e31,7.401497005988025e31,7.411377245508983e31,7.421257485029941e31,7.431137724550899e31,7.441017964071857e31,7.450898203592815e31,7.460778443113773e31,7.470658682634731e31,7.480538922155689e31,7.4904191616766475e31,7.5002994011976055e31,7.5101796407185635e31,7.5200598802395215e31,7.5299401197604795e31,7.5398203592814375e31,7.5497005988023955e31,7.5595808383233535e31,7.5694610778443115e31,7.5793413173652695e31,7.589221556886228e31,7.599101796407186e31,7.608982035928144e31,7.618862275449102e31,7.62874251497006e31,7.638622754491018e31,7.648502994011976e31,7.658383233532934e31,7.668263473053892e31,7.67814371257485e31,7.688023952095808e31,7.697904191616767e31,7.707784431137725e31,7.717664670658683e31,7.727544910179641e31,7.737425149700599e31,7.747305389221557e31,7.757185628742515e31,7.767065868263473e31,7.776946107784431e31,7.786826347305389e31,7.796706586826347e31,7.806586826347306e31,7.816467065868264e31,7.826347305389222e31,7.83622754491018e31,7.846107784431138e31,7.855988023952096e31,7.865868263473054e31,7.875748502994012e31,7.88562874251497e31,7.895508982035928e31,7.905389221556886e31,7.915269461077845e31,7.925149700598803e31,7.935029940119761e31,7.944910179640719e31,7.954790419161677e31,7.964670658682635e31,7.974550898203593e31,7.984431137724551e31,7.994311377245509e31,8.004191616766467e31,8.014071856287425e31,8.023952095808384e31,8.033832335329342e31,8.0437125748503e31,8.053592814371258e31,8.063473053892216e31,8.073353293413174e31,8.083233532934132e31,8.09311377245509e31,8.102994011976048e31,8.112874251497006e31,8.122754491017964e31,8.132634730538923e31,8.14251497005988e31,8.152395209580839e31,8.162275449101796e31,8.172155688622755e31,8.182035928143714e31,8.191916167664671e31,8.20179640718563e31,8.211676646706587e31,8.221556886227546e31,8.231437125748503e31,8.241317365269462e31,8.251197604790419e31,8.261077844311378e31,8.270958083832335e31,8.280838323353294e31,8.290718562874253e31,8.30059880239521e31,8.310479041916169e31,8.320359281437126e31,8.330239520958085e31,8.340119760479042e31,8.35e31,8.359880239520958e31,8.369760479041917e31,8.379640718562874e31,8.389520958083833e31,8.399401197604792e31,8.409281437125749e31,8.419161676646708e31,8.429041916167665e31,8.438922155688624e31,8.44880239520958e31,8.45868263473054e31,8.468562874251497e31,8.478443113772456e31,8.488323353293413e31,8.498203592814372e31,8.50808383233533e31,8.517964071856288e31,8.527844311377247e31,8.537724550898204e31,8.547604790419163e31,8.55748502994012e31,8.567365269461079e31,8.577245508982036e31,8.587125748502995e31,8.597005988023952e31,8.60688622754491e31,8.61676646706587e31,8.626646706586827e31,8.636526946107786e31,8.646407185628743e31,8.656287425149702e31,8.666167664670659e31,8.676047904191618e31,8.685928143712575e31,8.695808383233534e31,8.70568862275449e31,8.71556886227545e31,8.725449101796408e31,8.735329341317366e31,8.745209580838324e31,8.755089820359282e31,8.76497005988024e31,8.774850299401198e31,8.784730538922156e31,8.794610778443114e31,8.804491017964072e31,8.81437125748503e31,8.824251497005988e31,8.834131736526947e31,8.844011976047904e31,8.853892215568863e31,8.86377245508982e31,8.87365269461078e31,8.883532934131736e31,8.893413173652695e31,8.903293413173652e31,8.913173652694611e31,8.923053892215568e31,8.932934131736527e31,8.942814371257486e31,8.952694610778443e31,8.962574850299402e31,8.97245508982036e31,8.982335329341318e31,8.992215568862275e31,9.002095808383234e31,9.011976047904191e31,9.02185628742515e31,9.031736526946107e31,9.041616766467066e31,9.051497005988025e31,9.061377245508982e31,9.071257485029941e31,9.081137724550898e31,9.091017964071857e31,9.100898203592814e31,9.110778443113773e31,9.12065868263473e31,9.13053892215569e31,9.140419161676646e31,9.150299401197605e31,9.160179640718564e31,9.170059880239521e31,9.17994011976048e31,9.189820359281437e31,9.199700598802396e31,9.209580838323353e31,9.219461077844312e31,9.22934131736527e31,9.239221556886228e31,9.249101796407185e31,9.258982035928144e31,9.268862275449103e31,9.27874251497006e31,9.288622754491019e31,9.298502994011976e31,9.308383233532935e31,9.318263473053892e31,9.328143712574851e31,9.338023952095808e31,9.347904191616767e31,9.357784431137726e31,9.367664670658683e31,9.377544910179642e31,9.387425149700599e31,9.397305389221558e31,9.407185628742515e31,9.417065868263474e31,9.426946107784431e31,9.43682634730539e31,9.446706586826347e31,9.456586826347306e31,9.466467065868265e31,9.476347305389222e31,9.48622754491018e31,9.496107784431138e31,9.505988023952097e31,9.515868263473054e31,9.525748502994013e31,9.53562874251497e31,9.545508982035929e31,9.555389221556886e31,9.565269461077845e31,9.575149700598804e31,9.58502994011976e31,9.59491017964072e31,9.604790419161677e31,9.614670658682636e31,9.624550898203593e31,9.634431137724552e31,9.644311377245509e31,9.654191616766468e31,9.664071856287425e31,9.673952095808384e31,9.683832335329343e31,9.6937125748503e31,9.703592814371259e31,9.713473053892216e31,9.723353293413175e31,9.733233532934132e31,9.74311377245509e31,9.752994011976048e31,9.762874251497007e31,9.772754491017964e31,9.782634730538923e31,9.792514970059882e31,9.802395209580839e31,9.812275449101798e31,9.822155688622755e31,9.832035928143714e31,9.84191616766467e31,9.85179640718563e31,9.861676646706587e31,9.871556886227546e31,9.881437125748503e31,9.891317365269462e31,9.90119760479042e31,9.911077844311378e31,9.920958083832337e31,9.930838323353294e31,9.940718562874253e31,9.95059880239521e31,9.960479041916169e31,9.970359281437126e31,9.980239520958085e31,9.990119760479042e31,1.0e32]} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/large_positive.json b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/large_positive.json new file mode 100644 index 000000000000..881a32333e05 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/large_positive.json @@ -0,0 +1 @@ +{"expected":[1.7627472,1.7800555,1.7970524,1.8137494,1.8301575,1.8462869,1.8621476,1.8777484,1.8930984,1.9082055,1.9230781,1.9377232,1.9521481,1.9663595,1.980364,1.9941677,2.0077765,2.021196,2.0344312,2.047488,2.0603707,2.073084,2.0856328,2.0980215,2.1102538,2.1223338,2.1342657,2.1460528,2.1576989,2.1692073,2.1805813,2.1918242,2.202939,2.2139287,2.2247958,2.2355437,2.2461743,2.2566907,2.2670956,2.2773907,2.2875788,2.297662,2.3076425,2.3175225,2.327304,2.3369887,2.3465788,2.3560762,2.3654828,2.3748002,2.3840299,2.393174,2.4022336,2.4112105,2.4201064,2.4289227,2.4376607,2.4463217,2.4549074,2.4634187,2.4718573,2.4802244,2.4885209,2.4967482,2.5049076,2.513,2.5210266,2.5289884,2.5368867,2.544722,2.552496,2.560209,2.5678625,2.575457,2.5829937,2.5904734,2.5978968,2.6052651,2.6125789,2.6198387,2.6270459,2.634201,2.6413047,2.6483579,2.655361,2.662315,2.6692204,2.6760783,2.6828887,2.6896527,2.696371,2.703044,2.7096722,2.7162566,2.7227974,2.7292953,2.735751,2.7421649,2.7485375,2.7548697,2.7611616,2.7674136,2.7736268,2.7798011,2.7859373,2.7920358,2.798097,2.8041215,2.8101096,2.8160617,2.8219786,2.8278604,2.8337073,2.83952,2.8452992,2.8510447,2.8567572,2.8624372,2.8680847,2.8737004,2.8792846,2.8848374,2.8903596,2.8958511,2.9013124,2.906744,2.9121459,2.9175189,2.9228628,2.928178,2.9334652,2.9387243,2.943956,2.9491599,2.954337,2.959487,2.9646108,2.9697082,2.9747796,2.9798253,2.9848454,2.9898405,2.9948106,2.9997559,3.0046768,3.0095737,3.0144463,3.0192952,3.0241208,3.0289228,3.0337021,3.0384583,3.0431921,3.0479033,3.0525925,3.0572596,3.061905,3.0665286,3.071131,3.0757122,3.0802724,3.0848117,3.0893307,3.0938292,3.0983074,3.1027653,3.1072037,3.1116223,3.1160214,3.1204011,3.1247616,3.1291032,3.133426,3.1377301,3.1420155,3.1462827,3.1505318,3.1547625,3.1589756,3.163171,3.1673486,3.171509,3.1756518,3.1797776,3.1838865,3.1879785,3.1920536,3.1961124,3.2001545,3.2041802,3.20819,3.2121835,3.216161,3.2201228,3.2240689,3.2279997,3.2319148,3.2358146,3.2396991,3.2435687,3.2474234,3.2512631,3.255088,3.2588985,3.2626944,3.2664757,3.2702432,3.273996,3.277735,3.28146,3.285171,3.2888684,3.292552,3.2962222,3.299879,3.3035223,3.3071523,3.3107693,3.314373,3.3179638,3.321542,3.325107,3.3286595,3.3321996,3.3357267,3.3392417,3.3427444,3.3462346,3.3497128,3.353179,3.356633,3.360075,3.3635054,3.366924,3.370331,3.3737261,3.37711,3.3804824,3.3838434,3.387193,3.3905315,3.393859,3.397175,3.4004805,3.403775,3.4070585,3.4103312,3.4135933,3.4168446,3.4200857,3.423316,3.426536,3.4297457,3.432945,3.436134,3.439313,3.442482,3.4456406,3.4487896,3.4519286,3.4550576,3.458177,3.4612865,3.4643865,3.4674768,3.4705577,3.473629,3.476691,3.4797435,3.4827867,3.4858208,3.4888456,3.4918613,3.4948678,3.4978654,3.500854,3.5038335,3.5068042,3.5097663,3.5127194,3.515664,3.5186,3.521527,3.5244458,3.527356,3.5302577,3.533151,3.5360358,3.5389125,3.5417807,3.544641,3.5474927,3.5503368,3.5531723,3.5560002,3.5588198,3.5616317,3.5644357,3.5672317,3.57002,3.5728004,3.5755732,3.5783381,3.5810957,3.5838454,3.586588,3.5893226,3.5920498,3.5947697,3.5974822,3.6001875,3.6028852,3.6055758,3.608259,3.6109352,3.6136043,3.616266,3.618921,3.6215687,3.6242094,3.6268432,3.62947,3.6320899,3.6347032,3.6373096,3.639909,3.6425018,3.6450877,3.6476672,3.6502397,3.652806,3.6553655,3.6579185,3.660465,3.663005,3.6655385,3.6680658,3.6705866,3.673101,3.675609,3.6781108,3.6806064,3.6830957,3.685579,3.688056,3.6905267,3.6929917,3.6954503,3.697903,3.7003498,3.7027905,3.7052252,3.707654,3.7100768,3.712494,3.7149053,3.7173104,3.71971,3.7221043,3.7244923,3.7268748,3.7292516,3.7316227,3.7339883,3.7363482,3.7387025,3.7410514,3.7433949,3.7457328,3.7480652,3.750392,3.7527137,3.7550297,3.7573407,3.7596462,3.7619462,3.7642412,3.7665308,3.7688153,3.7710943,3.7733684,3.7756371,3.777901,3.7801595,3.782413,3.7846615,3.7869048,3.789143,3.7913764,3.7936049,3.795828,3.7980466,3.80026,3.8024688,3.8046725,3.8068714,3.8090656,3.8112547,3.8134394,3.815619,3.817794,3.8199642,3.8221297,3.8242908,3.8264468,3.8285985,3.8307452,3.8328876,3.8350253,3.8371587,3.8392873,3.8414114,3.843531,3.8456461,3.8477569,3.8498628,3.8519647,3.854062,3.8561552,3.8582437,3.860328,3.8624077,3.8644834,3.8665545,3.8686216,3.8706844,3.8727427,3.8747969,3.876847,3.878893,3.8809345,3.882972,3.8850052,3.8870344,3.8890595,3.8910806,3.8930974,3.8951104,3.897119,3.899124,3.9011247,3.9031215,3.9051142,3.907103,3.909088,3.911069,3.913046,3.915019,3.9169881,3.9189534,3.9209151,3.9228725,3.9248264,3.9267764,3.9287226,3.930665,3.9326036,3.9345386,3.9364698,3.9383972,3.9403207,3.942241,3.9441571,3.94607,3.947979,3.9498844,3.951786,3.953684,3.9555788,3.9574697,3.9593573,3.961241,3.9631212,3.964998,3.9668713,3.968741,3.970607,3.97247,3.9743292,3.976185,3.9780376,3.9798865,3.981732,3.9835742,3.9854128,3.9872482,3.9890804,3.9909089,3.9927344,3.9945564,3.996375,3.9981904,4.0000024,4.0018115,4.003617,4.0054193,4.007218,4.009014,4.0108066,4.012596,4.014382,4.0161653,4.017945,4.0197215,4.021495,4.0232654,4.0250325],"x":[3.0,3.049407114624506,3.0988142292490117,3.1482213438735176,3.197628458498024,3.2470355731225298,3.2964426877470356,3.3458498023715415,3.3952569169960474,3.4446640316205532,3.494071146245059,3.5434782608695654,3.5928853754940713,3.642292490118577,3.691699604743083,3.741106719367589,3.7905138339920947,3.8399209486166006,3.889328063241107,3.938735177865613,3.9881422924901186,4.037549407114624,4.086956521739131,4.136363636363637,4.1857707509881426,4.235177865612648,4.284584980237154,4.33399209486166,4.383399209486166,4.432806324110672,4.482213438735178,4.531620553359684,4.5810276679841895,4.630434782608695,4.679841897233201,4.729249011857707,4.778656126482214,4.82806324110672,4.877470355731226,4.926877470355731,4.976284584980237,5.025691699604743,5.075098814229249,5.124505928853755,5.173913043478261,5.223320158102767,5.2727272727272725,5.322134387351778,5.371541501976284,5.42094861660079,5.470355731225297,5.519762845849803,5.569169960474309,5.618577075098814,5.66798418972332,5.717391304347826,5.766798418972332,5.816205533596838,5.865612648221344,5.91501976284585,5.9644268774703555,6.013833992094861,6.063241106719367,6.112648221343873,6.16205533596838,6.211462450592886,6.260869565217392,6.310276679841897,6.359683794466403,6.409090909090909,6.458498023715415,6.507905138339921,6.557312252964427,6.606719367588933,6.6561264822134385,6.705533596837944,6.75494071146245,6.804347826086956,6.853754940711463,6.903162055335969,6.952569169960475,7.0019762845849804,7.051383399209486,7.100790513833992,7.150197628458498,7.199604743083004,7.24901185770751,7.298418972332016,7.3478260869565215,7.397233201581027,7.446640316205533,7.496047430830039,7.545454545454546,7.594861660079052,7.644268774703558,7.6936758893280635,7.743083003952569,7.792490118577075,7.841897233201581,7.891304347826087,7.940711462450593,7.990118577075099,8.039525691699605,8.088932806324111,8.138339920948617,8.187747035573123,8.237154150197629,8.286561264822135,8.33596837944664,8.385375494071146,8.434782608695652,8.484189723320158,8.533596837944664,8.58300395256917,8.632411067193676,8.681818181818182,8.731225296442688,8.780632411067193,8.8300395256917,8.879446640316205,8.928853754940711,8.978260869565217,9.027667984189723,9.077075098814229,9.126482213438734,9.17588932806324,9.225296442687746,9.274703557312254,9.32411067193676,9.373517786561266,9.422924901185771,9.472332015810277,9.521739130434783,9.571146245059289,9.620553359683795,9.6699604743083,9.719367588932807,9.768774703557312,9.818181818181818,9.867588932806324,9.91699604743083,9.966403162055336,10.015810276679842,10.065217391304348,10.114624505928854,10.16403162055336,10.213438735177865,10.262845849802371,10.312252964426877,10.361660079051383,10.411067193675889,10.460474308300395,10.5098814229249,10.559288537549406,10.608695652173912,10.65810276679842,10.707509881422926,10.756916996047432,10.806324110671937,10.855731225296443,10.90513833992095,10.954545454545455,11.003952569169961,11.053359683794467,11.102766798418973,11.152173913043478,11.201581027667984,11.25098814229249,11.300395256916996,11.349802371541502,11.399209486166008,11.448616600790514,11.49802371541502,11.547430830039525,11.596837944664031,11.646245059288537,11.695652173913043,11.745059288537549,11.794466403162055,11.84387351778656,11.893280632411066,11.942687747035572,11.992094861660078,12.041501976284586,12.090909090909092,12.140316205533598,12.189723320158103,12.23913043478261,12.288537549407115,12.337944664031621,12.387351778656127,12.436758893280633,12.486166007905139,12.535573122529645,12.58498023715415,12.634387351778656,12.683794466403162,12.733201581027668,12.782608695652174,12.83201581027668,12.881422924901186,12.930830039525691,12.980237154150197,13.029644268774703,13.079051383399209,13.128458498023715,13.17786561264822,13.227272727272727,13.276679841897232,13.326086956521738,13.375494071146244,13.424901185770752,13.474308300395258,13.523715415019764,13.57312252964427,13.622529644268775,13.671936758893281,13.721343873517787,13.770750988142293,13.820158102766799,13.869565217391305,13.91897233201581,13.968379446640316,14.017786561264822,14.067193675889328,14.116600790513834,14.16600790513834,14.215415019762846,14.264822134387352,14.314229249011857,14.363636363636363,14.41304347826087,14.462450592885375,14.511857707509881,14.561264822134387,14.610671936758893,14.660079051383399,14.709486166007904,14.75889328063241,14.808300395256918,14.857707509881424,14.90711462450593,14.956521739130435,15.005928853754941,15.055335968379447,15.104743083003953,15.154150197628459,15.203557312252965,15.25296442687747,15.302371541501977,15.351778656126482,15.401185770750988,15.450592885375494,15.5,15.549407114624506,15.598814229249012,15.648221343873518,15.697628458498023,15.74703557312253,15.796442687747035,15.845849802371541,15.895256916996047,15.944664031620553,15.994071146245059,16.043478260869566,16.09288537549407,16.142292490118578,16.191699604743082,16.24110671936759,16.290513833992094,16.3399209486166,16.389328063241106,16.438735177865613,16.488142292490117,16.537549407114625,16.58695652173913,16.636363636363637,16.68577075098814,16.73517786561265,16.784584980237153,16.83399209486166,16.883399209486164,16.932806324110672,16.98221343873518,17.031620553359684,17.08102766798419,17.130434782608695,17.179841897233203,17.229249011857707,17.278656126482215,17.32806324110672,17.377470355731226,17.42687747035573,17.476284584980238,17.525691699604742,17.57509881422925,17.624505928853754,17.67391304347826,17.723320158102766,17.772727272727273,17.822134387351777,17.871541501976285,17.92094861660079,17.970355731225297,18.0197628458498,18.06916996047431,18.118577075098813,18.16798418972332,18.217391304347824,18.266798418972332,18.31620553359684,18.365612648221344,18.41501976284585,18.464426877470355,18.513833992094863,18.563241106719367,18.612648221343875,18.66205533596838,18.711462450592887,18.76086956521739,18.8102766798419,18.859683794466402,18.90909090909091,18.958498023715414,19.007905138339922,19.057312252964426,19.106719367588934,19.156126482213438,19.205533596837945,19.25494071146245,19.304347826086957,19.35375494071146,19.40316205533597,19.452569169960473,19.50197628458498,19.551383399209485,19.600790513833992,19.650197628458496,19.699604743083004,19.74901185770751,19.798418972332016,19.847826086956523,19.897233201581027,19.946640316205535,19.99604743083004,20.045454545454547,20.09486166007905,20.14426877470356,20.193675889328063,20.24308300395257,20.292490118577074,20.341897233201582,20.391304347826086,20.440711462450594,20.490118577075098,20.539525691699605,20.58893280632411,20.638339920948617,20.68774703557312,20.73715415019763,20.786561264822133,20.83596837944664,20.885375494071145,20.934782608695652,20.984189723320156,21.033596837944664,21.08300395256917,21.132411067193676,21.181818181818183,21.231225296442688,21.280632411067195,21.3300395256917,21.379446640316207,21.42885375494071,21.47826086956522,21.527667984189723,21.57707509881423,21.626482213438734,21.675889328063242,21.725296442687746,21.774703557312254,21.824110671936758,21.873517786561266,21.92292490118577,21.972332015810277,22.02173913043478,22.07114624505929,22.120553359683793,22.1699604743083,22.219367588932805,22.268774703557312,22.318181818181817,22.367588932806324,22.41699604743083,22.466403162055336,22.515810276679844,22.565217391304348,22.614624505928855,22.66403162055336,22.713438735177867,22.76284584980237,22.81225296442688,22.861660079051383,22.91106719367589,22.960474308300395,23.009881422924902,23.059288537549406,23.108695652173914,23.158102766798418,23.207509881422926,23.25691699604743,23.306324110671937,23.35573122529644,23.40513833992095,23.454545454545453,23.50395256916996,23.553359683794465,23.602766798418973,23.652173913043477,23.701581027667984,23.75098814229249,23.800395256916996,23.849802371541504,23.899209486166008,23.948616600790515,23.99802371541502,24.047430830039527,24.09683794466403,24.14624505928854,24.195652173913043,24.24505928853755,24.294466403162055,24.343873517786562,24.393280632411066,24.442687747035574,24.492094861660078,24.541501976284586,24.59090909090909,24.640316205533598,24.6897233201581,24.73913043478261,24.788537549407113,24.83794466403162,24.887351778656125,24.936758893280633,24.986166007905137,25.035573122529645,25.08498023715415,25.134387351778656,25.18379446640316,25.233201581027668,25.282608695652176,25.33201581027668,25.381422924901187,25.43083003952569,25.4802371541502,25.529644268774703,25.57905138339921,25.628458498023715,25.677865612648223,25.727272727272727,25.776679841897234,25.82608695652174,25.875494071146246,25.92490118577075,25.974308300395258,26.023715415019762,26.07312252964427,26.122529644268774,26.17193675889328,26.221343873517785,26.270750988142293,26.320158102766797,26.369565217391305,26.41897233201581,26.468379446640316,26.51778656126482,26.567193675889328,26.616600790513836,26.66600790513834,26.715415019762847,26.76482213438735,26.81422924901186,26.863636363636363,26.91304347826087,26.962450592885375,27.011857707509883,27.061264822134387,27.110671936758894,27.1600790513834,27.209486166007906,27.25889328063241,27.308300395256918,27.357707509881422,27.40711462450593,27.456521739130434,27.50592885375494,27.555335968379445,27.604743083003953,27.654150197628457,27.703557312252965,27.75296442687747,27.802371541501977,27.85177865612648,27.90118577075099,27.950592885375492,28.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/larger_positive.json b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/larger_positive.json new file mode 100644 index 000000000000..7b80f97eacc2 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/larger_positive.json @@ -0,0 +1 @@ +{"expected":[4.0250325,4.0301046,4.0351515,4.0401726,4.045169,4.0501404,4.055087,4.060009,4.0649076,4.069782,4.074632,4.0794597,4.084264,4.0890446,4.093803,4.098539,4.103252,4.1079435,4.1126127,4.1172605,4.1218867,4.1264915,4.131075,4.1356378,4.14018,4.1447015,4.1492023,4.1536837,4.1581445,4.1625857,4.167007,4.171409,4.1757917,4.1801553,4.1844997,4.1888256,4.193133,4.1974216,4.201692,4.205944,4.2101784,4.2143946,4.218593,4.2227745,4.226938,4.2310843,4.2352138,4.239326,4.243421,4.2475,4.251562,4.2556076,4.259637,4.2636504,4.2676473,4.271629,4.275594,4.279544,4.2834783,4.287397,4.2913003,4.2951884,4.299062,4.3029203,4.3067636,4.310592,4.3144064,4.3182063,4.3219914,4.3257623,4.3295193,4.333262,4.336991,4.3407054,4.3444066,4.348094,4.351768,4.3554287,4.359076,4.3627095,4.3663306,4.369938,4.373533,4.3771143,4.3806834,4.3842397,4.3877835,4.391315,4.3948336,4.3983397,4.401834,4.405316,4.408786,4.412244,4.41569,4.419124,4.4225464,4.425957,4.429356,4.432744,4.43612,4.4394846,4.442838,4.446181,4.449512,4.4528317,4.456141,4.4594393,4.4627266,4.466003,4.469269,4.472524,4.475769,4.479003,4.482227,4.4854403,4.488643,4.491836,4.495019,4.4981914,4.501354,4.5045066,4.5076494,4.5107822,4.513905,4.5170183,4.520122,4.5232162,4.526301,4.5293756,4.532441,4.5354977,4.5385447,4.541582,4.5446105,4.54763,4.55064,4.5536413,4.5566335,4.5596166,4.562591,4.5655565,4.5685134,4.5714617,4.574401,4.5773315,4.580254,4.5831676,4.586073,4.5889697,4.591858,4.5947385,4.59761,4.600474,4.603329,4.6061764,4.6090155,4.611847,4.6146703,4.6174855,4.6202927,4.623092,4.625884,4.628668,4.631444,4.6342125,4.6369734,4.6397266,4.6424723,4.6452103,4.647941,4.6506643,4.65338,4.6560884,4.6587896,4.661484,4.6641703,4.6668496,4.669522,4.6721873,4.674845,4.6774964,4.68014,4.6827774,4.6854076,4.6880307,4.690647,4.6932564,4.695859,4.6984553,4.7010446,4.703627,4.706203,4.708772,4.7113347,4.713891,4.7164407,4.7189837,4.7215204,4.7240505,4.7265744,4.729092,4.731603,4.7341084,4.736607,4.7390995,4.7415853,4.7440653,4.7465396,4.749007,4.751469,4.753925,4.7563744,4.758818,4.7612557,4.7636876,4.7661133,4.7685337,4.770948,4.773356,4.7757587,4.7781553,4.7805467,4.782932,4.7853117,4.787686,4.7900543,4.792417,4.7947745,4.7971263,4.7994723,4.801813,4.804148,4.806478,4.8088026,4.8111215,4.813435,4.8157434,4.8180466,4.820344,4.8226366,4.8249235,4.8272057,4.8294826,4.8317537,4.83402,4.836282,4.8385377,4.840789,4.843035,4.845276,4.8475122,4.8497434,4.8519692,4.8541903,4.8564067,4.858618,4.860824,4.8630257,4.8652225,4.8674145,4.8696017,4.8717837,4.8739614,4.8761344,4.8783026,4.880466,4.8826246,4.884779,4.8869286,4.8890734,4.8912134,4.893349,4.8954806,4.8976073,4.8997293,4.901847,4.9039598,4.906069,4.908173,4.9102726,4.9123683,4.914459,4.916546,4.918628,4.9207063,4.92278,4.9248495,4.9269147,4.9289756,4.931032,4.9330845,4.935133,4.9371767,4.9392166,4.9412527,4.943284,4.9453115,4.947335,4.949354,4.9513693,4.9533806,4.9553876,4.957391,4.9593897,4.961385,4.963376,4.965363,4.9673467,4.9693255,4.971301,4.973273,4.97524,4.977204,4.9791636,4.98112,4.9830723,4.9850206,4.986965,4.9889064,4.9908433,4.992777,4.994706,4.996632,4.9985547,5.000473,5.002388,5.004299,5.0062065,5.0081105,5.0100107,5.0119076,5.0138006,5.0156903,5.017576,5.019459,5.0213375,5.023213,5.025085,5.026953,5.028818,5.030679,5.0325375,5.034392,5.036243,5.0380907,5.0399346,5.0417757,5.043613,5.045447,5.047278,5.049105,5.050929,5.05275,5.0545673,5.0563817,5.0581923,5.06,5.0618043,5.0636053,5.065403,5.067198,5.068989,5.070777,5.072562,5.0743437,5.0761223,5.077898,5.0796704,5.0814395,5.0832057,5.0849686,5.086728,5.088485,5.0902386,5.091989,5.0937366,5.0954814,5.097223,5.0989614,5.1006966,5.102429,5.1041584,5.105885,5.1076083,5.1093287,5.1110463,5.112761,5.1144724,5.116181,5.117887,5.11959,5.1212897,5.122987,5.124681,5.126373,5.128061,5.129747,5.1314297,5.1331096,5.1347866,5.1364613,5.1381326,5.1398015,5.1414676,5.143131,5.144791,5.146449,5.1481037,5.1497564,5.151406,5.1530523,5.1546965,5.156338,5.1579766,5.1596127,5.161246,5.1628766,5.164505,5.16613,5.167753,5.169373,5.1709905,5.1726055,5.1742177,5.1758275,5.1774344,5.179039,5.180641,5.1822405,5.1838374,5.1854315,5.187023,5.1886125,5.1901994,5.1917834,5.193365,5.1949444,5.196521,5.1980953,5.199667,5.2012362,5.202803,5.204367,5.2059293,5.2074885,5.209046,5.2106004,5.2121525,5.213702,5.21525,5.216795,5.2183375,5.2198777,5.2214155,5.2229514,5.2244844,5.226015,5.227544,5.2290697,5.2305937,5.2321153,5.2336345,5.2351513,5.2366657,5.2381783,5.2396884,5.241196,5.2427015,5.2442045,5.2457056,5.2472043,5.248701,5.250195,5.251687,5.2531767,5.2546644,5.25615,5.2576327,5.259114,5.2605925,5.262069,5.2635436,5.2650156,5.266486,5.267954,5.2694197,5.270883,5.2723446,5.273804,5.2752614,5.276716,5.278169,5.27962,5.281069,5.2825155,5.2839603,5.285403,5.2868433,5.2882814,5.2897177,5.291152,5.292584,5.2940145,5.295442,5.2968683,5.298292],"x":[28.0,28.142292490118578,28.284584980237153,28.42687747035573,28.56916996047431,28.711462450592887,28.85375494071146,28.99604743083004,29.138339920948617,29.280632411067195,29.42292490118577,29.565217391304348,29.707509881422926,29.849802371541504,29.992094861660078,30.134387351778656,30.276679841897234,30.41897233201581,30.561264822134387,30.703557312252965,30.845849802371543,30.988142292490117,31.130434782608695,31.272727272727273,31.41501976284585,31.557312252964426,31.699604743083004,31.841897233201582,31.984189723320156,32.126482213438734,32.26877470355731,32.41106719367589,32.55335968379447,32.69565217391305,32.83794466403162,32.980237154150196,33.12252964426877,33.26482213438735,33.40711462450593,33.54940711462451,33.691699604743086,33.83399209486166,33.976284584980235,34.11857707509881,34.26086956521739,34.40316205533597,34.54545454545455,34.687747035573125,34.8300395256917,34.972332015810274,35.11462450592885,35.25691699604743,35.39920948616601,35.541501976284586,35.683794466403164,35.82608695652174,35.96837944664031,36.11067193675889,36.25296442687747,36.39525691699605,36.537549407114625,36.6798418972332,36.82213438735178,36.96442687747036,37.10671936758893,37.24901185770751,37.391304347826086,37.533596837944664,37.67588932806324,37.81818181818182,37.9604743083004,38.10276679841897,38.24505928853755,38.387351778656125,38.5296442687747,38.67193675889328,38.81422924901186,38.95652173913044,39.098814229249015,39.241106719367586,39.383399209486164,39.52569169960474,39.66798418972332,39.8102766798419,39.952569169960476,40.094861660079054,40.237154150197625,40.3794466403162,40.52173913043478,40.66403162055336,40.80632411067194,40.948616600790515,41.09090909090909,41.23320158102767,41.37549407114624,41.51778656126482,41.6600790513834,41.80237154150198,41.944664031620555,42.08695652173913,42.22924901185771,42.37154150197628,42.51383399209486,42.65612648221344,42.798418972332016,42.940711462450594,43.08300395256917,43.22529644268775,43.36758893280632,43.5098814229249,43.65217391304348,43.794466403162055,43.93675889328063,44.07905138339921,44.22134387351779,44.36363636363637,44.50592885375494,44.648221343873516,44.790513833992094,44.93280632411067,45.07509881422925,45.21739130434783,45.359683794466406,45.50197628458498,45.644268774703555,45.78656126482213,45.92885375494071,46.07114624505929,46.21343873517787,46.355731225296445,46.49802371541502,46.640316205533594,46.78260869565217,46.92490118577075,47.06719367588933,47.209486166007906,47.351778656126484,47.49407114624506,47.63636363636363,47.77865612648221,47.92094861660079,48.06324110671937,48.205533596837945,48.34782608695652,48.4901185770751,48.63241106719368,48.77470355731225,48.91699604743083,49.059288537549406,49.201581027667984,49.34387351778656,49.48616600790514,49.62845849802372,49.77075098814229,49.91304347826087,50.055335968379445,50.19762845849802,50.3399209486166,50.48221343873518,50.62450592885376,50.76679841897233,50.90909090909091,51.051383399209485,51.19367588932806,51.33596837944664,51.47826086956522,51.6205533596838,51.762845849802375,51.905138339920946,52.047430830039524,52.1897233201581,52.33201581027668,52.47430830039526,52.616600790513836,52.758893280632414,52.901185770750985,53.04347826086956,53.18577075098814,53.32806324110672,53.4703557312253,53.612648221343875,53.75494071146245,53.89723320158103,54.0395256916996,54.18181818181818,54.32411067193676,54.466403162055336,54.608695652173914,54.75098814229249,54.89328063241107,55.03557312252964,55.17786561264822,55.3201581027668,55.462450592885375,55.60474308300395,55.74703557312253,55.88932806324111,56.03162055335969,56.17391304347826,56.316205533596836,56.458498023715414,56.60079051383399,56.74308300395257,56.88537549407115,57.027667984189726,57.1699604743083,57.312252964426875,57.45454545454545,57.59683794466403,57.73913043478261,57.88142292490119,58.023715415019765,58.16600790513834,58.308300395256914,58.45059288537549,58.59288537549407,58.73517786561265,58.87747035573123,59.019762845849804,59.16205533596838,59.30434782608695,59.44664031620553,59.58893280632411,59.73122529644269,59.873517786561266,60.015810276679844,60.15810276679842,60.30039525691699,60.44268774703557,60.58498023715415,60.72727272727273,60.869565217391305,61.01185770750988,61.15415019762846,61.29644268774704,61.43873517786561,61.58102766798419,61.723320158102766,61.865612648221344,62.00790513833992,62.1501976284585,62.29249011857708,62.43478260869565,62.57707509881423,62.719367588932805,62.86166007905138,63.00395256916996,63.14624505928854,63.28853754940712,63.430830039525695,63.573122529644266,63.715415019762844,63.85770750988142,64.0,64.14229249011858,64.28458498023716,64.42687747035573,64.56916996047431,64.71146245059289,64.85375494071147,64.99604743083005,65.13833992094861,65.28063241106719,65.42292490118577,65.56521739130434,65.70750988142292,65.8498023715415,65.99209486166008,66.13438735177866,66.27667984189723,66.41897233201581,66.56126482213439,66.70355731225297,66.84584980237155,66.98814229249012,67.1304347826087,67.27272727272727,67.41501976284584,67.55731225296442,67.699604743083,67.84189723320158,67.98418972332016,68.12648221343873,68.26877470355731,68.41106719367589,68.55335968379447,68.69565217391305,68.83794466403162,68.9802371541502,69.12252964426878,69.26482213438736,69.40711462450592,69.5494071146245,69.69169960474308,69.83399209486166,69.97628458498023,70.11857707509881,70.26086956521739,70.40316205533597,70.54545454545455,70.68774703557312,70.8300395256917,70.97233201581028,71.11462450592886,71.25691699604744,71.39920948616601,71.54150197628458,71.68379446640316,71.82608695652173,71.96837944664031,72.11067193675889,72.25296442687747,72.39525691699605,72.53754940711462,72.6798418972332,72.82213438735178,72.96442687747036,73.10671936758894,73.24901185770752,73.3913043478261,73.53359683794466,73.67588932806323,73.81818181818181,73.96047430830039,74.10276679841897,74.24505928853755,74.38735177865613,74.5296442687747,74.67193675889328,74.81422924901186,74.95652173913044,75.09881422924902,75.2411067193676,75.38339920948617,75.52569169960475,75.66798418972331,75.81027667984189,75.95256916996047,76.09486166007905,76.23715415019763,76.3794466403162,76.52173913043478,76.66403162055336,76.80632411067194,76.94861660079052,77.0909090909091,77.23320158102767,77.37549407114625,77.51778656126483,77.6600790513834,77.80237154150197,77.94466403162055,78.08695652173913,78.2292490118577,78.37154150197628,78.51383399209486,78.65612648221344,78.79841897233202,78.9407114624506,79.08300395256917,79.22529644268775,79.36758893280633,79.5098814229249,79.65217391304348,79.79446640316206,79.93675889328063,80.0790513833992,80.22134387351778,80.36363636363636,80.50592885375494,80.64822134387352,80.7905138339921,80.93280632411067,81.07509881422925,81.21739130434783,81.3596837944664,81.50197628458498,81.64426877470356,81.78656126482214,81.92885375494072,82.07114624505928,82.21343873517786,82.35573122529644,82.49802371541502,82.6403162055336,82.78260869565217,82.92490118577075,83.06719367588933,83.2094861660079,83.35177865612648,83.49407114624506,83.63636363636364,83.77865612648222,83.9209486166008,84.06324110671937,84.20553359683794,84.34782608695652,84.4901185770751,84.63241106719367,84.77470355731225,84.91699604743083,85.0592885375494,85.20158102766798,85.34387351778656,85.48616600790514,85.62845849802372,85.7707509881423,85.91304347826087,86.05533596837945,86.19762845849803,86.3399209486166,86.48221343873517,86.62450592885375,86.76679841897233,86.9090909090909,87.05138339920948,87.19367588932806,87.33596837944664,87.47826086956522,87.6205533596838,87.76284584980237,87.90513833992095,88.04743083003953,88.18972332015811,88.33201581027669,88.47430830039525,88.61660079051383,88.7588932806324,88.90118577075098,89.04347826086956,89.18577075098814,89.32806324110672,89.4703557312253,89.61264822134387,89.75494071146245,89.89723320158103,90.03952569169961,90.18181818181819,90.32411067193677,90.46640316205534,90.6086956521739,90.75098814229248,90.89328063241106,91.03557312252964,91.17786561264822,91.3201581027668,91.46245059288538,91.60474308300395,91.74703557312253,91.88932806324111,92.03162055335969,92.17391304347827,92.31620553359684,92.45849802371542,92.60079051383399,92.74308300395256,92.88537549407114,93.02766798418972,93.1699604743083,93.31225296442688,93.45454545454545,93.59683794466403,93.73913043478261,93.88142292490119,94.02371541501977,94.16600790513834,94.30830039525692,94.4505928853755,94.59288537549408,94.73517786561264,94.87747035573122,95.0197628458498,95.16205533596838,95.30434782608695,95.44664031620553,95.58893280632411,95.73122529644269,95.87351778656127,96.01581027667984,96.15810276679842,96.300395256917,96.44268774703558,96.58498023715416,96.72727272727273,96.8695652173913,97.01185770750988,97.15415019762845,97.29644268774703,97.43873517786561,97.58102766798419,97.72332015810277,97.86561264822134,98.00790513833992,98.1501976284585,98.29249011857708,98.43478260869566,98.57707509881423,98.71936758893281,98.86166007905139,99.00395256916995,99.14624505928853,99.28853754940711,99.43083003952569,99.57312252964427,99.71541501976284,99.85770750988142,100.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/medium_positive.json b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/medium_positive.json new file mode 100644 index 000000000000..7b2fbd378976 --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/medium_positive.json @@ -0,0 +1 @@ +{"expected":[0.0,0.08888218,0.12565613,0.15384659,0.17758809,0.19848485,0.2173579,0.23469703,0.25081965,0.2659481,0.280243,0.29382578,0.30679175,0.3192155,0.33115873,0.3426711,0.35379535,0.3645664,0.37501538,0.38516822,0.39504752,0.4046739,0.41406447,0.4232355,0.43220055,0.44097263,0.44956264,0.45798132,0.46623746,0.47434008,0.48229676,0.49011436,0.49779993,0.50535905,0.51279783,0.520121,0.5273338,0.5344403,0.54144514,0.5483521,0.5551646,0.5618865,0.56852067,0.5750705,0.5815385,0.5879278,0.5942406,0.60047966,0.60664713,0.612745,0.6187757,0.62474084,0.63064265,0.63648254,0.64226264,0.64798415,0.65364903,0.65925854,0.66481394,0.67031693,0.67576855,0.6811702,0.686523,0.6918282,0.69708675,0.7022999,0.70746857,0.7125936,0.7176763,0.72271717,0.7277174,0.73267764,0.737599,0.7424818,0.7473273,0.75213605,0.75690854,0.76164585,0.7663483,0.77101684,0.77565175,0.78025407,0.78482413,0.78936255,0.7938698,0.7983466,0.8027934,0.80721056,0.81159884,0.81595844,0.8202901,0.824594,0.8288709,0.83312094,0.83734477,0.8415427,0.845715,0.8498623,0.8539847,0.85808295,0.862157,0.8662075,0.87023455,0.8742387,0.87822026,0.8821794,0.8861165,0.89003175,0.8939258,0.89779854,0.9016505,0.9054819,0.90929294,0.91308403,0.91685516,0.9206069,0.92433923,0.92805266,0.9317472,0.93542325,0.93908083,0.9427204,0.9463422,0.94994605,0.9535326,0.9571017,0.9606539,0.9641892,0.9677079,0.97120994,0.97469586,0.9781655,0.98161936,0.9850575,0.98847985,0.991887,0.9952787,0.99865556,1.0020173,1.0053644,1.0086968,1.0120149,1.0153186,1.0186081,1.0218837,1.0251454,1.0283934,1.0316278,1.0348487,1.0380563,1.0412507,1.0444322,1.0476006,1.0507562,1.0538992,1.0570296,1.0601475,1.0632532,1.0663466,1.069428,1.0724974,1.0755547,1.0786005,1.0816345,1.0846571,1.0876681,1.0906677,1.0936562,1.0966336,1.0995998,1.1025552,1.1054996,1.1084332,1.1113563,1.1142688,1.1171707,1.1200622,1.1229435,1.1258144,1.1286753,1.131526,1.1343669,1.1371977,1.1400188,1.1428303,1.1456319,1.148424,1.1512066,1.1539798,1.1567436,1.1594981,1.1622435,1.1649796,1.1677067,1.1704247,1.173134,1.1758343,1.1785258,1.1812086,1.1838827,1.1865482,1.1892052,1.1918536,1.1944937,1.1971254,1.199749,1.2023642,1.2049713,1.2075701,1.2101611,1.2127439,1.2153189,1.2178859,1.2204452,1.2229965,1.2255403,1.2280763,1.2306048,1.2331257,1.235639,1.2381449,1.2406434,1.2431345,1.2456183,1.2480949,1.2505642,1.2530264,1.2554815,1.2579294,1.2603705,1.2628044,1.2652315,1.2676517,1.270065,1.2724714,1.2748711,1.2772644,1.2796506,1.2820303,1.2844034,1.2867701,1.2891301,1.2914838,1.293831,1.2961718,1.2985063,1.3008344,1.3031563,1.3054719,1.3077813,1.3100846,1.3123817,1.3146728,1.316958,1.3192369,1.32151,1.3237771,1.3260382,1.3282934,1.330543,1.3327867,1.3350246,1.3372567,1.3394833,1.341704,1.3439192,1.3461287,1.3483326,1.350531,1.3527238,1.3549113,1.3570933,1.3592697,1.361441,1.3636067,1.3657671,1.3679222,1.3700722,1.3722168,1.3743562,1.3764904,1.3786194,1.3807433,1.3828621,1.3849759,1.3870845,1.3891882,1.3912867,1.3933805,1.3954692,1.397553,1.399632,1.401706,1.4037751,1.4058394,1.4078991,1.4099538,1.4120039,1.4140491,1.4160899,1.4181259,1.4201572,1.4221839,1.424206,1.4262234,1.4282362,1.4302448,1.4322486,1.434248,1.4362428,1.4382335,1.4402195,1.4422011,1.4441785,1.4461513,1.4481199,1.4500841,1.4520441,1.4539998,1.4559511,1.4578985,1.4598414,1.4617801,1.4637146,1.4656452,1.4675714,1.4694935,1.4714117,1.4733256,1.4752356,1.4771415,1.4790434,1.4809412,1.4828352,1.484725,1.486611,1.4884931,1.4903711,1.4922453,1.4941158,1.4959822,1.4978447,1.4997036,1.5015587,1.5034099,1.5052572,1.5071009,1.5089408,1.510777,1.5126096,1.5144384,1.5162635,1.518085,1.5199028,1.521717,1.5235275,1.5253345,1.5271379,1.5289377,1.530734,1.5325269,1.5343161,1.5361017,1.5378839,1.5396627,1.5414379,1.5432098,1.5449783,1.5467432,1.5485047,1.5502629,1.5520178,1.5537691,1.5555173,1.557262,1.5590035,1.5607415,1.5624764,1.564208,1.5659363,1.5676613,1.569383,1.5711018,1.5728171,1.5745292,1.5762383,1.577944,1.5796466,1.5813462,1.5830425,1.5847358,1.5864258,1.5881127,1.5897968,1.5914775,1.5931553,1.5948302,1.5965018,1.5981704,1.599836,1.6014987,1.6031584,1.604815,1.6064687,1.6081195,1.6097672,1.611412,1.613054,1.614693,1.6163291,1.6179624,1.6195927,1.6212201,1.6228447,1.6244665,1.6260854,1.6277015,1.6293148,1.6309253,1.632533,1.6341379,1.6357399,1.6373394,1.6389359,1.6405298,1.642121,1.6437093,1.645295,1.6468779,1.6484582,1.6500359,1.6516107,1.6531831,1.6547526,1.6563195,1.6578839,1.6594456,1.6610047,1.6625612,1.664115,1.6656663,1.667215,1.6687611,1.6703048,1.6718457,1.6733842,1.6749201,1.6764536,1.6779844,1.6795127,1.6810386,1.6825621,1.6840829,1.6856014,1.6871173,1.6886308,1.6901418,1.6916505,1.6931567,1.6946604,1.6961619,1.6976608,1.6991574,1.7006514,1.7021432,1.7036326,1.7051196,1.7066042,1.7080866,1.7095666,1.7110442,1.7125195,1.7139926,1.7154632,1.7169316,1.7183976,1.7198615,1.721323,1.7227821,1.7242392,1.725694,1.7271464,1.7285966,1.7300446,1.7314903,1.7329339,1.7343751,1.7358143,1.7372512,1.7386858,1.7401185,1.7415488,1.7429769,1.7444029,1.7458268,1.7472485,1.7486681,1.7500856,1.7515007,1.752914,1.7543249,1.755734,1.7571408,1.7585455,1.7599481,1.7613487,1.7627472],"x":[1.0,1.0039525691699605,1.007905138339921,1.0118577075098814,1.0158102766798418,1.0197628458498025,1.023715415019763,1.0276679841897234,1.0316205533596838,1.0355731225296443,1.0395256916996047,1.0434782608695652,1.0474308300395256,1.051383399209486,1.0553359683794465,1.0592885375494072,1.0632411067193677,1.0671936758893281,1.0711462450592886,1.075098814229249,1.0790513833992095,1.08300395256917,1.0869565217391304,1.0909090909090908,1.0948616600790513,1.098814229249012,1.1027667984189724,1.1067193675889329,1.1106719367588933,1.1146245059288538,1.1185770750988142,1.1225296442687747,1.1264822134387351,1.1304347826086956,1.134387351778656,1.1383399209486167,1.1422924901185771,1.1462450592885376,1.150197628458498,1.1541501976284585,1.158102766798419,1.1620553359683794,1.1660079051383399,1.1699604743083003,1.173913043478261,1.1778656126482214,1.1818181818181819,1.1857707509881423,1.1897233201581028,1.1936758893280632,1.1976284584980237,1.2015810276679841,1.2055335968379446,1.209486166007905,1.2134387351778657,1.2173913043478262,1.2213438735177866,1.225296442687747,1.2292490118577075,1.233201581027668,1.2371541501976284,1.2411067193675889,1.2450592885375493,1.2490118577075098,1.2529644268774704,1.256916996047431,1.2608695652173914,1.2648221343873518,1.2687747035573123,1.2727272727272727,1.2766798418972332,1.2806324110671936,1.284584980237154,1.2885375494071147,1.2924901185770752,1.2964426877470356,1.300395256916996,1.3043478260869565,1.308300395256917,1.3122529644268774,1.316205533596838,1.3201581027667983,1.3241106719367588,1.3280632411067195,1.33201581027668,1.3359683794466404,1.3399209486166008,1.3438735177865613,1.3478260869565217,1.3517786561264822,1.3557312252964426,1.359683794466403,1.3636363636363635,1.3675889328063242,1.3715415019762847,1.3754940711462451,1.3794466403162056,1.383399209486166,1.3873517786561265,1.391304347826087,1.3952569169960474,1.3992094861660078,1.4031620553359683,1.407114624505929,1.4110671936758894,1.4150197628458498,1.4189723320158103,1.4229249011857708,1.4268774703557312,1.4308300395256917,1.434782608695652,1.4387351778656126,1.4426877470355732,1.4466403162055337,1.4505928853754941,1.4545454545454546,1.458498023715415,1.4624505928853755,1.466403162055336,1.4703557312252964,1.4743083003952568,1.4782608695652173,1.482213438735178,1.4861660079051384,1.4901185770750989,1.4940711462450593,1.4980237154150198,1.5019762845849802,1.5059288537549407,1.5098814229249011,1.5138339920948616,1.517786561264822,1.5217391304347827,1.5256916996047432,1.5296442687747036,1.533596837944664,1.5375494071146245,1.541501976284585,1.5454545454545454,1.5494071146245059,1.5533596837944663,1.5573122529644268,1.5612648221343874,1.565217391304348,1.5691699604743083,1.5731225296442688,1.5770750988142292,1.5810276679841897,1.5849802371541502,1.5889328063241106,1.592885375494071,1.5968379446640317,1.6007905138339922,1.6047430830039526,1.608695652173913,1.6126482213438735,1.616600790513834,1.6205533596837944,1.6245059288537549,1.6284584980237153,1.6324110671936758,1.6363636363636365,1.640316205533597,1.6442687747035574,1.6482213438735178,1.6521739130434783,1.6561264822134387,1.6600790513833992,1.6640316205533596,1.66798418972332,1.6719367588932805,1.6758893280632412,1.6798418972332017,1.683794466403162,1.6877470355731226,1.691699604743083,1.6956521739130435,1.699604743083004,1.7035573122529644,1.7075098814229248,1.7114624505928853,1.715415019762846,1.7193675889328064,1.7233201581027668,1.7272727272727273,1.7312252964426877,1.7351778656126482,1.7391304347826086,1.743083003952569,1.7470355731225296,1.7509881422924902,1.7549407114624507,1.7588932806324111,1.7628458498023716,1.766798418972332,1.7707509881422925,1.774703557312253,1.7786561264822134,1.7826086956521738,1.7865612648221343,1.790513833992095,1.7944664031620554,1.7984189723320159,1.8023715415019763,1.8063241106719368,1.8102766798418972,1.8142292490118577,1.8181818181818181,1.8221343873517786,1.826086956521739,1.8300395256916997,1.8339920948616601,1.8379446640316206,1.841897233201581,1.8458498023715415,1.849802371541502,1.8537549407114624,1.8577075098814229,1.8616600790513833,1.865612648221344,1.8695652173913044,1.8735177865612649,1.8774703557312253,1.8814229249011858,1.8853754940711462,1.8893280632411067,1.8932806324110671,1.8972332015810276,1.901185770750988,1.9051383399209487,1.9090909090909092,1.9130434782608696,1.91699604743083,1.9209486166007905,1.924901185770751,1.9288537549407114,1.9328063241106719,1.9367588932806323,1.9407114624505928,1.9446640316205535,1.948616600790514,1.9525691699604744,1.9565217391304348,1.9604743083003953,1.9644268774703557,1.9683794466403162,1.9723320158102766,1.976284584980237,1.9802371541501975,1.9841897233201582,1.9881422924901186,1.992094861660079,1.9960474308300395,2.0,2.0039525691699605,2.007905138339921,2.0118577075098814,2.015810276679842,2.0197628458498023,2.0237154150197627,2.027667984189723,2.0316205533596836,2.035573122529644,2.039525691699605,2.0434782608695654,2.047430830039526,2.0513833992094863,2.0553359683794468,2.059288537549407,2.0632411067193677,2.067193675889328,2.0711462450592886,2.075098814229249,2.0790513833992095,2.08300395256917,2.0869565217391304,2.090909090909091,2.0948616600790513,2.0988142292490117,2.102766798418972,2.1067193675889326,2.110671936758893,2.1146245059288535,2.1185770750988144,2.122529644268775,2.1264822134387353,2.130434782608696,2.1343873517786562,2.1383399209486167,2.142292490118577,2.1462450592885376,2.150197628458498,2.1541501976284585,2.158102766798419,2.1620553359683794,2.16600790513834,2.1699604743083003,2.1739130434782608,2.177865612648221,2.1818181818181817,2.185770750988142,2.1897233201581026,2.1936758893280635,2.197628458498024,2.2015810276679844,2.205533596837945,2.2094861660079053,2.2134387351778657,2.217391304347826,2.2213438735177866,2.225296442687747,2.2292490118577075,2.233201581027668,2.2371541501976284,2.241106719367589,2.2450592885375493,2.2490118577075098,2.2529644268774702,2.2569169960474307,2.260869565217391,2.2648221343873516,2.268774703557312,2.272727272727273,2.2766798418972334,2.280632411067194,2.2845849802371543,2.2885375494071147,2.292490118577075,2.2964426877470356,2.300395256916996,2.3043478260869565,2.308300395256917,2.3122529644268774,2.316205533596838,2.3201581027667983,2.324110671936759,2.3280632411067192,2.3320158102766797,2.33596837944664,2.3399209486166006,2.343873517786561,2.347826086956522,2.3517786561264824,2.355731225296443,2.3596837944664033,2.3636363636363638,2.367588932806324,2.3715415019762847,2.375494071146245,2.3794466403162056,2.383399209486166,2.3873517786561265,2.391304347826087,2.3952569169960474,2.399209486166008,2.4031620553359683,2.4071146245059287,2.411067193675889,2.4150197628458496,2.41897233201581,2.4229249011857705,2.4268774703557314,2.430830039525692,2.4347826086956523,2.438735177865613,2.4426877470355732,2.4466403162055337,2.450592885375494,2.4545454545454546,2.458498023715415,2.4624505928853755,2.466403162055336,2.4703557312252964,2.474308300395257,2.4782608695652173,2.4822134387351777,2.486166007905138,2.4901185770750986,2.494071146245059,2.4980237154150196,2.5019762845849804,2.505928853754941,2.5098814229249014,2.513833992094862,2.5177865612648223,2.5217391304347827,2.525691699604743,2.5296442687747036,2.533596837944664,2.5375494071146245,2.541501976284585,2.5454545454545454,2.549407114624506,2.5533596837944663,2.5573122529644268,2.561264822134387,2.5652173913043477,2.569169960474308,2.5731225296442686,2.5770750988142295,2.58102766798419,2.5849802371541504,2.588932806324111,2.5928853754940713,2.5968379446640317,2.600790513833992,2.6047430830039526,2.608695652173913,2.6126482213438735,2.616600790513834,2.6205533596837944,2.624505928853755,2.6284584980237153,2.632411067193676,2.6363636363636362,2.6403162055335967,2.644268774703557,2.6482213438735176,2.652173913043478,2.656126482213439,2.6600790513833994,2.66403162055336,2.6679841897233203,2.6719367588932808,2.675889328063241,2.6798418972332017,2.683794466403162,2.6877470355731226,2.691699604743083,2.6956521739130435,2.699604743083004,2.7035573122529644,2.707509881422925,2.7114624505928853,2.7154150197628457,2.719367588932806,2.7233201581027666,2.727272727272727,2.731225296442688,2.7351778656126484,2.739130434782609,2.7430830039525693,2.7470355731225298,2.7509881422924902,2.7549407114624507,2.758893280632411,2.7628458498023716,2.766798418972332,2.7707509881422925,2.774703557312253,2.7786561264822134,2.782608695652174,2.7865612648221343,2.7905138339920947,2.794466403162055,2.7984189723320156,2.802371541501976,2.8063241106719365,2.8102766798418974,2.814229249011858,2.8181818181818183,2.822134387351779,2.8260869565217392,2.8300395256916997,2.83399209486166,2.8379446640316206,2.841897233201581,2.8458498023715415,2.849802371541502,2.8537549407114624,2.857707509881423,2.8616600790513833,2.8656126482213438,2.869565217391304,2.8735177865612647,2.877470355731225,2.8814229249011856,2.8853754940711465,2.889328063241107,2.8932806324110674,2.897233201581028,2.9011857707509883,2.9051383399209487,2.909090909090909,2.9130434782608696,2.91699604743083,2.9209486166007905,2.924901185770751,2.9288537549407114,2.932806324110672,2.9367588932806323,2.940711462450593,2.9446640316205532,2.9486166007905137,2.952569169960474,2.9565217391304346,2.960474308300395,2.964426877470356,2.9683794466403164,2.972332015810277,2.9762845849802373,2.9802371541501977,2.984189723320158,2.9881422924901186,2.992094861660079,2.9960474308300395,3.0]} diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/runner.jl new file mode 100755 index 000000000000..a9181e17cf0d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/fixtures/julia/runner.jl @@ -0,0 +1,74 @@ +#!/usr/bin/env julia +# +# @license Apache-2.0 +# +# Copyright (c) 2025 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( domain ); + y = Float32.( acosh.( Float32.( 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" ); + write( outfile, JSON.json(data) ); + write( outfile, "\n" ); + close( outfile ); +end + +# Get the filename: +file = @__FILE__; + +# Extract the directory in which this file resides: +dir = dirname( file ); + +# Positive medium values: +x = range( 1.0, stop = 3.0, length = 507 ); +gen( x, "medium_positive.json" ); + +# Large positive values: +x = range( 3.0, stop = 28.0, length = 507 ); +gen( x, "large_positive.json" ); + +# Larger positive values: +x = range( 28.0, stop = 100.0, length = 507 ); +gen( x, "larger_positive.json" ); + +# Huge positive values: +x = range( 1e30, stop = 1e32, length = 1003 ); +gen( x, "huge_positive.json" ); diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/test.js b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/test.js new file mode 100644 index 000000000000..51fb07d26f7b --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/test.js @@ -0,0 +1,139 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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 ulpdiff = require( '@stdlib/number/float32/base/ulp-difference' ); +var f32 = require( '@stdlib/number/float64/base/to-float32' ); +var randu = require( '@stdlib/random/base/randu' ); +var EPS = require( '@stdlib/constants/float32/eps' ); +var acoshf = require( './../lib' ); + + +// FIXTURES // + +var largerPositive = require( './fixtures/julia/larger_positive.json' ); +var largePositive = require( './fixtures/julia/large_positive.json' ); +var mediumPositive = require( './fixtures/julia/medium_positive.json' ); +var hugePositive = require( './fixtures/julia/huge_positive.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof acoshf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine on the interval `[1.0,3.0]`', function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = mediumPositive.x; + expected = mediumPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 6, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine on the interval `[3.0,28.0]`', function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = largePositive.x; + expected = largePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 1, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine on the interval `[28.0,100.0]`', function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = largerPositive.x; + expected = largerPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 1, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine for huge values', function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = hugePositive.x; + expected = hugePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 1, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided a `NaN`', function test( t ) { + var v = acoshf( NaN ); + t.strictEqual( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `NaN` if provided value less than `1`', function test( t ) { + var v; + var i; + + for ( i = 0; i < 1e3; i++ ) { + v = f32( -f32( randu()*f32( 1.0e6) ) + f32( f32( 1.0) - EPS ) ); + t.strictEqual( isnanf( acoshf( v ) ), true, 'returns expected value when provided '+v ); + } + t.end(); +}); diff --git a/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/test.native.js b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/test.native.js new file mode 100644 index 000000000000..6a46612c442d --- /dev/null +++ b/lib/node_modules/@stdlib/math/base/special/fast/acoshf/test/test.native.js @@ -0,0 +1,148 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 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 ulpdiff = require( '@stdlib/number/float32/base/ulp-difference' ); +var f32 = require( '@stdlib/number/float64/base/to-float32' ); +var randu = require( '@stdlib/random/base/randu' ); +var EPS = require( '@stdlib/constants/float32/eps' ); +var tryRequire = require( '@stdlib/utils/try-require' ); + + +// VARIABLES // + +var acoshf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( acoshf instanceof Error ) +}; + + +// FIXTURES // + +var largerPositive = require( './fixtures/julia/larger_positive.json' ); +var largePositive = require( './fixtures/julia/large_positive.json' ); +var mediumPositive = require( './fixtures/julia/medium_positive.json' ); +var hugePositive = require( './fixtures/julia/huge_positive.json' ); + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof acoshf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine on the interval `[1.0,3.0]`', opts, function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = mediumPositive.x; + expected = mediumPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 6, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine on the interval `[3.0,28.0]`', opts, function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = largePositive.x; + expected = largePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 1, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine on the interval `[28.0,100.0]`', opts, function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = largerPositive.x; + expected = largerPositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 1, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function computes the hyperbolic arccosine for huge values', opts, function test( t ) { + var expected; + var v; + var x; + var i; + var e; + + x = hugePositive.x; + expected = hugePositive.expected; + + for ( i = 0; i < x.length; i++ ) { + x[ i ] = f32( x[ i ] ); + v = acoshf( x[ i ] ); + e = f32( expected[ i ] ); + t.strictEqual( ulpdiff( v, e ) <= 1, true, 'returns expected value' ); + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided a `NaN`', opts, function test( t ) { + var v = acoshf( NaN ); + t.strictEqual( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `NaN` if provided value less than `1`', opts, function test( t ) { + var v; + var i; + + for ( i = 0; i < 1e3; i++ ) { + v = f32( -f32(randu()*f32( 1.0e6 ) ) + f32( f32( 1.0 )-EPS ) ); + t.strictEqual( isnanf( acoshf( v ) ), true, 'returns expected value when provided '+v ); + } + t.end(); +});