diff --git a/base/special/acotf/README.md b/base/special/acotf/README.md new file mode 100644 index 000000000..8d587f9b7 --- /dev/null +++ b/base/special/acotf/README.md @@ -0,0 +1,172 @@ + + +# acotf + +> Compute the [inverse cotangent][arccotangent] of a single-precision floating-point number. + +
+ +## Usage + +```javascript +var acotf = require( '@stdlib/math/base/special/acotf' ); +``` + +#### acotf( x ) + +Computes the [inverse cotangent][arccotangent] of a single-precision floating-point number. + +```javascript +var v = acotf( 2.0 ); +// returns ~0.4636 + +v = acotf( Infinity ); +// returns 0.0 +``` + +
+ + + +
+ +## Examples + + + +```javascript +var linspace = require( '@stdlib/array/base/linspace' ); +var acotf = require( '@stdlib/math/base/special/acotf' ); + +var x = linspace( -5.0, 5.0, 100 ); + +var i; +for ( i = 0; i < x.length; i++ ) { + console.log( acotf( x[ i ] ) ); +} +``` + +
+ + + + + +* * * + +
+ +## C APIs + + + +
+ +
+ + + + + +
+ +### Usage + +```c +#include "stdlib/math/base/special/acotf.h" +``` + +#### stdlib_base_acotf( x ) + +Computes the [inverse cotangent][arccotangent] of a single-precision floating-point number. + +```c +float out = stdlib_base_acotf( 2.0f ); +// returns ~0.4636f +``` + +The function accepts the following arguments: + +- **x**: `[in] float` input value. + +```c +float stdlib_base_acotf( const float x ); +``` + +
+ + + + + +
+ +
+ + + + + +
+ +### Examples + +```c +#include "stdlib/math/base/special/acotf.h" +#include + +int main( void ) { + const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.56f, 0.56f, 1.67f, 2.78f, 3.89f, 5.0f }; + + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_acotf( x[ i ] ); + printf( "acot(%f) = %f\n", x[ i ], v ); + } +} +``` + +
+ + + +
+ + + + + + + + + + + + + + diff --git a/base/special/acotf/benchmark/benchmark.js b/base/special/acotf/benchmark/benchmark.js new file mode 100644 index 000000000..1f9e79536 --- /dev/null +++ b/base/special/acotf/benchmark/benchmark.js @@ -0,0 +1,51 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 randu = require( '@stdlib/random/base/randu' ); +var isnanf = require( './../../../../base/assert/is-nanf' ); +var pkg = require( './../package.json' ).name; +var acotf = require( './../lib' ); + + +// MAIN // + +bench( pkg, function benchmark( b ) { + var x; + var y; + var i; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + x = ( randu() * 100.0 ) - 50.0; + y = acotf( x ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/base/special/acotf/benchmark/benchmark.native.js b/base/special/acotf/benchmark/benchmark.native.js new file mode 100644 index 000000000..bf1da7ec1 --- /dev/null +++ b/base/special/acotf/benchmark/benchmark.native.js @@ -0,0 +1,60 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 randu = require( '@stdlib/random/base/randu' ); +var isnanf = require( './../../../../base/assert/is-nanf' ); +var tryRequire = require( '@stdlib/utils/try-require' ); +var pkg = require( './../package.json' ).name; + + +// VARIABLES // + +var acotf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( acotf instanceof Error ) +}; + + +// MAIN // + +bench( pkg+'::native', opts, function benchmark( b ) { + var x; + var y; + var i; + + b.tic(); + for ( i = 0; i < b.iterations; i++ ) { + x = ( randu() * 100.0 ) - 50.0; + y = acotf( x ); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnanf( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/base/special/acotf/benchmark/c/native/Makefile b/base/special/acotf/benchmark/c/native/Makefile new file mode 100644 index 000000000..f69e9da2b --- /dev/null +++ b/base/special/acotf/benchmark/c/native/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2024 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/base/special/acotf/benchmark/c/native/benchmark.c b/base/special/acotf/benchmark/c/native/benchmark.c new file mode 100644 index 000000000..152daaaee --- /dev/null +++ b/base/special/acotf/benchmark/c/native/benchmark.c @@ -0,0 +1,136 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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. +*/ + +/** +* Benchmark `acotf`. +*/ +#include "stdlib/math/base/special/acotf.h" +#include +#include +#include +#include +#include + +#define NAME "acotf" +#define ITERATIONS 1000000 +#define REPEATS 3 + +/** +* Prints the TAP version. +*/ +void print_version() { + printf( "TAP version 13\n" ); +} + +/** +* Prints the TAP summary. +* +* @param total total number of tests +* @param passing total number of passing tests +*/ +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 +*/ +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 +*/ +double tic() { + struct timeval now; + gettimeofday( &now, NULL ); + return (double)now.tv_sec + (double)now.tv_usec/1.0e6; +} + +/** +* Generates a random number on the interval [0,1]. +* +* @return random number +*/ +float rand_float() { + int r = rand(); + return (float)r / ( (float)RAND_MAX + 1.0f ); +} + +/** +* Runs a benchmark. +* +* @return elapsed time in seconds +*/ +double benchmark() { + double elapsed; + double t; + float x; + float y; + int i; + + t = tic(); + for ( i = 0; i < ITERATIONS; i++ ) { + x = ( 100.0f * rand_float() ) - 50.0f; + y = stdlib_base_acotf( x ); + 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/base/special/acotf/binding.gyp b/base/special/acotf/binding.gyp new file mode 100644 index 000000000..ec3992233 --- /dev/null +++ b/base/special/acotf/binding.gyp @@ -0,0 +1,170 @@ +# @license Apache-2.0 +# +# Copyright (c) 2024 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/base/special/acotf/docs/repl.txt b/base/special/acotf/docs/repl.txt new file mode 100644 index 000000000..ac2069d87 --- /dev/null +++ b/base/special/acotf/docs/repl.txt @@ -0,0 +1,30 @@ + +{{alias}}( x ) + Computes the inverse cotangent of a single-precision floating-point number. + + Parameters + ---------- + x: number + Input value. + + Returns + ------- + y: number + Inverse cotangent (in radians). + + Examples + -------- + > var y = {{alias}}( 2.0 ) + ~0.4636 + > y = {{alias}}( 0.0 ) + ~1.5708 + > y = {{alias}}( 0.5 ) + ~1.1071 + > y = {{alias}}( 1.0 ) + ~0.7854 + > y = {{alias}}( NaN ) + NaN + + See Also + -------- + diff --git a/base/special/acotf/docs/types/index.d.ts b/base/special/acotf/docs/types/index.d.ts new file mode 100644 index 000000000..d053c8e6c --- /dev/null +++ b/base/special/acotf/docs/types/index.d.ts @@ -0,0 +1,56 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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 inverse cotangent of a single-precision floating-point number. +* +* @param x - input value +* @returns inverse cotangent (in radians) +* +* @example +* var v = acotf( 2.0 ); +* // returns ~0.4636 +* +* @example +* var v = acotf( 0.0 ); +* // returns ~1.5708 +* +* @example +* var v = acotf( 0.5 ); +* // returns ~1.1071 +* +* @example +* var v = acotf( 1.0 ); +* // returns ~0.7854 +* +* @example +* var v = acotf( NaN ); +* // returns NaN +* +* @example +* var v = acotf( Infinity ); +* // returns 0.0 +*/ +declare function acotf( x: number ): number; + + +// EXPORTS // + +export = acotf; diff --git a/base/special/acotf/docs/types/test.ts b/base/special/acotf/docs/types/test.ts new file mode 100644 index 000000000..018136dbb --- /dev/null +++ b/base/special/acotf/docs/types/test.ts @@ -0,0 +1,44 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2024 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 acotf = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + acotf( 8 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + acotf( true ); // $ExpectError + acotf( false ); // $ExpectError + acotf( null ); // $ExpectError + acotf( undefined ); // $ExpectError + acotf( '5' ); // $ExpectError + acotf( [] ); // $ExpectError + acotf( {} ); // $ExpectError + acotf( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + acotf(); // $ExpectError +} diff --git a/base/special/acotf/examples/c/Makefile b/base/special/acotf/examples/c/Makefile new file mode 100644 index 000000000..6aed70daf --- /dev/null +++ b/base/special/acotf/examples/c/Makefile @@ -0,0 +1,146 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2024 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/base/special/acotf/examples/c/example.c b/base/special/acotf/examples/c/example.c new file mode 100644 index 000000000..b2033d13b --- /dev/null +++ b/base/special/acotf/examples/c/example.c @@ -0,0 +1,31 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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/acotf.h" +#include + +int main( void ) { + const float x[] = { -5.0f, -3.89f, -2.78f, -1.67f, -0.56f, 0.56f, 1.67f, 2.78f, 3.89f, 5.0f }; + + float v; + int i; + for ( i = 0; i < 10; i++ ) { + v = stdlib_base_acotf( x[ i ] ); + printf( "acot(%f) = %f\n", x[ i ], v ); + } +} diff --git a/base/special/acotf/examples/index.js b/base/special/acotf/examples/index.js new file mode 100644 index 000000000..8de9c0c7b --- /dev/null +++ b/base/special/acotf/examples/index.js @@ -0,0 +1,29 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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 linspace = require( '@stdlib/array/base/linspace' ); +var acotf = require( './../lib' ); + +var x = linspace( -5.0, 5.0, 100 ); + +var i; +for ( i = 0; i < x.length; i++ ) { + console.log( 'acotf(%d) = %d', x[ i ], acotf( x[ i ] ) ); +} diff --git a/base/special/acotf/include.gypi b/base/special/acotf/include.gypi new file mode 100644 index 000000000..575cb043c --- /dev/null +++ b/base/special/acotf/include.gypi @@ -0,0 +1,53 @@ +# @license Apache-2.0 +# +# Copyright (c) 2024 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# A GYP include file for building a Node.js native add-on. +# +# Main documentation: +# +# [1]: https://gyp.gsrc.io/docs/InputFormatReference.md +# [2]: https://gyp.gsrc.io/docs/UserDocumentation.md +{ + # Define variables to be used throughout the configuration for all targets: + 'variables': { + # Source directory: + 'src_dir': './src', + + # Include directories: + 'include_dirs': [ + '=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdmath", + "mathematics", + "math", + "math.acot", + "acotf", + "inverse", + "cotangent", + "trig", + "trigonometry", + "radians", + "angle" + ] +} diff --git a/base/special/acotf/src/Makefile b/base/special/acotf/src/Makefile new file mode 100644 index 000000000..bcf18aa46 --- /dev/null +++ b/base/special/acotf/src/Makefile @@ -0,0 +1,70 @@ +#/ +# @license Apache-2.0 +# +# Copyright (c) 2024 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/base/special/acotf/src/addon.c b/base/special/acotf/src/addon.c new file mode 100644 index 000000000..1454b0fe0 --- /dev/null +++ b/base/special/acotf/src/addon.c @@ -0,0 +1,23 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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/acotf.h" +#include "stdlib/math/base/napi/unary.h" + +// cppcheck-suppress shadowFunction +STDLIB_MATH_BASE_NAPI_MODULE_F_F( stdlib_base_acotf ) diff --git a/base/special/acotf/src/main.c b/base/special/acotf/src/main.c new file mode 100644 index 000000000..a65e6972b --- /dev/null +++ b/base/special/acotf/src/main.c @@ -0,0 +1,34 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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/acotf.h" +#include "stdlib/math/base/special/atanf.h" + +/** +* Computes the inverse cotangent of a single-precision floating-point number. +* +* @param x input value +* @return inverse cotangent (in radians) +* +* @example +* float out = stdlib_base_acotf( 0.0f ); +* // returns ~1.571f +*/ +float stdlib_base_acotf( const float x ) { + return stdlib_base_atanf( 1.0f / x ); +} diff --git a/base/special/acotf/test/fixtures/julia/REQUIRE b/base/special/acotf/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000..308c3be89 --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/REQUIRE @@ -0,0 +1,2 @@ +julia 1.5 +JSON 0.21 diff --git a/base/special/acotf/test/fixtures/julia/huge_negative.json b/base/special/acotf/test/fixtures/julia/huge_negative.json new file mode 100644 index 000000000..a16b15dc4 --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/huge_negative.json @@ -0,0 +1 @@ +{"expected":[-9.999999999999999e-31,-1.0019899700803996e-35,-5.00997495012525e-36,-3.339988877837037e-36,-2.5049937500405938e-36,-2.003996004031968e-36,-1.669997227804602e-36,-1.4314265367579942e-36,-1.2524984437706836e-36,-1.1133321049569109e-36,-1.0019990060169861e-36,-9.109082702635493e-37,-8.349993111255683e-37,-7.70768644392162e-37,-7.157137806248463e-37,-6.679995604562892e-37,-6.2624961407367535e-37,-5.894114231939695e-37,-5.566663623557219e-37,-5.273681482090054e-37,-5.009997540091208e-37,-4.771426342490837e-37,-4.554543425703383e-37,-4.356519884768275e-37,-4.174998298688193e-37,-4.007998433674212e-37,-3.853844707172141e-37,-3.711109770988138e-37,-3.5785701837402287e-37,-3.4551712545235755e-37,-3.3399989178403505e-37,-3.2322570520898072e-37,-3.1312490508401314e-37,-3.036362744777121e-37,-2.947057984484668e-37,-2.8628563518908308e-37,-2.7833325864724223e-37,-2.7081074018044207e-37,-2.6368414363381198e-37,-2.569230134828559e-37,-2.5049993975476446e-37,-2.4439018661976354e-37,-2.3857137404082878e-37,-2.3302320384435987e-37,-2.277272231448455e-37,-2.2266661931289894e-37,-2.1782604168658783e-37,-2.1319144604301466e-37,-2.0874995851094574e-37,-2.044897561471964e-37,-2.0039996184384727e-37,-1.964705515993148e-37,-1.9269227248891174e-37,-1.890565699217576e-37,-1.8555552298025264e-37,-1.8218178681342691e-37,-1.789285412024286e-37,-1.7578944454017106e-37,-1.7275859257170495e-37,-1.698304813304841e-37,-1.6699997378100413e-37,-1.642622697424925e-37,-1.6161287872320872e-37,-1.5904759534195366e-37,-1.5656247705381197e-37,-1.5415382393197955e-37,-1.5181816028760636e-37,-1.4955221793562334e-37,-1.4735292093711352e-37,-1.4521737166843368e-37,-1.4314283808441072e-37,-1.4112674205788778e-37,-1.3916664869097455e-37,-1.372602565048249e-37,-1.3540538842483778e-37,-1.3359998348704205e-37,-1.318420891992402e-37,-1.3012985449738763e-37,-1.2846152324378879e-37,-1.2683542821910125e-37,-1.2524998556493918e-37,-1.2370368963813604e-37,-1.2219510824152444e-37,-1.2072287819947893e-37,-1.1928570124949122e-37,-1.1788234022375225e-37,-1.1651161549713492e-37,-1.1517240168014398e-37,-1.1386362453734628e-37,-1.1258425811354747e-37,-1.113333220515567e-37,-1.1010987908680222e-37,-1.0891303270534134e-37,-1.077419249529667e-37,-1.0659573438415673e-37,-1.0547367414056606e-37,-1.0437499014961031e-37,-1.0329895943447854e-37,-1.0224488852761438e-37,-1.0121211198034979e-37,-1.0019999096196082e-37,-9.920791194194766e-38,-9.823528544982776e-38,-9.72815449071739e-38,-9.634614552703476e-38,-9.54285632762456e-38,-9.45282938964763e-38,-9.364485198017359e-38,-9.277777009784014e-38,-9.192659797335303e-38,-9.109090170426506e-38,-9.027026302425186e-38,-8.946427860507072e-38,-8.86725593955836e-38,-8.78947299955684e-38,-8.713042806220089e-38,-8.637930374723593e-38,-8.564101916305111e-38,-8.491524787584075e-38,-8.420167442436315e-38,-8.349999386275045e-38,-8.280991132598909e-38,-8.213114161677011e-38,-8.146340881249298e-38,-8.080644589128552e-38,-8.015999437597479e-38,-7.952380399501172e-38,-7.889763235941509e-38,-7.828124465485876e-38,-7.76744133480804e-38,-7.707691790684058e-38,-7.648854453270822e-38,-7.590908590599206e-38,-7.533834094217907e-38,-7.477611455927855e-38,-7.422221745550648e-38,-7.367646589677798e-38,-7.31386815135066e-38,-7.260869110623846e-38,-7.208632645967627e-38,-7.157142416467374e-38,-7.10638254478047e-38,-7.056337600813356e-38,-7.006992586083452e-38,-6.958332918732664e-38,-6.910344419161023e-38,-6.863013296250727e-38,-6.81632613415246e-38,-6.7702698796074e-38,-6.724831829779761e-38,-6.679999620576021e-38,-6.635761215428291e-38,-6.59210489452045e-38,-6.549019244436776e-38,-6.506493148213883e-38,-6.464515775777751e-38,-6.423076574748539e-38,-6.382165261596838e-38,-6.341771813135733e-38,-6.301886458333945e-38,-6.262499670435954e-38,-6.223602159375813e-38,-6.185184864471896e-38,-6.147238947390584e-38,-6.109755785367357e-38,-6.072726964674395e-38,-6.0361442743243e-38,-5.999999700000015e-38,-5.964285418201545e-38,-5.928993790600483e-38,-5.894117358593786e-38,-5.859648838048644e-38,-5.825581114230679e-38,-5.791907236908029e-38,-5.75862041562427e-38,-5.725714015133401e-38,-5.693181550990456e-38,-5.661016685291595e-38,-5.62921322255777e-38,-5.597765105756386e-38,-5.566666412455567e-38,-5.5359113511059e-38,-5.505494257444764e-38,-5.475409591018554e-38,-5.4456519318183e-38,-5.416215977024407e-38,-5.38709653785641e-38,-5.358288536523788e-38,-5.329787003274115e-38,-5.301587073534906e-38,-5.273683985145716e-38,-5.246073075677211e-38,-5.218749779833994e-38,-5.191709626938181e-38,-5.164948238490816e-38,-5.138461325808293e-38,-5.112244687731162e-38,-5.086294208402698e-38,-5.060605855114792e-38,-5.035175676218791e-38,-5.009999799099008e-38,-4.985074428206735e-38,-4.96039584315264e-38,-4.935960396855549e-38,-4.911764513745683e-38,-4.887804688020472e-38,-4.86407748195118e-38,-4.840579524238613e-38,-4.817307508416242e-38,-4.794258191299199e-38,-4.771428391477558e-38,-4.748814987852481e-38,-4.726414918213784e-38,-4.704225177857575e-38,-4.6822428182426474e-38,-4.660464945684377e-38,-4.6388887200848824e-38,-4.6175113536983226e-38,-4.5963301099301466e-38,-4.5753423021692686e-38,-4.554545292652072e-38,-4.533936491357267e-38,-4.513513354930612e-38,-4.493273385638567e-38,-4.4732141303499734e-38,-4.4533331795448945e-38,-4.4336281663497584e-38,-4.414096765598018e-38,-4.3947366929155174e-38,-4.3755457038298333e-38,-4.3565215929028406e-38,-4.337662192885821e-38,-4.318965373896408e-38,-4.3004290426167416e-38,-4.282051141512168e-38,-4.263829648069901e-38,-4.2457625740570285e-38,-4.227847964797313e-38,-4.2100838984662144e-38,-4.1924684854036215e-38,-4.174999867443754e-38,-4.1576762172617597e-38,-4.140495737736497e-38,-4.12345666132907e-38,-4.106557249476623e-38,-4.0897957920010037e-38,-4.07317060653183e-38,-4.056680037943586e-38,-4.040322457806325e-38,-4.024096263849619e-38,-4.0079998794393636e-38,-3.992031753067098e-38,-3.9761903578514774e-38,-3.960474191051575e-38,-3.944881773591671e-38,-3.9294116495972355e-38,-3.9140623859417756e-38,-3.89883257180427e-38,-3.883720818236888e-38,-3.8687257577427327e-38,-3.853846043863317e-38,-3.839080350775535e-38,-3.824427372897853e-38,-3.80988582450549e-38,-3.795454439354342e-38,-3.7811319703134243e-38,-3.7669171890056e-38,-3.752808885456385e-38,-3.7388058677506155e-38,-3.724906961696773e-38,-3.711111010498768e-38,-3.6974168744349917e-38,-3.683823430544445e-38,-3.6703295723197713e-38,-3.6569342094070036e-38,-3.6436362673118706e-38,-3.630434687112479e-38,-3.6173284251782274e-38,-3.60431645289478e-38,-3.591397756394962e-38,-3.5785713362954104e-38,-3.5658362074388647e-38,-3.553191398641922e-38,-3.540635952448154e-38,-3.5281689248864337e-38,-3.515789385234352e-38,-3.5034964157865933e-38,-3.4912891116281636e-38,-3.479166580412329e-38,-3.467127942143176e-38,-3.4551723289626654e-38,-3.443298884942079e-38,-3.4315067658777466e-38,-3.419795139090964e-38,-3.4081631832319887e-38,-3.3966100880880227e-38,-3.38513505439509e-38,-3.373737293653711e-38,-3.3624160279482924e-38,-3.3511704897701387e-38,-3.339999921844002e-38,-3.328903576958093e-38,-3.317880717797467e-38,-3.30693061678071e-38,-3.296052555899846e-38,-3.285245826563399e-38,-3.274509729442524e-38,-3.263843574320154e-38,-3.253246679943078e-38,-3.242718373876899e-38,-3.2322579923637895e-38,-3.2218648801830024e-38,-3.2115383905140547e-38,-3.2012778848025413e-38,-3.191082732628506e-38,-3.180952311577326e-38,-3.170886007113044e-38,-3.160883212454101e-38,-3.1509433284514076e-38,-3.1410657634687175e-38,-3.1312499332652356e-38,-3.121495260880428e-38,-3.111801176520969e-38,-3.1021671174498e-38,-3.09259252787723e-38,-3.0830768588540605e-38,-3.0736195681666617e-38,-3.064220120233989e-38,-3.0548779860064705e-38,-3.0455926428667527e-38,-3.0363635745322327e-38,-3.0271902709593755e-38,-3.018072228249747e-38,-3.0090089485577485e-38,-2.999999940000001e-38,-2.9910447165663637e-38,-2.9821427980325266e-38,-2.973293709874175e-38,-2.9644969831826626e-38,-2.9557521545821926e-38,-2.9470587661484443e-38,-2.938416365328645e-38,-2.929824504863036e-38,-2.9212827427077167e-38,-2.91279064195883e-38,-2.904347770778073e-38,-2.8959537023194904e-38,-2.887608014657543e-38,-2.87931029071641e-38,-2.8710601182005086e-38,-2.8628570895262053e-38,-2.8547008017546946e-38,-2.846590856526021e-38,-2.838526859994223e-38,-2.8305084227635747e-38,-2.822535159825909e-38,-2.814606690498991e-38,-2.8067226383659357e-38,-2.798882631215631e-38,-2.791086300984165e-38,-2.783333283697223e-38,-2.775623219413449e-38,-2.767955752168738e-38,-2.7603305299214544e-38,-2.752747204498552e-38,-2.745205431542579e-38,-2.737704870459555e-38,-2.7302451843676924e-38,-2.7228260400469645e-38,-2.715447107889485e-38,-2.7081080618506947e-38,-2.700808579401342e-38,-2.6935483414802296e-38,-2.686327032447729e-38,-2.679144340040036e-38,-2.671999955324161e-38,-2.6648935726536334e-38,-2.657824889624919e-38,-2.6507936070345184e-38,-2.6437994288367536e-38,-2.636842062102217e-38,-2.629921216976875e-38,-2.623036606641814e-38,-2.6161879472736204e-38,-2.6093749580053716e-38,-2.6025973608882453e-38,-2.595854880853715e-38,-2.5891472456763424e-38,-2.5824741859371354e-38,-2.575835434987478e-38,-2.56923072891361e-38,-2.562659806501659e-38,-2.5561224092031973e-38,-2.5496182811013354e-38,-2.543147168877323e-38,-2.5367088217776645e-38,-2.530302991581727e-38,-2.5239294325698415e-38,-2.517587901491882e-38,-2.511278157536323e-38,-2.5049999622997504e-38,-2.498753079756843e-38,-2.492537276230787e-38,-2.4863523203641433e-38,-2.4801979830901387e-38,-2.4740740376043903e-38,-2.4679802593370383e-38,-2.4619164259253006e-38,-2.455882317186419e-38,-2.4498777150910154e-38,-2.443902403736824e-38,-2.43795616932282e-38,-2.432038800123716e-38,-2.426150086464833e-38,-2.420289820697333e-38,-2.414457797173814e-38,-2.4086538122242516e-38,-2.4028776641322917e-38,-2.3971291531118796e-38,-2.3914080812842264e-38,-2.3857142526551023e-38,-2.380047473092457e-38,-2.374407550304351e-38,-2.368794293817213e-38,-2.3632075149543883e-38,-2.357647026815004e-38,-2.352112644253125e-38,-2.3466041838572035e-38,-2.3411214639298199e-38,-2.3356643044677008e-38,-2.3302325271420233e-38,-2.3248259552789878e-38,-2.3194444138406642e-38,-2.314087729406099e-38,-2.30875573015269e-38,-2.3034482458378124e-38,-2.298165107780701e-38,-2.2929061488445773e-38,-2.2876712034190284e-38,-2.2824601074026186e-38,-2.2772726981857444e-38,-2.272108814633718e-38,-2.266968297070085e-38,-2.2618509872601647e-38,-2.2567567283948143e-38,-2.2516853650744103e-38,-2.2466367432930486e-38,-2.241610710422954e-38,-2.2366071151990996e-38,-2.2316258077040298e-38,-2.2266666393528893e-38,-2.2217294628786488e-38,-2.2168141323175274e-38,-2.211920502994606e-38,-2.2070484315096357e-38,-2.2021977757230288e-38,-2.1973683947420365e-38,-2.1925601489071055e-38,-2.187772899778418e-38,-2.1830065101226026e-38,-2.1782608438996226e-38,-2.1735357662498299e-38,-2.1688311434811944e-38,-2.164146843056692e-38,-2.15948273358186e-38,-2.1548386847925083e-38,-2.1502145675425965e-38,-2.1456102537922594e-38,-2.14102561659599e-38,-2.136460530090971e-38,-2.1319148694855594e-38,-2.1273885110479129e-38,-2.122881332094765e-38,-2.1183932109803382e-38,-2.1139240270854032e-38,-2.1094736608064712e-38,-2.1050419935451244e-38,-2.1006289076974807e-38,-2.0962342866437915e-38,-2.0918580147381682e-38,-2.087499977298438e-38,-2.083160060596125e-38,-2.0788381518465595e-38,-2.074534139199105e-38,-2.0702479117275122e-38,-2.065979359420385e-38,-2.0617283731717729e-38,-2.0574948447718717e-38,-2.0532786668978438e-38,-2.0490797331047465e-38,-2.0448979378165768e-38,-2.0407331763174203e-38,-2.036585344742713e-38,-2.0324543400706033e-38,-2.028340060113426e-38,-2.0242424035092747e-38,-2.0201612697136776e-38,-2.016096558991373e-38,-2.0120481724081872e-38,-2.0080160118230048e-38,-2.0039999798798404e-38,-1.9999999800000002e-38,-1.9960159163743435e-38,-1.99204769395563e-38,-1.988095218450964e-38,-1.9841583963143226e-38,-1.9802371347391776e-38,-1.976331341651203e-38,-1.9724409257010668e-38,-1.9685657962573098e-38,-1.9647058633993082e-38,-1.9608610379103176e-38,-1.9570312312705996e-38,-1.9532163556506278e-38,-1.9494163239043743e-38,-1.9456310495626733e-38,-1.9418604468266633e-38,-1.9381044305613028e-38,-1.9343629162889643e-38,-1.9306358201831e-38,-1.9269230590619825e-38,-1.9232245503825143e-38,-1.919540212234113e-38,-1.9158699633326632e-38,-1.9122137230145392e-38,-1.9085714112306943e-38,-1.9049429485408204e-38,-1.9013282561075725e-38,-1.8977272556908577e-38,-1.89413986964219e-38,-1.8905660208991102e-38,-1.8870056329796674e-38,-1.8834586299769633e-38,-1.8799249365537562e-38,-1.8764044779371293e-38,-1.8728971799132153e-38,-1.869402968821982e-38,-1.865921771552074e-38,-1.862453515535717e-38,-1.858998128743671e-38,-1.8555555396802472e-38,-1.8521256773783748e-38,-1.8487084713947252e-38,-1.84530385180489e-38,-1.8419117491986107e-38,-1.8385320946750613e-38,-1.835164819838184e-38,-1.8318098567920751e-38,-1.828467138136422e-38,-1.8251365969619877e-38,-1.821818166846149e-38,-1.818511781848479e-38,-1.8152173765063804e-38,-1.811934885830764e-38,-1.8086642453017766e-38,-1.8054053908645727e-38,-1.8021582589251336e-38,-1.7989227863461287e-38,-1.7956989104428258e-38,-1.792486568979042e-38,-1.789285700163138e-38,-1.7860962426440565e-38,-1.7829181355074024e-38,-1.779751318271566e-38,-1.7765957308838844e-38,-1.7734513137168456e-38,-1.7703180075643348e-38,-1.7671957536379162e-38,-1.7640844935631573e-38,-1.7609841693759906e-38,-1.7578947235191138e-38,-1.7548160988384284e-38,-1.7517482385795153e-38,-1.7486910863841453e-38,-1.7456445862868313e-38,-1.7426086827114103e-38,-1.7395833204676653e-38,-1.7365684447479796e-38,-1.7335640011240287e-38,-1.7305699355435047e-38,-1.727586194326873e-38,-1.724612724164166e-38,-1.721649472111808e-38,-1.718696385589472e-38,-1.7157534123769706e-38,-1.712820500611177e-38,-1.7098975987829795e-38,-1.706984655734265e-38,-1.7040816206549356e-38,-1.701188443079952e-38,-1.698305072886412e-38,-1.6954314602906543e-38,-1.6925675558453939e-38,-1.6897133104368847e-38,-1.6868686752821143e-38,-1.6840336019260222e-38,-1.6812080422387507e-38,-1.678391948412919e-38,-1.675585272960929e-38,-1.6727879687122947e-38,-1.6699999888110001e-38,-1.667221286712883e-38,-1.6644518161830444e-38,-1.6616915312932848e-38,-1.658940386419565e-38,-1.656198336239492e-38,-1.6534653357298306e-38,-1.650741340164039e-38,-1.6480263051098297e-38,-1.6453201864267515e-38,-1.6426229402638002e-38,-1.6399345230570476e-38,-1.6372548915272975e-38,-1.6345840026777623e-38,-1.6319218137917644e-38,-1.6292682824304582e-38,-1.6266233664305746e-38,-1.623987023902188e-38,-1.6213592132265058e-38,-1.618739893053677e-38,-1.6161290223006244e-38,-1.613526560148895e-38,-1.6109324660425347e-38,-1.6083466996859808e-38,-1.6057692210419752e-38,-1.6031999903294979e-38,-1.6006389680217213e-38,-1.5980861148439825e-38,-1.595541391771776e-38,-1.5930047600287636e-38,-1.5904761810848073e-38,-1.5879556166540168e-38,-1.5854430286928178e-38,-1.582938379398037e-38,-1.5804416312050075e-38,-1.5779527467856904e-38,-1.575471689046814e-38,-1.572998421128031e-38,-1.5705329064000945e-38,-1.5680751084630474e-38,-1.5656249911444338e-38,-1.5631825184975213e-38,-1.5607476547995458e-38,-1.5583203645499686e-38,-1.5559006124687513e-38,-1.553488363494646e-38,-1.5510835827835023e-38,-1.5486862357065902e-38,-1.5462962878489372e-38,-1.5439137050076804e-38,-1.541538453190438e-38,-1.539170498613689e-38,-1.5368098077011745e-38,-1.5344563470823085e-38,-1.5321100835906068e-38,-1.5297709842621292e-38,-1.5274390163339346e-38,-1.5251141472425515e-38,-1.5227963446224628e-38,-1.5204855763046048e-38,-1.5181818103148761e-38,-1.5158850148726658e-38,-1.5135951583893904e-38,-1.5113122094670461e-38,-1.509036136896774e-38,-1.5067669096574369e-38,-1.5045044969142117e-38,-1.5022488680171907e-38,-1.4999999925e-38,-1.4977578400784251e-38,-1.4955223806490534e-38,-1.493293584287926e-38,-1.491071421249203e-38,-1.48885586196384e-38,-1.4866468770382764e-38,-1.4844444372531358e-38,-1.4822485135619378e-38,-1.4800590770898197e-38,-1.4778760991322736e-38,-1.4756995511538886e-38,-1.473529404787111e-38,-1.471365631831008e-38,-1.4692082042500494e-38,-1.4670570941728958e-38,-1.4649122738911973e-38,-1.462773715858405e-38,-1.4606413926885906e-38,-1.4585152771552793e-38,-1.4563953421902889e-38,-1.4542815608825818e-38,-1.4521739064771268e-38,-1.45007235237377e-38,-1.4479768721261154e-38,-1.4458874394404153e-38,-1.4438040281744722e-38,-1.4417266123365458e-38,-1.439655166084275e-38,-1.4375896637236034e-38,-1.43553007970772e-38,-1.4334763886360037e-38,-1.4314285652529797e-38,-1.4293865844472845e-38,-1.4273504212506393e-38,-1.425320050836832e-38,-1.4232954485207096e-38,-1.4212765897571753e-38,-1.4192634501401986e-38,-1.4172560054018315e-38,-1.4152542314112326e-38,-1.4132581041737006e-38,-1.4112675998297164e-38,-1.4092826946539907e-38,-1.4073033650545228e-38,-1.4053295875716655e-38,-1.403361338877198e-38,-1.401398595773407e-38,-1.3994413351921759e-38,-1.3974895341940794e-38,-1.3955431699674894e-38,-1.3936022198276853e-38,-1.3916666612159723e-38,-1.389736471698808e-38,-1.3878116289669354e-38,-1.385892110834524e-38,-1.383977895238317e-38,-1.382068960236785e-38,-1.380165284009289e-38,-1.3782668448552492e-38,-1.376373621193319e-38,-1.3744855915605684e-38,-1.372602734611672e-38,-1.3707250291181055e-38,-1.3688524539673476e-38,-1.366984988162088e-38,-1.3651226108194434e-38,-1.363265301170179e-38,-1.3614130385579367e-38,-1.3595658024384676e-38,-1.357723572378875e-38,-1.3558863280568592e-38,-1.354054049259971e-38,-1.3522267158848694e-38,-1.3504043079365887e-38,-1.3485868055278063e-38,-1.3467741888781218e-38,-1.3449664383133373e-38,-1.343163534264747e-38,-1.3413654572684312e-38,-1.3395721879645544e-38,-1.337783707096672e-38,-1.33599999551104e-38,-1.3342210341559324e-38,-1.3324468040809614e-38,-1.330677286436406e-38,-1.3289124624725425e-38,-1.3271523135389852e-38,-1.3253968210840264e-38,-1.3236459666539862e-38,-1.3218997318925656e-38,-1.3201580985402052e-38,-1.3184210484334488e-38,-1.316688563504311e-38,-1.3149606257796516e-38,-1.3132372173805544e-38,-1.3115183205217102e-38,-1.3098039175108037e-38,-1.3080939907479089e-38,-1.3063885227248851e-38,-1.3046874960247804e-38,-1.302990893321237e-38,-1.3012986973779053e-38,-1.2996108910478585e-38,-1.297927457273014e-38,-1.2962483790835592e-38,-1.29457363959738e-38,-1.2929032220194963e-38,-1.2912371096415003e-38,-1.2895752858409984e-38,-1.2879177340810594e-38,-1.2862644379096667e-38,-1.2846153809591716e-38,-1.2829705469457557e-38,-1.281329919668893e-38,-1.2796934830108189e-38,-1.2780612209360034e-38,-1.2764331174906245e-38,-1.2748091568020512e-38,-1.2731893230783264e-38,-1.2715736006076555e-38,-1.2699619737578974e-38,-1.2683544269760616e-38,-1.2667509447878073e-38,-1.265151511796947e-38,-1.263556112684953e-38,-1.2619647322104702e-38,-1.2603773552088287e-38,-1.2587939665915634e-38,-1.257214551345935e-38,-1.2556390945344565e-38,-1.2540675812944216e-38,-1.2524999968374377e-38,-1.2509363264489614e-38,-1.249376555487839e-38,-1.2478206693858492e-38,-1.246268653647249e-38,-1.2447204938483238e-38,-1.2431761756369413e-38,-1.2416356847321071e-38,-1.2400990069235248e-38,-1.2385661280711586e-38,-1.2370370341048013e-38,-1.2355117110236407e-38,-1.233990144895836e-38,-1.2324723218580903e-38,-1.2309582281152316e-38,-1.2294478499397945e-38,-1.2279411736716048e-38,-1.2264381857173677e-38,-1.2249388725502597e-38,-1.2234432207095226e-38,-1.2219512168000596e-38,-1.220462847492037e-38,-1.218978099520486e-38,-1.2174969596849093e-38,-1.2160194148488902e-38,-1.2145454519397026e-38,-1.2130750579479274e-38,-1.2116082199270685e-38,-1.2101449249931738e-38,-1.2086851603244568e-38,-1.2072289131609233e-38,-1.2057761708039985e-38,-1.2043269206161591e-38,-1.2028811500205654e-38,-1.2014388465006988e-38,-1.1999999976e-38,-1.1985645909215106e-38,-1.1971326141275164e-38,-1.195704054939195e-38,-1.1942789011362638e-38,-1.1928571405566327e-38,-1.1914387610960567e-38,-1.1900237507077934e-38,-1.188612097402262e-38,-1.187203789246704e-38,-1.1857988143648473e-38,-1.1843971609365726e-38,-1.1829988171975817e-38,-1.1816037714390686e-38,-1.1802120120073918e-38,-1.178823527303751e-38,-1.177438305783864e-38,-1.1760563359576474e-38,-1.1746776063888984e-38,-1.1733021056949801e-38,-1.1719298225465066e-38,-1.1705607456670344e-38,-1.1691948638327507e-38,-1.1678321658721699e-38,-1.1664726406658256e-38,-1.1651162771459708e-38,-1.1637630642962766e-38,-1.1624129911515336e-38,-1.1610660467973559e-38,-1.1597222203698882e-38,-1.1583815010555113e-38,-1.1570438780905547e-38,-1.1557093407610063e-38,-1.1543778784022277e-38,-1.1530494803986701e-38,-1.1517241361835912e-38,-1.1504018352387756e-38,-1.1490825670942578e-38,-1.1477663213280428e-38,-1.1464530875658353e-38,-1.1451428554807642e-38,-1.1438356147931131e-38,-1.1425313552700523e-38,-1.14123006672537e-38,-1.1399317390192081e-38,-1.1386363620577997e-38,-1.1373439257932052e-38,-1.1360544202230552e-38,-1.1347678353902904e-38,-1.1334841613829057e-38,-1.1322033883336973e-38,-1.1309255064200073e-38,-1.1296505058634746e-38,-1.1283783769297846e-38,-1.1271091099284214e-38,-1.1258426952124227e-38,-1.1245791231781339e-38,-1.1233183842649661e-38,-1.1220604689551558e-38,-1.1208053677735239e-38,-1.1195530712872382e-38,-1.1183035701055785e-38,-1.1170568548796992e-38,-1.1158129163023993e-38,-1.1145717451078878e-38,-1.1133333320715556e-38,-1.1120976680097463e-38,-1.1108647437795293e-38,-1.1096345502784738e-38,-1.108407078444426e-38,-1.1071823192552852e-38,-1.1059602637287838e-38,-1.1047409029222671e-38,-1.103524227932475e-38,-1.1023102298953262e-38,-1.1010988999857024e-38,-1.0998902294172337e-38,-1.098684209442088e-38,-1.097480831350758e-38,-1.0962800864718529e-38,-1.0950819661718894e-38,-1.0938864618550847e-38,-1.0926935649631522e-38,-1.0915032669750952e-38,-1.0903155594070056e-38,-1.0891304338118621e-38,-1.0879478817793292e-38,-1.0867678949355593e-38,-1.0855904649429942e-38,-1.0844155835001686e-38,-1.0832432423415165e-38,-1.0820734332371753e-38,-1.0809061479927944e-38,-1.0797413784493442e-38,-1.0785791164829248e-38,-1.0774193540045786e-38,-1.076262082960101e-38,-1.075107295329855e-38,-1.0739549831285864e-38,-1.0728051384052384e-38,-1.0716577532427693e-38,-1.0705128197579718e-38,-1.0693703301012906e-38,-1.0682302764566446e-38,-1.0670926510412479e-38,-1.0659574461054323e-38,-1.0648246539324729e-38,-1.0636942668384114e-38,-1.0625662771718833e-38,-1.0614406773139454e-38,-1.0603174596779037e-38,-1.0591966167091437e-38,-1.05807814088496e-38,-1.0569620247143886e-38,-1.0558482607380405e-38,-1.0547368415279337e-38,-1.053627759687329e-38,-1.0525210078505668e-38,-1.0514165786829022e-38,-1.0503144648803449e-38,-1.0492146591694965e-38,-1.0481171543073914e-38,-1.0470219430813378e-38,-1.0459290183087593e-38,-1.044838372837038e-38,-1.0437499995433594e-38,-1.0426638913345554e-38,-1.0415800411469521e-38,-1.0404984419462156e-38,-1.0394190867271999e-38,-1.0383419685137964e-38,-1.0372670803587826e-38,-1.0361944153436731e-38,-1.0351239665785723e-38,-1.0340557272020243e-38,-1.0329896903808695e-38,-1.0319258493100958e-38,-1.0308641972126962e-38,-1.0298047273395238e-38,-1.0287474329691486e-38,-1.027692307407716e-38,-1.0266393439888051e-38,-1.0255885360732885e-38,-1.0245398770491927e-38,-1.0234933603315594e-38,-1.0224489793623073e-38,-1.0214067276100965e-38,-1.0203665985701902e-38,-1.0193285857643211e-38,-1.0182926827405563e-38,-1.0172588830731634e-38,-1.0162271803624783e-38,-1.0151975682347725e-38,-1.0141700403421216e-38,-1.0131445903622763e-38,-1.0121212119985309e-38,-1.0110998989795954e-38,-1.0100806450594678e-38,-1.0090634440173054e-38,-1.0080482896572999e-38,-1.0070351758085503e-38,-1.0060240963249383e-38,-1.0050150450850043e-38,-1.0040080159918234e-38,-1.0030030029728828e-38,-1.0019999999799601e-38,-1.0009990009890009e-38,-1.0e-38],"x":[-1.0e30,-9.98013982035928e34,-1.996017964071856e35,-2.9940219461077843e35,-3.9920259281437124e35,-4.9900299101796405e35,-5.9880338922155686e35,-6.986037874251497e35,-7.984041856287425e35,-8.982045838323353e35,-9.980049820359281e35,-1.0978053802395209e36,-1.1976057784431137e36,-1.2974061766467065e36,-1.3972065748502994e36,-1.4970069730538922e36,-1.596807371257485e36,-1.6966077694610778e36,-1.7964081676646706e36,-1.8962085658682634e36,-1.9960089640718562e36,-2.095809362275449e36,-2.1956097604790418e36,-2.2954101586826347e36,-2.3952105568862275e36,-2.4950109550898203e36,-2.594811353293413e36,-2.694611751497006e36,-2.794412149700599e36,-2.894212547904192e36,-2.9940129461077846e36,-3.0938133443113774e36,-3.19361374251497e36,-3.293414140718563e36,-3.393214538922156e36,-3.4930149371257487e36,-3.5928153353293415e36,-3.6926157335329343e36,-3.792416131736527e36,-3.89221652994012e36,-3.992016928143713e36,-4.0918173263473056e36,-4.1916177245508984e36,-4.291418122754491e36,-4.391218520958084e36,-4.491018919161677e36,-4.5908193173652696e36,-4.6906197155688624e36,-4.790420113772455e36,-4.890220511976048e36,-4.990020910179641e36,-5.0898213083832337e36,-5.1896217065868265e36,-5.289422104790419e36,-5.389222502994012e36,-5.489022901197604e36,-5.588823299401197e36,-5.68862369760479e36,-5.788424095808383e36,-5.888224494011976e36,-5.988024892215568e36,-6.087825290419161e36,-6.187625688622754e36,-6.287426086826347e36,-6.38722648502994e36,-6.487026883233532e36,-6.586827281437125e36,-6.686627679640718e36,-6.786428077844311e36,-6.886228476047904e36,-6.986028874251496e36,-7.085829272455089e36,-7.185629670658682e36,-7.285430068862275e36,-7.385230467065868e36,-7.48503086526946e36,-7.584831263473053e36,-7.684631661676646e36,-7.784432059880239e36,-7.884232458083832e36,-7.984032856287425e36,-8.083833254491017e36,-8.18363365269461e36,-8.283434050898203e36,-8.383234449101796e36,-8.483034847305389e36,-8.582835245508981e36,-8.682635643712574e36,-8.782436041916167e36,-8.88223644011976e36,-8.982036838323353e36,-9.081837236526946e36,-9.181637634730538e36,-9.281438032934131e36,-9.381238431137724e36,-9.481038829341317e36,-9.58083922754491e36,-9.680639625748502e36,-9.780440023952095e36,-9.880240422155688e36,-9.980040820359281e36,-1.0079841218562874e37,-1.0179641616766466e37,-1.0279442014970059e37,-1.0379242413173652e37,-1.0479042811377245e37,-1.0578843209580838e37,-1.0678643607784432e37,-1.0778444005988024e37,-1.0878244404191617e37,-1.097804480239521e37,-1.1077845200598803e37,-1.1177645598802396e37,-1.1277445997005989e37,-1.1377246395209581e37,-1.1477046793413174e37,-1.1576847191616767e37,-1.167664758982036e37,-1.1776447988023953e37,-1.1876248386227545e37,-1.1976048784431138e37,-1.207584918263473e37,-1.2175649580838324e37,-1.2275449979041917e37,-1.237525037724551e37,-1.2475050775449102e37,-1.2574851173652695e37,-1.2674651571856288e37,-1.277445197005988e37,-1.2874252368263474e37,-1.2974052766467066e37,-1.307385316467066e37,-1.3173653562874252e37,-1.3273453961077845e37,-1.3373254359281438e37,-1.347305475748503e37,-1.3572855155688623e37,-1.3672655553892216e37,-1.377245595209581e37,-1.3872256350299402e37,-1.3972056748502994e37,-1.4071857146706587e37,-1.417165754491018e37,-1.4271457943113773e37,-1.4371258341317366e37,-1.4471058739520959e37,-1.4570859137724551e37,-1.4670659535928144e37,-1.4770459934131737e37,-1.487026033233533e37,-1.4970060730538923e37,-1.5069861128742515e37,-1.5169661526946108e37,-1.52694619251497e37,-1.5369262323353294e37,-1.5469062721556887e37,-1.556886311976048e37,-1.5668663517964072e37,-1.5768463916167665e37,-1.5868264314371258e37,-1.596806471257485e37,-1.6067865110778443e37,-1.6167665508982036e37,-1.626746590718563e37,-1.6367266305389222e37,-1.6467066703592815e37,-1.6566867101796408e37,-1.66666675e37,-1.6766467898203593e37,-1.6866268296407186e37,-1.6966068694610779e37,-1.7065869092814372e37,-1.7165669491017964e37,-1.7265469889221557e37,-1.736527028742515e37,-1.7465070685628743e37,-1.7564871083832336e37,-1.7664671482035928e37,-1.7764471880239521e37,-1.7864272278443114e37,-1.7964072676646707e37,-1.80638730748503e37,-1.8163673473053893e37,-1.8263473871257485e37,-1.8363274269461078e37,-1.846307466766467e37,-1.8562875065868264e37,-1.8662675464071857e37,-1.876247586227545e37,-1.8862276260479042e37,-1.8962076658682635e37,-1.9061877056886228e37,-1.916167745508982e37,-1.9261477853293413e37,-1.9361278251497006e37,-1.94610786497006e37,-1.9560879047904192e37,-1.9660679446107785e37,-1.9760479844311378e37,-1.986028024251497e37,-1.9960080640718563e37,-2.0059881038922156e37,-2.0159681437125749e37,-2.0259481835329342e37,-2.0359282233532934e37,-2.0459082631736527e37,-2.055888302994012e37,-2.0658683428143713e37,-2.0758483826347306e37,-2.0858284224550898e37,-2.0958084622754491e37,-2.1057885020958084e37,-2.1157685419161677e37,-2.125748581736527e37,-2.1357286215568862e37,-2.1457086613772453e37,-2.155688701197605e37,-2.165668741017964e37,-2.1756487808383234e37,-2.1856288206586824e37,-2.195608860479042e37,-2.205588900299401e37,-2.2155689401197605e37,-2.2255489799401195e37,-2.235529019760479e37,-2.245509059580838e37,-2.2554890994011976e37,-2.2654691392215567e37,-2.275449179041916e37,-2.285429218862275e37,-2.2954092586826347e37,-2.305389298502994e37,-2.3153693383233533e37,-2.3253493781437124e37,-2.335329417964072e37,-2.345309457784431e37,-2.3552894976047904e37,-2.3652695374251495e37,-2.375249577245509e37,-2.385229617065868e37,-2.3952096568862276e37,-2.4051896967065866e37,-2.415169736526946e37,-2.425149776347305e37,-2.4351298161676647e37,-2.4451098559880237e37,-2.4550898958083832e37,-2.4650699356287423e37,-2.475049975449102e37,-2.485030015269461e37,-2.4950100550898204e37,-2.5049900949101794e37,-2.514970134730539e37,-2.524950174550898e37,-2.5349302143712575e37,-2.5449102541916165e37,-2.554890294011976e37,-2.564870333832335e37,-2.5748503736526946e37,-2.5848304134730537e37,-2.594810453293413e37,-2.604790493113772e37,-2.6147705329341317e37,-2.624750572754491e37,-2.6347306125748503e37,-2.6447106523952093e37,-2.654690692215569e37,-2.664670732035928e37,-2.6746507718562874e37,-2.6846308116766465e37,-2.694610851497006e37,-2.704590891317365e37,-2.7145709311377246e37,-2.7245509709580836e37,-2.734531010778443e37,-2.744511050598802e37,-2.7544910904191617e37,-2.7644711302395207e37,-2.7744511700598802e37,-2.7844312098802393e37,-2.794411249700599e37,-2.804391289520958e37,-2.8143713293413174e37,-2.8243513691616764e37,-2.834331408982036e37,-2.844311448802395e37,-2.8542914886227545e37,-2.8642715284431135e37,-2.874251568263473e37,-2.884231608083832e37,-2.8942116479041916e37,-2.9041916877245507e37,-2.91417172754491e37,-2.924151767365269e37,-2.9341318071856287e37,-2.944111847005988e37,-2.9540918868263473e37,-2.9640719266467063e37,-2.974051966467066e37,-2.984032006287425e37,-2.9940120461077844e37,-3.0039920859281435e37,-3.013972125748503e37,-3.023952165568862e37,-3.0339322053892215e37,-3.0439122452095806e37,-3.05389228502994e37,-3.063872324850299e37,-3.0738523646706587e37,-3.0838324044910177e37,-3.0938124443113772e37,-3.1037924841317363e37,-3.113772523952096e37,-3.123752563772455e37,-3.1337326035928144e37,-3.1437126434131734e37,-3.153692683233533e37,-3.163672723053892e37,-3.1736527628742515e37,-3.1836328026946105e37,-3.19361284251497e37,-3.203592882335329e37,-3.2135729221556886e37,-3.2235529619760477e37,-3.233533001796407e37,-3.243513041616766e37,-3.2534930814371257e37,-3.263473121257485e37,-3.2734531610778443e37,-3.2834332008982033e37,-3.293413240718563e37,-3.303393280538922e37,-3.3133733203592814e37,-3.3233533601796405e37,-3.3333334e37,-3.343313439820359e37,-3.3532934796407185e37,-3.3632735194610776e37,-3.373253559281437e37,-3.383233599101796e37,-3.3932136389221557e37,-3.4031936787425147e37,-3.413173718562874e37,-3.4231537583832333e37,-3.433133798203593e37,-3.443113838023952e37,-3.4530938778443114e37,-3.4630739176646704e37,-3.47305395748503e37,-3.483033997305389e37,-3.4930140371257485e37,-3.5029940769461075e37,-3.512974116766467e37,-3.522954156586826e37,-3.5329341964071856e37,-3.5429142362275447e37,-3.552894276047904e37,-3.562874315868263e37,-3.5728543556886227e37,-3.582834395508982e37,-3.5928144353293413e37,-3.6027944751497003e37,-3.61277451497006e37,-3.622754554790419e37,-3.6327345946107784e37,-3.6427146344311375e37,-3.652694674251497e37,-3.662674714071856e37,-3.6726547538922155e37,-3.6826347937125746e37,-3.692614833532934e37,-3.702594873353293e37,-3.7125749131736527e37,-3.7225549529940117e37,-3.732534992814371e37,-3.7425150326347303e37,-3.75249507245509e37,-3.762475112275449e37,-3.7724551520958084e37,-3.7824351919161674e37,-3.792415231736527e37,-3.802395271556886e37,-3.8123753113772455e37,-3.8223553511976045e37,-3.832335391017964e37,-3.842315430838323e37,-3.8522954706586826e37,-3.8622755104790416e37,-3.872255550299401e37,-3.88223559011976e37,-3.8922156299401197e37,-3.902195669760479e37,-3.9121757095808383e37,-3.9221557494011973e37,-3.932135789221557e37,-3.942115829041916e37,-3.9520958688622754e37,-3.9620759086826345e37,-3.972055948502994e37,-3.982035988323353e37,-3.9920160281437125e37,-4.0019960679640716e37,-4.011976107784431e37,-4.02195614760479e37,-4.0319361874251497e37,-4.0419162272455087e37,-4.051896267065868e37,-4.0618763068862273e37,-4.071856346706587e37,-4.081836386526946e37,-4.0918164263473053e37,-4.1017964661676644e37,-4.111776505988024e37,-4.121756545808383e37,-4.1317365856287425e37,-4.1417166254491015e37,-4.151696665269461e37,-4.16167670508982e37,-4.1716567449101796e37,-4.1816367847305386e37,-4.191616824550898e37,-4.201596864371257e37,-4.2115769041916167e37,-4.221556944011976e37,-4.2315369838323353e37,-4.2415170236526943e37,-4.251497063473054e37,-4.261477103293413e37,-4.271457143113772e37,-4.281437182934131e37,-4.291417222754491e37,-4.3013972625748505e37,-4.311377302395209e37,-4.321357342215569e37,-4.331337382035928e37,-4.341317421856288e37,-4.351297461676646e37,-4.361277501497006e37,-4.371257541317365e37,-4.381237581137725e37,-4.391217620958083e37,-4.401197660778443e37,-4.411177700598802e37,-4.421157740419162e37,-4.43113778023952e37,-4.44111782005988e37,-4.451097859880239e37,-4.461077899700599e37,-4.471057939520958e37,-4.481037979341317e37,-4.491018019161677e37,-4.500998058982036e37,-4.510978098802395e37,-4.520958138622754e37,-4.530938178443114e37,-4.540918218263473e37,-4.550898258083832e37,-4.560878297904191e37,-4.570858337724551e37,-4.58083837754491e37,-4.590818417365269e37,-4.600798457185628e37,-4.610778497005988e37,-4.6207585368263475e37,-4.630738576646706e37,-4.640718616467066e37,-4.650698656287425e37,-4.660678696107785e37,-4.670658735928143e37,-4.680638775748503e37,-4.690618815568862e37,-4.700598855389222e37,-4.71057889520958e37,-4.72055893502994e37,-4.730538974850299e37,-4.740519014670659e37,-4.750499054491017e37,-4.760479094311377e37,-4.770459134131736e37,-4.780439173952096e37,-4.790419213772455e37,-4.800399253592814e37,-4.810379293413174e37,-4.820359333233533e37,-4.830339373053892e37,-4.840319412874251e37,-4.850299452694611e37,-4.86027949251497e37,-4.870259532335329e37,-4.880239572155688e37,-4.890219611976048e37,-4.900199651796407e37,-4.910179691616766e37,-4.920159731437125e37,-4.930139771257485e37,-4.9401198110778445e37,-4.950099850898203e37,-4.960079890718563e37,-4.970059930538922e37,-4.980039970359282e37,-4.99002001017964e37,-5.00000005e37,-5.009980089820359e37,-5.019960129640719e37,-5.029940169461077e37,-5.039920209281437e37,-5.049900249101796e37,-5.059880288922156e37,-5.069860328742514e37,-5.079840368562874e37,-5.089820408383233e37,-5.099800448203593e37,-5.109780488023952e37,-5.119760527844311e37,-5.129740567664671e37,-5.13972060748503e37,-5.149700647305389e37,-5.159680687125748e37,-5.169660726946108e37,-5.179640766766467e37,-5.189620806586826e37,-5.199600846407185e37,-5.209580886227545e37,-5.219560926047904e37,-5.229540965868263e37,-5.239521005688622e37,-5.249501045508982e37,-5.2594810853293415e37,-5.2694611251497e37,-5.27944116497006e37,-5.289421204790419e37,-5.299401244610779e37,-5.309381284431137e37,-5.319361324251497e37,-5.329341364071856e37,-5.339321403892216e37,-5.349301443712574e37,-5.359281483532934e37,-5.369261523353293e37,-5.379241563173653e37,-5.389221602994011e37,-5.399201642814371e37,-5.40918168263473e37,-5.41916172245509e37,-5.429141762275449e37,-5.439121802095808e37,-5.449101841916168e37,-5.459081881736527e37,-5.469061921556886e37,-5.479041961377245e37,-5.489022001197605e37,-5.499002041017964e37,-5.508982080838323e37,-5.518962120658682e37,-5.528942160479042e37,-5.538922200299401e37,-5.54890224011976e37,-5.558882279940119e37,-5.568862319760479e37,-5.5788423595808385e37,-5.588822399401197e37,-5.598802439221557e37,-5.608782479041916e37,-5.618762518862276e37,-5.628742558682634e37,-5.638722598502994e37,-5.648702638323353e37,-5.658682678143713e37,-5.668662717964071e37,-5.678642757784431e37,-5.68862279760479e37,-5.69860283742515e37,-5.708582877245508e37,-5.718562917065868e37,-5.728542956886227e37,-5.738522996706587e37,-5.748503036526946e37,-5.758483076347305e37,-5.768463116167665e37,-5.778443155988024e37,-5.788423195808383e37,-5.798403235628742e37,-5.808383275449102e37,-5.818363315269461e37,-5.82834335508982e37,-5.838323394910179e37,-5.848303434730539e37,-5.858283474550898e37,-5.868263514371257e37,-5.878243554191616e37,-5.888223594011976e37,-5.898203633832335e37,-5.908183673652694e37,-5.918163713473054e37,-5.928143753293413e37,-5.938123793113773e37,-5.948103832934131e37,-5.958083872754491e37,-5.96806391257485e37,-5.97804395239521e37,-5.988023992215568e37,-5.998004032035928e37,-6.007984071856287e37,-6.017964111676647e37,-6.027944151497005e37,-6.037924191317365e37,-6.047904231137724e37,-6.057884270958084e37,-6.067864310778443e37,-6.077844350598802e37,-6.087824390419162e37,-6.097804430239521e37,-6.10778447005988e37,-6.117764509880239e37,-6.127744549700599e37,-6.137724589520958e37,-6.147704629341317e37,-6.157684669161676e37,-6.167664708982036e37,-6.177644748802395e37,-6.187624788622754e37,-6.197604828443113e37,-6.207584868263473e37,-6.217564908083832e37,-6.227544947904191e37,-6.237524987724551e37,-6.24750502754491e37,-6.25748506736527e37,-6.267465107185628e37,-6.277445147005988e37,-6.287425186826347e37,-6.297405226646707e37,-6.307385266467065e37,-6.317365306287425e37,-6.327345346107784e37,-6.337325385928144e37,-6.347305425748502e37,-6.357285465568862e37,-6.367265505389221e37,-6.377245545209581e37,-6.38722558502994e37,-6.397205624850299e37,-6.407185664670659e37,-6.417165704491018e37,-6.427145744311377e37,-6.437125784131736e37,-6.447105823952096e37,-6.457085863772455e37,-6.467065903592814e37,-6.477045943413173e37,-6.487025983233533e37,-6.497006023053892e37,-6.506986062874251e37,-6.51696610269461e37,-6.52694614251497e37,-6.536926182335329e37,-6.546906222155688e37,-6.556886261976048e37,-6.566866301796407e37,-6.576846341616767e37,-6.586826381437125e37,-6.596806421257485e37,-6.606786461077844e37,-6.616766500898204e37,-6.626746540718562e37,-6.636726580538922e37,-6.646706620359281e37,-6.656686660179641e37,-6.666666699999999e37,-6.676646739820359e37,-6.686626779640718e37,-6.696606819461078e37,-6.706586859281437e37,-6.716566899101796e37,-6.726546938922156e37,-6.736526978742515e37,-6.746507018562874e37,-6.756487058383233e37,-6.766467098203593e37,-6.776447138023952e37,-6.786427177844311e37,-6.79640721766467e37,-6.80638725748503e37,-6.816367297305389e37,-6.826347337125748e37,-6.836327376946107e37,-6.846307416766467e37,-6.856287456586826e37,-6.866267496407185e37,-6.876247536227545e37,-6.886227576047904e37,-6.896207615868264e37,-6.906187655688622e37,-6.916167695508982e37,-6.926147735329341e37,-6.936127775149701e37,-6.946107814970059e37,-6.956087854790419e37,-6.966067894610778e37,-6.976047934431138e37,-6.986027974251496e37,-6.996008014071856e37,-7.005988053892215e37,-7.015968093712575e37,-7.0259481335329335e37,-7.035928173353293e37,-7.045908213173653e37,-7.055888252994012e37,-7.065868292814371e37,-7.07584833263473e37,-7.08582837245509e37,-7.095808412275449e37,-7.105788452095808e37,-7.115768491916167e37,-7.125748531736527e37,-7.135728571556886e37,-7.145708611377245e37,-7.155688651197604e37,-7.165668691017964e37,-7.175648730838323e37,-7.185628770658682e37,-7.195608810479042e37,-7.205588850299401e37,-7.215568890119761e37,-7.225548929940119e37,-7.235528969760479e37,-7.245509009580838e37,-7.255489049401198e37,-7.265469089221556e37,-7.275449129041916e37,-7.285429168862275e37,-7.295409208682635e37,-7.305389248502993e37,-7.315369288323353e37,-7.325349328143712e37,-7.335329367964072e37,-7.3453094077844305e37,-7.35528944760479e37,-7.36526948742515e37,-7.375249527245509e37,-7.385229567065868e37,-7.395209606886227e37,-7.405189646706587e37,-7.415169686526946e37,-7.425149726347305e37,-7.435129766167664e37,-7.445109805988024e37,-7.455089845808383e37,-7.465069885628742e37,-7.475049925449101e37,-7.485029965269461e37,-7.49501000508982e37,-7.504990044910179e37,-7.514970084730539e37,-7.524950124550898e37,-7.534930164371258e37,-7.544910204191616e37,-7.554890244011976e37,-7.564870283832335e37,-7.574850323652695e37,-7.584830363473053e37,-7.594810403293413e37,-7.604790443113772e37,-7.614770482934132e37,-7.62475052275449e37,-7.63473056257485e37,-7.644710602395209e37,-7.654690642215569e37,-7.6646706820359275e37,-7.674650721856287e37,-7.684630761676647e37,-7.694610801497006e37,-7.704590841317365e37,-7.714570881137724e37,-7.724550920958084e37,-7.734530960778443e37,-7.744511000598802e37,-7.754491040419161e37,-7.764471080239521e37,-7.77445112005988e37,-7.784431159880239e37,-7.794411199700598e37,-7.804391239520958e37,-7.814371279341317e37,-7.824351319161676e37,-7.834331358982036e37,-7.844311398802395e37,-7.854291438622755e37,-7.864271478443113e37,-7.874251518263473e37,-7.884231558083832e37,-7.894211597904192e37,-7.90419163772455e37,-7.91417167754491e37,-7.924151717365269e37,-7.934131757185629e37,-7.944111797005987e37,-7.954091836826347e37,-7.964071876646706e37,-7.974051916467066e37,-7.9840319562874245e37,-7.994011996107784e37,-8.003992035928144e37,-8.013972075748503e37,-8.023952115568862e37,-8.033932155389221e37,-8.043912195209581e37,-8.05389223502994e37,-8.063872274850299e37,-8.073852314670658e37,-8.083832354491018e37,-8.093812394311377e37,-8.103792434131736e37,-8.113772473952095e37,-8.123752513772455e37,-8.133732553592814e37,-8.143712593413173e37,-8.153692633233533e37,-8.163672673053892e37,-8.173652712874252e37,-8.18363275269461e37,-8.19361279251497e37,-8.203592832335329e37,-8.213572872155689e37,-8.223552911976047e37,-8.233532951796407e37,-8.243512991616766e37,-8.253493031437126e37,-8.263473071257484e37,-8.273453111077844e37,-8.283433150898203e37,-8.293413190718563e37,-8.3033932305389215e37,-8.313373270359281e37,-8.323353310179641e37,-8.33333335e37,-8.343313389820359e37,-8.353293429640718e37,-8.363273469461078e37,-8.373253509281437e37,-8.383233549101796e37,-8.393213588922155e37,-8.403193628742515e37,-8.413173668562874e37,-8.423153708383233e37,-8.433133748203592e37,-8.443113788023952e37,-8.453093827844311e37,-8.46307386766467e37,-8.4730539074850295e37,-8.483033947305389e37,-8.493013987125749e37,-8.502994026946107e37,-8.512974066766467e37,-8.522954106586825e37,-8.532934146407186e37,-8.542914186227544e37,-8.552894226047905e37,-8.562874265868263e37,-8.572854305688622e37,-8.582834345508982e37,-8.59281438532934e37,-8.6027944251497e37,-8.61277446497006e37,-8.622754504790419e37,-8.632734544610779e37,-8.642714584431138e37,-8.652694624251496e37,-8.662674664071857e37,-8.672654703892215e37,-8.682634743712574e37,-8.692614783532934e37,-8.702594823353293e37,-8.712574863173653e37,-8.722554902994012e37,-8.73253494281437e37,-8.74251498263473e37,-8.75249502245509e37,-8.762475062275448e37,-8.772455102095808e37,-8.782435141916167e37,-8.792415181736527e37,-8.802395221556886e37,-8.812375261377245e37,-8.822355301197605e37,-8.832335341017964e37,-8.842315380838322e37,-8.852295420658683e37,-8.862275460479041e37,-8.872255500299402e37,-8.88223554011976e37,-8.892215579940119e37,-8.90219561976048e37,-8.912175659580838e37,-8.922155699401196e37,-8.932135739221557e37,-8.942115779041916e37,-8.952095818862276e37,-8.962075858682635e37,-8.972055898502993e37,-8.982035938323354e37,-8.992015978143712e37,-9.00199601796407e37,-9.011976057784431e37,-9.02195609760479e37,-9.03193613742515e37,-9.041916177245509e37,-9.051896217065867e37,-9.061876256886228e37,-9.071856296706586e37,-9.081836336526945e37,-9.091816376347305e37,-9.101796416167664e37,-9.111776455988024e37,-9.121756495808383e37,-9.131736535628742e37,-9.141716575449102e37,-9.15169661526946e37,-9.16167665508982e37,-9.17165669491018e37,-9.181636734730538e37,-9.191616774550899e37,-9.201596814371257e37,-9.211576854191616e37,-9.221556894011976e37,-9.231536933832335e37,-9.241516973652693e37,-9.251497013473054e37,-9.261477053293412e37,-9.271457093113773e37,-9.281437132934132e37,-9.29141717275449e37,-9.30139721257485e37,-9.31137725239521e37,-9.321357292215568e37,-9.331337332035928e37,-9.341317371856287e37,-9.351297411676647e37,-9.361277451497006e37,-9.371257491317364e37,-9.381237531137725e37,-9.391217570958083e37,-9.401197610778442e37,-9.411177650598802e37,-9.421157690419161e37,-9.431137730239521e37,-9.44111777005988e37,-9.451097809880239e37,-9.4610778497006e37,-9.471057889520958e37,-9.481037929341316e37,-9.491017969161677e37,-9.500998008982035e37,-9.510978048802396e37,-9.520958088622754e37,-9.530938128443113e37,-9.540918168263473e37,-9.550898208083832e37,-9.56087824790419e37,-9.57085828772455e37,-9.58083832754491e37,-9.59081836736527e37,-9.600798407185629e37,-9.610778447005987e37,-9.620758486826348e37,-9.630738526646706e37,-9.640718566467065e37,-9.650698606287425e37,-9.660678646107784e37,-9.670658685928144e37,-9.680638725748503e37,-9.690618765568861e37,-9.700598805389222e37,-9.71057884520958e37,-9.720558885029939e37,-9.7305389248503e37,-9.740518964670658e37,-9.750499004491018e37,-9.760479044311377e37,-9.770459084131736e37,-9.780439123952096e37,-9.790419163772455e37,-9.800399203592813e37,-9.810379243413174e37,-9.820359283233532e37,-9.830339323053893e37,-9.840319362874251e37,-9.85029940269461e37,-9.86027944251497e37,-9.870259482335329e37,-9.880239522155687e37,-9.890219561976048e37,-9.900199601796406e37,-9.910179641616767e37,-9.920159681437126e37,-9.930139721257484e37,-9.940119761077845e37,-9.950099800898203e37,-9.960079840718562e37,-9.970059880538922e37,-9.98003992035928e37,-9.990019960179641e37,-1.0e38]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/huge_positive.json b/base/special/acotf/test/fixtures/julia/huge_positive.json new file mode 100644 index 000000000..11a478b13 --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/huge_positive.json @@ -0,0 +1 @@ +{"expected":[9.999999999999999e-31,1.0019899700803996e-35,5.00997495012525e-36,3.339988877837037e-36,2.5049937500405938e-36,2.003996004031968e-36,1.669997227804602e-36,1.4314265367579942e-36,1.2524984437706836e-36,1.1133321049569109e-36,1.0019990060169861e-36,9.109082702635493e-37,8.349993111255683e-37,7.70768644392162e-37,7.157137806248463e-37,6.679995604562892e-37,6.2624961407367535e-37,5.894114231939695e-37,5.566663623557219e-37,5.273681482090054e-37,5.009997540091208e-37,4.771426342490837e-37,4.554543425703383e-37,4.356519884768275e-37,4.174998298688193e-37,4.007998433674212e-37,3.853844707172141e-37,3.711109770988138e-37,3.5785701837402287e-37,3.4551712545235755e-37,3.3399989178403505e-37,3.2322570520898072e-37,3.1312490508401314e-37,3.036362744777121e-37,2.947057984484668e-37,2.8628563518908308e-37,2.7833325864724223e-37,2.7081074018044207e-37,2.6368414363381198e-37,2.569230134828559e-37,2.5049993975476446e-37,2.4439018661976354e-37,2.3857137404082878e-37,2.3302320384435987e-37,2.277272231448455e-37,2.2266661931289894e-37,2.1782604168658783e-37,2.1319144604301466e-37,2.0874995851094574e-37,2.044897561471964e-37,2.0039996184384727e-37,1.964705515993148e-37,1.9269227248891174e-37,1.890565699217576e-37,1.8555552298025264e-37,1.8218178681342691e-37,1.789285412024286e-37,1.7578944454017106e-37,1.7275859257170495e-37,1.698304813304841e-37,1.6699997378100413e-37,1.642622697424925e-37,1.6161287872320872e-37,1.5904759534195366e-37,1.5656247705381197e-37,1.5415382393197955e-37,1.5181816028760636e-37,1.4955221793562334e-37,1.4735292093711352e-37,1.4521737166843368e-37,1.4314283808441072e-37,1.4112674205788778e-37,1.3916664869097455e-37,1.372602565048249e-37,1.3540538842483778e-37,1.3359998348704205e-37,1.318420891992402e-37,1.3012985449738763e-37,1.2846152324378879e-37,1.2683542821910125e-37,1.2524998556493918e-37,1.2370368963813604e-37,1.2219510824152444e-37,1.2072287819947893e-37,1.1928570124949122e-37,1.1788234022375225e-37,1.1651161549713492e-37,1.1517240168014398e-37,1.1386362453734628e-37,1.1258425811354747e-37,1.113333220515567e-37,1.1010987908680222e-37,1.0891303270534134e-37,1.077419249529667e-37,1.0659573438415673e-37,1.0547367414056606e-37,1.0437499014961031e-37,1.0329895943447854e-37,1.0224488852761438e-37,1.0121211198034979e-37,1.0019999096196082e-37,9.920791194194766e-38,9.823528544982776e-38,9.72815449071739e-38,9.634614552703476e-38,9.54285632762456e-38,9.45282938964763e-38,9.364485198017359e-38,9.277777009784014e-38,9.192659797335303e-38,9.109090170426506e-38,9.027026302425186e-38,8.946427860507072e-38,8.86725593955836e-38,8.78947299955684e-38,8.713042806220089e-38,8.637930374723593e-38,8.564101916305111e-38,8.491524787584075e-38,8.420167442436315e-38,8.349999386275045e-38,8.280991132598909e-38,8.213114161677011e-38,8.146340881249298e-38,8.080644589128552e-38,8.015999437597479e-38,7.952380399501172e-38,7.889763235941509e-38,7.828124465485876e-38,7.76744133480804e-38,7.707691790684058e-38,7.648854453270822e-38,7.590908590599206e-38,7.533834094217907e-38,7.477611455927855e-38,7.422221745550648e-38,7.367646589677798e-38,7.31386815135066e-38,7.260869110623846e-38,7.208632645967627e-38,7.157142416467374e-38,7.10638254478047e-38,7.056337600813356e-38,7.006992586083452e-38,6.958332918732664e-38,6.910344419161023e-38,6.863013296250727e-38,6.81632613415246e-38,6.7702698796074e-38,6.724831829779761e-38,6.679999620576021e-38,6.635761215428291e-38,6.59210489452045e-38,6.549019244436776e-38,6.506493148213883e-38,6.464515775777751e-38,6.423076574748539e-38,6.382165261596838e-38,6.341771813135733e-38,6.301886458333945e-38,6.262499670435954e-38,6.223602159375813e-38,6.185184864471896e-38,6.147238947390584e-38,6.109755785367357e-38,6.072726964674395e-38,6.0361442743243e-38,5.999999700000015e-38,5.964285418201545e-38,5.928993790600483e-38,5.894117358593786e-38,5.859648838048644e-38,5.825581114230679e-38,5.791907236908029e-38,5.75862041562427e-38,5.725714015133401e-38,5.693181550990456e-38,5.661016685291595e-38,5.62921322255777e-38,5.597765105756386e-38,5.566666412455567e-38,5.5359113511059e-38,5.505494257444764e-38,5.475409591018554e-38,5.4456519318183e-38,5.416215977024407e-38,5.38709653785641e-38,5.358288536523788e-38,5.329787003274115e-38,5.301587073534906e-38,5.273683985145716e-38,5.246073075677211e-38,5.218749779833994e-38,5.191709626938181e-38,5.164948238490816e-38,5.138461325808293e-38,5.112244687731162e-38,5.086294208402698e-38,5.060605855114792e-38,5.035175676218791e-38,5.009999799099008e-38,4.985074428206735e-38,4.96039584315264e-38,4.935960396855549e-38,4.911764513745683e-38,4.887804688020472e-38,4.86407748195118e-38,4.840579524238613e-38,4.817307508416242e-38,4.794258191299199e-38,4.771428391477558e-38,4.748814987852481e-38,4.726414918213784e-38,4.704225177857575e-38,4.6822428182426474e-38,4.660464945684377e-38,4.6388887200848824e-38,4.6175113536983226e-38,4.5963301099301466e-38,4.5753423021692686e-38,4.554545292652072e-38,4.533936491357267e-38,4.513513354930612e-38,4.493273385638567e-38,4.4732141303499734e-38,4.4533331795448945e-38,4.4336281663497584e-38,4.414096765598018e-38,4.3947366929155174e-38,4.3755457038298333e-38,4.3565215929028406e-38,4.337662192885821e-38,4.318965373896408e-38,4.3004290426167416e-38,4.282051141512168e-38,4.263829648069901e-38,4.2457625740570285e-38,4.227847964797313e-38,4.2100838984662144e-38,4.1924684854036215e-38,4.174999867443754e-38,4.1576762172617597e-38,4.140495737736497e-38,4.12345666132907e-38,4.106557249476623e-38,4.0897957920010037e-38,4.07317060653183e-38,4.056680037943586e-38,4.040322457806325e-38,4.024096263849619e-38,4.0079998794393636e-38,3.992031753067098e-38,3.9761903578514774e-38,3.960474191051575e-38,3.944881773591671e-38,3.9294116495972355e-38,3.9140623859417756e-38,3.89883257180427e-38,3.883720818236888e-38,3.8687257577427327e-38,3.853846043863317e-38,3.839080350775535e-38,3.824427372897853e-38,3.80988582450549e-38,3.795454439354342e-38,3.7811319703134243e-38,3.7669171890056e-38,3.752808885456385e-38,3.7388058677506155e-38,3.724906961696773e-38,3.711111010498768e-38,3.6974168744349917e-38,3.683823430544445e-38,3.6703295723197713e-38,3.6569342094070036e-38,3.6436362673118706e-38,3.630434687112479e-38,3.6173284251782274e-38,3.60431645289478e-38,3.591397756394962e-38,3.5785713362954104e-38,3.5658362074388647e-38,3.553191398641922e-38,3.540635952448154e-38,3.5281689248864337e-38,3.515789385234352e-38,3.5034964157865933e-38,3.4912891116281636e-38,3.479166580412329e-38,3.467127942143176e-38,3.4551723289626654e-38,3.443298884942079e-38,3.4315067658777466e-38,3.419795139090964e-38,3.4081631832319887e-38,3.3966100880880227e-38,3.38513505439509e-38,3.373737293653711e-38,3.3624160279482924e-38,3.3511704897701387e-38,3.339999921844002e-38,3.328903576958093e-38,3.317880717797467e-38,3.30693061678071e-38,3.296052555899846e-38,3.285245826563399e-38,3.274509729442524e-38,3.263843574320154e-38,3.253246679943078e-38,3.242718373876899e-38,3.2322579923637895e-38,3.2218648801830024e-38,3.2115383905140547e-38,3.2012778848025413e-38,3.191082732628506e-38,3.180952311577326e-38,3.170886007113044e-38,3.160883212454101e-38,3.1509433284514076e-38,3.1410657634687175e-38,3.1312499332652356e-38,3.121495260880428e-38,3.111801176520969e-38,3.1021671174498e-38,3.09259252787723e-38,3.0830768588540605e-38,3.0736195681666617e-38,3.064220120233989e-38,3.0548779860064705e-38,3.0455926428667527e-38,3.0363635745322327e-38,3.0271902709593755e-38,3.018072228249747e-38,3.0090089485577485e-38,2.999999940000001e-38,2.9910447165663637e-38,2.9821427980325266e-38,2.973293709874175e-38,2.9644969831826626e-38,2.9557521545821926e-38,2.9470587661484443e-38,2.938416365328645e-38,2.929824504863036e-38,2.9212827427077167e-38,2.91279064195883e-38,2.904347770778073e-38,2.8959537023194904e-38,2.887608014657543e-38,2.87931029071641e-38,2.8710601182005086e-38,2.8628570895262053e-38,2.8547008017546946e-38,2.846590856526021e-38,2.838526859994223e-38,2.8305084227635747e-38,2.822535159825909e-38,2.814606690498991e-38,2.8067226383659357e-38,2.798882631215631e-38,2.791086300984165e-38,2.783333283697223e-38,2.775623219413449e-38,2.767955752168738e-38,2.7603305299214544e-38,2.752747204498552e-38,2.745205431542579e-38,2.737704870459555e-38,2.7302451843676924e-38,2.7228260400469645e-38,2.715447107889485e-38,2.7081080618506947e-38,2.700808579401342e-38,2.6935483414802296e-38,2.686327032447729e-38,2.679144340040036e-38,2.671999955324161e-38,2.6648935726536334e-38,2.657824889624919e-38,2.6507936070345184e-38,2.6437994288367536e-38,2.636842062102217e-38,2.629921216976875e-38,2.623036606641814e-38,2.6161879472736204e-38,2.6093749580053716e-38,2.6025973608882453e-38,2.595854880853715e-38,2.5891472456763424e-38,2.5824741859371354e-38,2.575835434987478e-38,2.56923072891361e-38,2.562659806501659e-38,2.5561224092031973e-38,2.5496182811013354e-38,2.543147168877323e-38,2.5367088217776645e-38,2.530302991581727e-38,2.5239294325698415e-38,2.517587901491882e-38,2.511278157536323e-38,2.5049999622997504e-38,2.498753079756843e-38,2.492537276230787e-38,2.4863523203641433e-38,2.4801979830901387e-38,2.4740740376043903e-38,2.4679802593370383e-38,2.4619164259253006e-38,2.455882317186419e-38,2.4498777150910154e-38,2.443902403736824e-38,2.43795616932282e-38,2.432038800123716e-38,2.426150086464833e-38,2.420289820697333e-38,2.414457797173814e-38,2.4086538122242516e-38,2.4028776641322917e-38,2.3971291531118796e-38,2.3914080812842264e-38,2.3857142526551023e-38,2.380047473092457e-38,2.374407550304351e-38,2.368794293817213e-38,2.3632075149543883e-38,2.357647026815004e-38,2.352112644253125e-38,2.3466041838572035e-38,2.3411214639298199e-38,2.3356643044677008e-38,2.3302325271420233e-38,2.3248259552789878e-38,2.3194444138406642e-38,2.314087729406099e-38,2.30875573015269e-38,2.3034482458378124e-38,2.298165107780701e-38,2.2929061488445773e-38,2.2876712034190284e-38,2.2824601074026186e-38,2.2772726981857444e-38,2.272108814633718e-38,2.266968297070085e-38,2.2618509872601647e-38,2.2567567283948143e-38,2.2516853650744103e-38,2.2466367432930486e-38,2.241610710422954e-38,2.2366071151990996e-38,2.2316258077040298e-38,2.2266666393528893e-38,2.2217294628786488e-38,2.2168141323175274e-38,2.211920502994606e-38,2.2070484315096357e-38,2.2021977757230288e-38,2.1973683947420365e-38,2.1925601489071055e-38,2.187772899778418e-38,2.1830065101226026e-38,2.1782608438996226e-38,2.1735357662498299e-38,2.1688311434811944e-38,2.164146843056692e-38,2.15948273358186e-38,2.1548386847925083e-38,2.1502145675425965e-38,2.1456102537922594e-38,2.14102561659599e-38,2.136460530090971e-38,2.1319148694855594e-38,2.1273885110479129e-38,2.122881332094765e-38,2.1183932109803382e-38,2.1139240270854032e-38,2.1094736608064712e-38,2.1050419935451244e-38,2.1006289076974807e-38,2.0962342866437915e-38,2.0918580147381682e-38,2.087499977298438e-38,2.083160060596125e-38,2.0788381518465595e-38,2.074534139199105e-38,2.0702479117275122e-38,2.065979359420385e-38,2.0617283731717729e-38,2.0574948447718717e-38,2.0532786668978438e-38,2.0490797331047465e-38,2.0448979378165768e-38,2.0407331763174203e-38,2.036585344742713e-38,2.0324543400706033e-38,2.028340060113426e-38,2.0242424035092747e-38,2.0201612697136776e-38,2.016096558991373e-38,2.0120481724081872e-38,2.0080160118230048e-38,2.0039999798798404e-38,1.9999999800000002e-38,1.9960159163743435e-38,1.99204769395563e-38,1.988095218450964e-38,1.9841583963143226e-38,1.9802371347391776e-38,1.976331341651203e-38,1.9724409257010668e-38,1.9685657962573098e-38,1.9647058633993082e-38,1.9608610379103176e-38,1.9570312312705996e-38,1.9532163556506278e-38,1.9494163239043743e-38,1.9456310495626733e-38,1.9418604468266633e-38,1.9381044305613028e-38,1.9343629162889643e-38,1.9306358201831e-38,1.9269230590619825e-38,1.9232245503825143e-38,1.919540212234113e-38,1.9158699633326632e-38,1.9122137230145392e-38,1.9085714112306943e-38,1.9049429485408204e-38,1.9013282561075725e-38,1.8977272556908577e-38,1.89413986964219e-38,1.8905660208991102e-38,1.8870056329796674e-38,1.8834586299769633e-38,1.8799249365537562e-38,1.8764044779371293e-38,1.8728971799132153e-38,1.869402968821982e-38,1.865921771552074e-38,1.862453515535717e-38,1.858998128743671e-38,1.8555555396802472e-38,1.8521256773783748e-38,1.8487084713947252e-38,1.84530385180489e-38,1.8419117491986107e-38,1.8385320946750613e-38,1.835164819838184e-38,1.8318098567920751e-38,1.828467138136422e-38,1.8251365969619877e-38,1.821818166846149e-38,1.818511781848479e-38,1.8152173765063804e-38,1.811934885830764e-38,1.8086642453017766e-38,1.8054053908645727e-38,1.8021582589251336e-38,1.7989227863461287e-38,1.7956989104428258e-38,1.792486568979042e-38,1.789285700163138e-38,1.7860962426440565e-38,1.7829181355074024e-38,1.779751318271566e-38,1.7765957308838844e-38,1.7734513137168456e-38,1.7703180075643348e-38,1.7671957536379162e-38,1.7640844935631573e-38,1.7609841693759906e-38,1.7578947235191138e-38,1.7548160988384284e-38,1.7517482385795153e-38,1.7486910863841453e-38,1.7456445862868313e-38,1.7426086827114103e-38,1.7395833204676653e-38,1.7365684447479796e-38,1.7335640011240287e-38,1.7305699355435047e-38,1.727586194326873e-38,1.724612724164166e-38,1.721649472111808e-38,1.718696385589472e-38,1.7157534123769706e-38,1.712820500611177e-38,1.7098975987829795e-38,1.706984655734265e-38,1.7040816206549356e-38,1.701188443079952e-38,1.698305072886412e-38,1.6954314602906543e-38,1.6925675558453939e-38,1.6897133104368847e-38,1.6868686752821143e-38,1.6840336019260222e-38,1.6812080422387507e-38,1.678391948412919e-38,1.675585272960929e-38,1.6727879687122947e-38,1.6699999888110001e-38,1.667221286712883e-38,1.6644518161830444e-38,1.6616915312932848e-38,1.658940386419565e-38,1.656198336239492e-38,1.6534653357298306e-38,1.650741340164039e-38,1.6480263051098297e-38,1.6453201864267515e-38,1.6426229402638002e-38,1.6399345230570476e-38,1.6372548915272975e-38,1.6345840026777623e-38,1.6319218137917644e-38,1.6292682824304582e-38,1.6266233664305746e-38,1.623987023902188e-38,1.6213592132265058e-38,1.618739893053677e-38,1.6161290223006244e-38,1.613526560148895e-38,1.6109324660425347e-38,1.6083466996859808e-38,1.6057692210419752e-38,1.6031999903294979e-38,1.6006389680217213e-38,1.5980861148439825e-38,1.595541391771776e-38,1.5930047600287636e-38,1.5904761810848073e-38,1.5879556166540168e-38,1.5854430286928178e-38,1.582938379398037e-38,1.5804416312050075e-38,1.5779527467856904e-38,1.575471689046814e-38,1.572998421128031e-38,1.5705329064000945e-38,1.5680751084630474e-38,1.5656249911444338e-38,1.5631825184975213e-38,1.5607476547995458e-38,1.5583203645499686e-38,1.5559006124687513e-38,1.553488363494646e-38,1.5510835827835023e-38,1.5486862357065902e-38,1.5462962878489372e-38,1.5439137050076804e-38,1.541538453190438e-38,1.539170498613689e-38,1.5368098077011745e-38,1.5344563470823085e-38,1.5321100835906068e-38,1.5297709842621292e-38,1.5274390163339346e-38,1.5251141472425515e-38,1.5227963446224628e-38,1.5204855763046048e-38,1.5181818103148761e-38,1.5158850148726658e-38,1.5135951583893904e-38,1.5113122094670461e-38,1.509036136896774e-38,1.5067669096574369e-38,1.5045044969142117e-38,1.5022488680171907e-38,1.4999999925e-38,1.4977578400784251e-38,1.4955223806490534e-38,1.493293584287926e-38,1.491071421249203e-38,1.48885586196384e-38,1.4866468770382764e-38,1.4844444372531358e-38,1.4822485135619378e-38,1.4800590770898197e-38,1.4778760991322736e-38,1.4756995511538886e-38,1.473529404787111e-38,1.471365631831008e-38,1.4692082042500494e-38,1.4670570941728958e-38,1.4649122738911973e-38,1.462773715858405e-38,1.4606413926885906e-38,1.4585152771552793e-38,1.4563953421902889e-38,1.4542815608825818e-38,1.4521739064771268e-38,1.45007235237377e-38,1.4479768721261154e-38,1.4458874394404153e-38,1.4438040281744722e-38,1.4417266123365458e-38,1.439655166084275e-38,1.4375896637236034e-38,1.43553007970772e-38,1.4334763886360037e-38,1.4314285652529797e-38,1.4293865844472845e-38,1.4273504212506393e-38,1.425320050836832e-38,1.4232954485207096e-38,1.4212765897571753e-38,1.4192634501401986e-38,1.4172560054018315e-38,1.4152542314112326e-38,1.4132581041737006e-38,1.4112675998297164e-38,1.4092826946539907e-38,1.4073033650545228e-38,1.4053295875716655e-38,1.403361338877198e-38,1.401398595773407e-38,1.3994413351921759e-38,1.3974895341940794e-38,1.3955431699674894e-38,1.3936022198276853e-38,1.3916666612159723e-38,1.389736471698808e-38,1.3878116289669354e-38,1.385892110834524e-38,1.383977895238317e-38,1.382068960236785e-38,1.380165284009289e-38,1.3782668448552492e-38,1.376373621193319e-38,1.3744855915605684e-38,1.372602734611672e-38,1.3707250291181055e-38,1.3688524539673476e-38,1.366984988162088e-38,1.3651226108194434e-38,1.363265301170179e-38,1.3614130385579367e-38,1.3595658024384676e-38,1.357723572378875e-38,1.3558863280568592e-38,1.354054049259971e-38,1.3522267158848694e-38,1.3504043079365887e-38,1.3485868055278063e-38,1.3467741888781218e-38,1.3449664383133373e-38,1.343163534264747e-38,1.3413654572684312e-38,1.3395721879645544e-38,1.337783707096672e-38,1.33599999551104e-38,1.3342210341559324e-38,1.3324468040809614e-38,1.330677286436406e-38,1.3289124624725425e-38,1.3271523135389852e-38,1.3253968210840264e-38,1.3236459666539862e-38,1.3218997318925656e-38,1.3201580985402052e-38,1.3184210484334488e-38,1.316688563504311e-38,1.3149606257796516e-38,1.3132372173805544e-38,1.3115183205217102e-38,1.3098039175108037e-38,1.3080939907479089e-38,1.3063885227248851e-38,1.3046874960247804e-38,1.302990893321237e-38,1.3012986973779053e-38,1.2996108910478585e-38,1.297927457273014e-38,1.2962483790835592e-38,1.29457363959738e-38,1.2929032220194963e-38,1.2912371096415003e-38,1.2895752858409984e-38,1.2879177340810594e-38,1.2862644379096667e-38,1.2846153809591716e-38,1.2829705469457557e-38,1.281329919668893e-38,1.2796934830108189e-38,1.2780612209360034e-38,1.2764331174906245e-38,1.2748091568020512e-38,1.2731893230783264e-38,1.2715736006076555e-38,1.2699619737578974e-38,1.2683544269760616e-38,1.2667509447878073e-38,1.265151511796947e-38,1.263556112684953e-38,1.2619647322104702e-38,1.2603773552088287e-38,1.2587939665915634e-38,1.257214551345935e-38,1.2556390945344565e-38,1.2540675812944216e-38,1.2524999968374377e-38,1.2509363264489614e-38,1.249376555487839e-38,1.2478206693858492e-38,1.246268653647249e-38,1.2447204938483238e-38,1.2431761756369413e-38,1.2416356847321071e-38,1.2400990069235248e-38,1.2385661280711586e-38,1.2370370341048013e-38,1.2355117110236407e-38,1.233990144895836e-38,1.2324723218580903e-38,1.2309582281152316e-38,1.2294478499397945e-38,1.2279411736716048e-38,1.2264381857173677e-38,1.2249388725502597e-38,1.2234432207095226e-38,1.2219512168000596e-38,1.220462847492037e-38,1.218978099520486e-38,1.2174969596849093e-38,1.2160194148488902e-38,1.2145454519397026e-38,1.2130750579479274e-38,1.2116082199270685e-38,1.2101449249931738e-38,1.2086851603244568e-38,1.2072289131609233e-38,1.2057761708039985e-38,1.2043269206161591e-38,1.2028811500205654e-38,1.2014388465006988e-38,1.1999999976e-38,1.1985645909215106e-38,1.1971326141275164e-38,1.195704054939195e-38,1.1942789011362638e-38,1.1928571405566327e-38,1.1914387610960567e-38,1.1900237507077934e-38,1.188612097402262e-38,1.187203789246704e-38,1.1857988143648473e-38,1.1843971609365726e-38,1.1829988171975817e-38,1.1816037714390686e-38,1.1802120120073918e-38,1.178823527303751e-38,1.177438305783864e-38,1.1760563359576474e-38,1.1746776063888984e-38,1.1733021056949801e-38,1.1719298225465066e-38,1.1705607456670344e-38,1.1691948638327507e-38,1.1678321658721699e-38,1.1664726406658256e-38,1.1651162771459708e-38,1.1637630642962766e-38,1.1624129911515336e-38,1.1610660467973559e-38,1.1597222203698882e-38,1.1583815010555113e-38,1.1570438780905547e-38,1.1557093407610063e-38,1.1543778784022277e-38,1.1530494803986701e-38,1.1517241361835912e-38,1.1504018352387756e-38,1.1490825670942578e-38,1.1477663213280428e-38,1.1464530875658353e-38,1.1451428554807642e-38,1.1438356147931131e-38,1.1425313552700523e-38,1.14123006672537e-38,1.1399317390192081e-38,1.1386363620577997e-38,1.1373439257932052e-38,1.1360544202230552e-38,1.1347678353902904e-38,1.1334841613829057e-38,1.1322033883336973e-38,1.1309255064200073e-38,1.1296505058634746e-38,1.1283783769297846e-38,1.1271091099284214e-38,1.1258426952124227e-38,1.1245791231781339e-38,1.1233183842649661e-38,1.1220604689551558e-38,1.1208053677735239e-38,1.1195530712872382e-38,1.1183035701055785e-38,1.1170568548796992e-38,1.1158129163023993e-38,1.1145717451078878e-38,1.1133333320715556e-38,1.1120976680097463e-38,1.1108647437795293e-38,1.1096345502784738e-38,1.108407078444426e-38,1.1071823192552852e-38,1.1059602637287838e-38,1.1047409029222671e-38,1.103524227932475e-38,1.1023102298953262e-38,1.1010988999857024e-38,1.0998902294172337e-38,1.098684209442088e-38,1.097480831350758e-38,1.0962800864718529e-38,1.0950819661718894e-38,1.0938864618550847e-38,1.0926935649631522e-38,1.0915032669750952e-38,1.0903155594070056e-38,1.0891304338118621e-38,1.0879478817793292e-38,1.0867678949355593e-38,1.0855904649429942e-38,1.0844155835001686e-38,1.0832432423415165e-38,1.0820734332371753e-38,1.0809061479927944e-38,1.0797413784493442e-38,1.0785791164829248e-38,1.0774193540045786e-38,1.076262082960101e-38,1.075107295329855e-38,1.0739549831285864e-38,1.0728051384052384e-38,1.0716577532427693e-38,1.0705128197579718e-38,1.0693703301012906e-38,1.0682302764566446e-38,1.0670926510412479e-38,1.0659574461054323e-38,1.0648246539324729e-38,1.0636942668384114e-38,1.0625662771718833e-38,1.0614406773139454e-38,1.0603174596779037e-38,1.0591966167091437e-38,1.05807814088496e-38,1.0569620247143886e-38,1.0558482607380405e-38,1.0547368415279337e-38,1.053627759687329e-38,1.0525210078505668e-38,1.0514165786829022e-38,1.0503144648803449e-38,1.0492146591694965e-38,1.0481171543073914e-38,1.0470219430813378e-38,1.0459290183087593e-38,1.044838372837038e-38,1.0437499995433594e-38,1.0426638913345554e-38,1.0415800411469521e-38,1.0404984419462156e-38,1.0394190867271999e-38,1.0383419685137964e-38,1.0372670803587826e-38,1.0361944153436731e-38,1.0351239665785723e-38,1.0340557272020243e-38,1.0329896903808695e-38,1.0319258493100958e-38,1.0308641972126962e-38,1.0298047273395238e-38,1.0287474329691486e-38,1.027692307407716e-38,1.0266393439888051e-38,1.0255885360732885e-38,1.0245398770491927e-38,1.0234933603315594e-38,1.0224489793623073e-38,1.0214067276100965e-38,1.0203665985701902e-38,1.0193285857643211e-38,1.0182926827405563e-38,1.0172588830731634e-38,1.0162271803624783e-38,1.0151975682347725e-38,1.0141700403421216e-38,1.0131445903622763e-38,1.0121212119985309e-38,1.0110998989795954e-38,1.0100806450594678e-38,1.0090634440173054e-38,1.0080482896572999e-38,1.0070351758085503e-38,1.0060240963249383e-38,1.0050150450850043e-38,1.0040080159918234e-38,1.0030030029728828e-38,1.0019999999799601e-38,1.0009990009890009e-38,1.0e-38],"x":[1.0e30,9.98013982035928e34,1.996017964071856e35,2.9940219461077843e35,3.9920259281437124e35,4.9900299101796405e35,5.9880338922155686e35,6.986037874251497e35,7.984041856287425e35,8.982045838323353e35,9.980049820359281e35,1.0978053802395209e36,1.1976057784431137e36,1.2974061766467065e36,1.3972065748502994e36,1.4970069730538922e36,1.596807371257485e36,1.6966077694610778e36,1.7964081676646706e36,1.8962085658682634e36,1.9960089640718562e36,2.095809362275449e36,2.1956097604790418e36,2.2954101586826347e36,2.3952105568862275e36,2.4950109550898203e36,2.594811353293413e36,2.694611751497006e36,2.794412149700599e36,2.894212547904192e36,2.9940129461077846e36,3.0938133443113774e36,3.19361374251497e36,3.293414140718563e36,3.393214538922156e36,3.4930149371257487e36,3.5928153353293415e36,3.6926157335329343e36,3.792416131736527e36,3.89221652994012e36,3.992016928143713e36,4.0918173263473056e36,4.1916177245508984e36,4.291418122754491e36,4.391218520958084e36,4.491018919161677e36,4.5908193173652696e36,4.6906197155688624e36,4.790420113772455e36,4.890220511976048e36,4.990020910179641e36,5.0898213083832337e36,5.1896217065868265e36,5.289422104790419e36,5.389222502994012e36,5.489022901197604e36,5.588823299401197e36,5.68862369760479e36,5.788424095808383e36,5.888224494011976e36,5.988024892215568e36,6.087825290419161e36,6.187625688622754e36,6.287426086826347e36,6.38722648502994e36,6.487026883233532e36,6.586827281437125e36,6.686627679640718e36,6.786428077844311e36,6.886228476047904e36,6.986028874251496e36,7.085829272455089e36,7.185629670658682e36,7.285430068862275e36,7.385230467065868e36,7.48503086526946e36,7.584831263473053e36,7.684631661676646e36,7.784432059880239e36,7.884232458083832e36,7.984032856287425e36,8.083833254491017e36,8.18363365269461e36,8.283434050898203e36,8.383234449101796e36,8.483034847305389e36,8.582835245508981e36,8.682635643712574e36,8.782436041916167e36,8.88223644011976e36,8.982036838323353e36,9.081837236526946e36,9.181637634730538e36,9.281438032934131e36,9.381238431137724e36,9.481038829341317e36,9.58083922754491e36,9.680639625748502e36,9.780440023952095e36,9.880240422155688e36,9.980040820359281e36,1.0079841218562874e37,1.0179641616766466e37,1.0279442014970059e37,1.0379242413173652e37,1.0479042811377245e37,1.0578843209580838e37,1.0678643607784432e37,1.0778444005988024e37,1.0878244404191617e37,1.097804480239521e37,1.1077845200598803e37,1.1177645598802396e37,1.1277445997005989e37,1.1377246395209581e37,1.1477046793413174e37,1.1576847191616767e37,1.167664758982036e37,1.1776447988023953e37,1.1876248386227545e37,1.1976048784431138e37,1.207584918263473e37,1.2175649580838324e37,1.2275449979041917e37,1.237525037724551e37,1.2475050775449102e37,1.2574851173652695e37,1.2674651571856288e37,1.277445197005988e37,1.2874252368263474e37,1.2974052766467066e37,1.307385316467066e37,1.3173653562874252e37,1.3273453961077845e37,1.3373254359281438e37,1.347305475748503e37,1.3572855155688623e37,1.3672655553892216e37,1.377245595209581e37,1.3872256350299402e37,1.3972056748502994e37,1.4071857146706587e37,1.417165754491018e37,1.4271457943113773e37,1.4371258341317366e37,1.4471058739520959e37,1.4570859137724551e37,1.4670659535928144e37,1.4770459934131737e37,1.487026033233533e37,1.4970060730538923e37,1.5069861128742515e37,1.5169661526946108e37,1.52694619251497e37,1.5369262323353294e37,1.5469062721556887e37,1.556886311976048e37,1.5668663517964072e37,1.5768463916167665e37,1.5868264314371258e37,1.596806471257485e37,1.6067865110778443e37,1.6167665508982036e37,1.626746590718563e37,1.6367266305389222e37,1.6467066703592815e37,1.6566867101796408e37,1.66666675e37,1.6766467898203593e37,1.6866268296407186e37,1.6966068694610779e37,1.7065869092814372e37,1.7165669491017964e37,1.7265469889221557e37,1.736527028742515e37,1.7465070685628743e37,1.7564871083832336e37,1.7664671482035928e37,1.7764471880239521e37,1.7864272278443114e37,1.7964072676646707e37,1.80638730748503e37,1.8163673473053893e37,1.8263473871257485e37,1.8363274269461078e37,1.846307466766467e37,1.8562875065868264e37,1.8662675464071857e37,1.876247586227545e37,1.8862276260479042e37,1.8962076658682635e37,1.9061877056886228e37,1.916167745508982e37,1.9261477853293413e37,1.9361278251497006e37,1.94610786497006e37,1.9560879047904192e37,1.9660679446107785e37,1.9760479844311378e37,1.986028024251497e37,1.9960080640718563e37,2.0059881038922156e37,2.0159681437125749e37,2.0259481835329342e37,2.0359282233532934e37,2.0459082631736527e37,2.055888302994012e37,2.0658683428143713e37,2.0758483826347306e37,2.0858284224550898e37,2.0958084622754491e37,2.1057885020958084e37,2.1157685419161677e37,2.125748581736527e37,2.1357286215568862e37,2.1457086613772453e37,2.155688701197605e37,2.165668741017964e37,2.1756487808383234e37,2.1856288206586824e37,2.195608860479042e37,2.205588900299401e37,2.2155689401197605e37,2.2255489799401195e37,2.235529019760479e37,2.245509059580838e37,2.2554890994011976e37,2.2654691392215567e37,2.275449179041916e37,2.285429218862275e37,2.2954092586826347e37,2.305389298502994e37,2.3153693383233533e37,2.3253493781437124e37,2.335329417964072e37,2.345309457784431e37,2.3552894976047904e37,2.3652695374251495e37,2.375249577245509e37,2.385229617065868e37,2.3952096568862276e37,2.4051896967065866e37,2.415169736526946e37,2.425149776347305e37,2.4351298161676647e37,2.4451098559880237e37,2.4550898958083832e37,2.4650699356287423e37,2.475049975449102e37,2.485030015269461e37,2.4950100550898204e37,2.5049900949101794e37,2.514970134730539e37,2.524950174550898e37,2.5349302143712575e37,2.5449102541916165e37,2.554890294011976e37,2.564870333832335e37,2.5748503736526946e37,2.5848304134730537e37,2.594810453293413e37,2.604790493113772e37,2.6147705329341317e37,2.624750572754491e37,2.6347306125748503e37,2.6447106523952093e37,2.654690692215569e37,2.664670732035928e37,2.6746507718562874e37,2.6846308116766465e37,2.694610851497006e37,2.704590891317365e37,2.7145709311377246e37,2.7245509709580836e37,2.734531010778443e37,2.744511050598802e37,2.7544910904191617e37,2.7644711302395207e37,2.7744511700598802e37,2.7844312098802393e37,2.794411249700599e37,2.804391289520958e37,2.8143713293413174e37,2.8243513691616764e37,2.834331408982036e37,2.844311448802395e37,2.8542914886227545e37,2.8642715284431135e37,2.874251568263473e37,2.884231608083832e37,2.8942116479041916e37,2.9041916877245507e37,2.91417172754491e37,2.924151767365269e37,2.9341318071856287e37,2.944111847005988e37,2.9540918868263473e37,2.9640719266467063e37,2.974051966467066e37,2.984032006287425e37,2.9940120461077844e37,3.0039920859281435e37,3.013972125748503e37,3.023952165568862e37,3.0339322053892215e37,3.0439122452095806e37,3.05389228502994e37,3.063872324850299e37,3.0738523646706587e37,3.0838324044910177e37,3.0938124443113772e37,3.1037924841317363e37,3.113772523952096e37,3.123752563772455e37,3.1337326035928144e37,3.1437126434131734e37,3.153692683233533e37,3.163672723053892e37,3.1736527628742515e37,3.1836328026946105e37,3.19361284251497e37,3.203592882335329e37,3.2135729221556886e37,3.2235529619760477e37,3.233533001796407e37,3.243513041616766e37,3.2534930814371257e37,3.263473121257485e37,3.2734531610778443e37,3.2834332008982033e37,3.293413240718563e37,3.303393280538922e37,3.3133733203592814e37,3.3233533601796405e37,3.3333334e37,3.343313439820359e37,3.3532934796407185e37,3.3632735194610776e37,3.373253559281437e37,3.383233599101796e37,3.3932136389221557e37,3.4031936787425147e37,3.413173718562874e37,3.4231537583832333e37,3.433133798203593e37,3.443113838023952e37,3.4530938778443114e37,3.4630739176646704e37,3.47305395748503e37,3.483033997305389e37,3.4930140371257485e37,3.5029940769461075e37,3.512974116766467e37,3.522954156586826e37,3.5329341964071856e37,3.5429142362275447e37,3.552894276047904e37,3.562874315868263e37,3.5728543556886227e37,3.582834395508982e37,3.5928144353293413e37,3.6027944751497003e37,3.61277451497006e37,3.622754554790419e37,3.6327345946107784e37,3.6427146344311375e37,3.652694674251497e37,3.662674714071856e37,3.6726547538922155e37,3.6826347937125746e37,3.692614833532934e37,3.702594873353293e37,3.7125749131736527e37,3.7225549529940117e37,3.732534992814371e37,3.7425150326347303e37,3.75249507245509e37,3.762475112275449e37,3.7724551520958084e37,3.7824351919161674e37,3.792415231736527e37,3.802395271556886e37,3.8123753113772455e37,3.8223553511976045e37,3.832335391017964e37,3.842315430838323e37,3.8522954706586826e37,3.8622755104790416e37,3.872255550299401e37,3.88223559011976e37,3.8922156299401197e37,3.902195669760479e37,3.9121757095808383e37,3.9221557494011973e37,3.932135789221557e37,3.942115829041916e37,3.9520958688622754e37,3.9620759086826345e37,3.972055948502994e37,3.982035988323353e37,3.9920160281437125e37,4.0019960679640716e37,4.011976107784431e37,4.02195614760479e37,4.0319361874251497e37,4.0419162272455087e37,4.051896267065868e37,4.0618763068862273e37,4.071856346706587e37,4.081836386526946e37,4.0918164263473053e37,4.1017964661676644e37,4.111776505988024e37,4.121756545808383e37,4.1317365856287425e37,4.1417166254491015e37,4.151696665269461e37,4.16167670508982e37,4.1716567449101796e37,4.1816367847305386e37,4.191616824550898e37,4.201596864371257e37,4.2115769041916167e37,4.221556944011976e37,4.2315369838323353e37,4.2415170236526943e37,4.251497063473054e37,4.261477103293413e37,4.271457143113772e37,4.281437182934131e37,4.291417222754491e37,4.3013972625748505e37,4.311377302395209e37,4.321357342215569e37,4.331337382035928e37,4.341317421856288e37,4.351297461676646e37,4.361277501497006e37,4.371257541317365e37,4.381237581137725e37,4.391217620958083e37,4.401197660778443e37,4.411177700598802e37,4.421157740419162e37,4.43113778023952e37,4.44111782005988e37,4.451097859880239e37,4.461077899700599e37,4.471057939520958e37,4.481037979341317e37,4.491018019161677e37,4.500998058982036e37,4.510978098802395e37,4.520958138622754e37,4.530938178443114e37,4.540918218263473e37,4.550898258083832e37,4.560878297904191e37,4.570858337724551e37,4.58083837754491e37,4.590818417365269e37,4.600798457185628e37,4.610778497005988e37,4.6207585368263475e37,4.630738576646706e37,4.640718616467066e37,4.650698656287425e37,4.660678696107785e37,4.670658735928143e37,4.680638775748503e37,4.690618815568862e37,4.700598855389222e37,4.71057889520958e37,4.72055893502994e37,4.730538974850299e37,4.740519014670659e37,4.750499054491017e37,4.760479094311377e37,4.770459134131736e37,4.780439173952096e37,4.790419213772455e37,4.800399253592814e37,4.810379293413174e37,4.820359333233533e37,4.830339373053892e37,4.840319412874251e37,4.850299452694611e37,4.86027949251497e37,4.870259532335329e37,4.880239572155688e37,4.890219611976048e37,4.900199651796407e37,4.910179691616766e37,4.920159731437125e37,4.930139771257485e37,4.9401198110778445e37,4.950099850898203e37,4.960079890718563e37,4.970059930538922e37,4.980039970359282e37,4.99002001017964e37,5.00000005e37,5.009980089820359e37,5.019960129640719e37,5.029940169461077e37,5.039920209281437e37,5.049900249101796e37,5.059880288922156e37,5.069860328742514e37,5.079840368562874e37,5.089820408383233e37,5.099800448203593e37,5.109780488023952e37,5.119760527844311e37,5.129740567664671e37,5.13972060748503e37,5.149700647305389e37,5.159680687125748e37,5.169660726946108e37,5.179640766766467e37,5.189620806586826e37,5.199600846407185e37,5.209580886227545e37,5.219560926047904e37,5.229540965868263e37,5.239521005688622e37,5.249501045508982e37,5.2594810853293415e37,5.2694611251497e37,5.27944116497006e37,5.289421204790419e37,5.299401244610779e37,5.309381284431137e37,5.319361324251497e37,5.329341364071856e37,5.339321403892216e37,5.349301443712574e37,5.359281483532934e37,5.369261523353293e37,5.379241563173653e37,5.389221602994011e37,5.399201642814371e37,5.40918168263473e37,5.41916172245509e37,5.429141762275449e37,5.439121802095808e37,5.449101841916168e37,5.459081881736527e37,5.469061921556886e37,5.479041961377245e37,5.489022001197605e37,5.499002041017964e37,5.508982080838323e37,5.518962120658682e37,5.528942160479042e37,5.538922200299401e37,5.54890224011976e37,5.558882279940119e37,5.568862319760479e37,5.5788423595808385e37,5.588822399401197e37,5.598802439221557e37,5.608782479041916e37,5.618762518862276e37,5.628742558682634e37,5.638722598502994e37,5.648702638323353e37,5.658682678143713e37,5.668662717964071e37,5.678642757784431e37,5.68862279760479e37,5.69860283742515e37,5.708582877245508e37,5.718562917065868e37,5.728542956886227e37,5.738522996706587e37,5.748503036526946e37,5.758483076347305e37,5.768463116167665e37,5.778443155988024e37,5.788423195808383e37,5.798403235628742e37,5.808383275449102e37,5.818363315269461e37,5.82834335508982e37,5.838323394910179e37,5.848303434730539e37,5.858283474550898e37,5.868263514371257e37,5.878243554191616e37,5.888223594011976e37,5.898203633832335e37,5.908183673652694e37,5.918163713473054e37,5.928143753293413e37,5.938123793113773e37,5.948103832934131e37,5.958083872754491e37,5.96806391257485e37,5.97804395239521e37,5.988023992215568e37,5.998004032035928e37,6.007984071856287e37,6.017964111676647e37,6.027944151497005e37,6.037924191317365e37,6.047904231137724e37,6.057884270958084e37,6.067864310778443e37,6.077844350598802e37,6.087824390419162e37,6.097804430239521e37,6.10778447005988e37,6.117764509880239e37,6.127744549700599e37,6.137724589520958e37,6.147704629341317e37,6.157684669161676e37,6.167664708982036e37,6.177644748802395e37,6.187624788622754e37,6.197604828443113e37,6.207584868263473e37,6.217564908083832e37,6.227544947904191e37,6.237524987724551e37,6.24750502754491e37,6.25748506736527e37,6.267465107185628e37,6.277445147005988e37,6.287425186826347e37,6.297405226646707e37,6.307385266467065e37,6.317365306287425e37,6.327345346107784e37,6.337325385928144e37,6.347305425748502e37,6.357285465568862e37,6.367265505389221e37,6.377245545209581e37,6.38722558502994e37,6.397205624850299e37,6.407185664670659e37,6.417165704491018e37,6.427145744311377e37,6.437125784131736e37,6.447105823952096e37,6.457085863772455e37,6.467065903592814e37,6.477045943413173e37,6.487025983233533e37,6.497006023053892e37,6.506986062874251e37,6.51696610269461e37,6.52694614251497e37,6.536926182335329e37,6.546906222155688e37,6.556886261976048e37,6.566866301796407e37,6.576846341616767e37,6.586826381437125e37,6.596806421257485e37,6.606786461077844e37,6.616766500898204e37,6.626746540718562e37,6.636726580538922e37,6.646706620359281e37,6.656686660179641e37,6.666666699999999e37,6.676646739820359e37,6.686626779640718e37,6.696606819461078e37,6.706586859281437e37,6.716566899101796e37,6.726546938922156e37,6.736526978742515e37,6.746507018562874e37,6.756487058383233e37,6.766467098203593e37,6.776447138023952e37,6.786427177844311e37,6.79640721766467e37,6.80638725748503e37,6.816367297305389e37,6.826347337125748e37,6.836327376946107e37,6.846307416766467e37,6.856287456586826e37,6.866267496407185e37,6.876247536227545e37,6.886227576047904e37,6.896207615868264e37,6.906187655688622e37,6.916167695508982e37,6.926147735329341e37,6.936127775149701e37,6.946107814970059e37,6.956087854790419e37,6.966067894610778e37,6.976047934431138e37,6.986027974251496e37,6.996008014071856e37,7.005988053892215e37,7.015968093712575e37,7.0259481335329335e37,7.035928173353293e37,7.045908213173653e37,7.055888252994012e37,7.065868292814371e37,7.07584833263473e37,7.08582837245509e37,7.095808412275449e37,7.105788452095808e37,7.115768491916167e37,7.125748531736527e37,7.135728571556886e37,7.145708611377245e37,7.155688651197604e37,7.165668691017964e37,7.175648730838323e37,7.185628770658682e37,7.195608810479042e37,7.205588850299401e37,7.215568890119761e37,7.225548929940119e37,7.235528969760479e37,7.245509009580838e37,7.255489049401198e37,7.265469089221556e37,7.275449129041916e37,7.285429168862275e37,7.295409208682635e37,7.305389248502993e37,7.315369288323353e37,7.325349328143712e37,7.335329367964072e37,7.3453094077844305e37,7.35528944760479e37,7.36526948742515e37,7.375249527245509e37,7.385229567065868e37,7.395209606886227e37,7.405189646706587e37,7.415169686526946e37,7.425149726347305e37,7.435129766167664e37,7.445109805988024e37,7.455089845808383e37,7.465069885628742e37,7.475049925449101e37,7.485029965269461e37,7.49501000508982e37,7.504990044910179e37,7.514970084730539e37,7.524950124550898e37,7.534930164371258e37,7.544910204191616e37,7.554890244011976e37,7.564870283832335e37,7.574850323652695e37,7.584830363473053e37,7.594810403293413e37,7.604790443113772e37,7.614770482934132e37,7.62475052275449e37,7.63473056257485e37,7.644710602395209e37,7.654690642215569e37,7.6646706820359275e37,7.674650721856287e37,7.684630761676647e37,7.694610801497006e37,7.704590841317365e37,7.714570881137724e37,7.724550920958084e37,7.734530960778443e37,7.744511000598802e37,7.754491040419161e37,7.764471080239521e37,7.77445112005988e37,7.784431159880239e37,7.794411199700598e37,7.804391239520958e37,7.814371279341317e37,7.824351319161676e37,7.834331358982036e37,7.844311398802395e37,7.854291438622755e37,7.864271478443113e37,7.874251518263473e37,7.884231558083832e37,7.894211597904192e37,7.90419163772455e37,7.91417167754491e37,7.924151717365269e37,7.934131757185629e37,7.944111797005987e37,7.954091836826347e37,7.964071876646706e37,7.974051916467066e37,7.9840319562874245e37,7.994011996107784e37,8.003992035928144e37,8.013972075748503e37,8.023952115568862e37,8.033932155389221e37,8.043912195209581e37,8.05389223502994e37,8.063872274850299e37,8.073852314670658e37,8.083832354491018e37,8.093812394311377e37,8.103792434131736e37,8.113772473952095e37,8.123752513772455e37,8.133732553592814e37,8.143712593413173e37,8.153692633233533e37,8.163672673053892e37,8.173652712874252e37,8.18363275269461e37,8.19361279251497e37,8.203592832335329e37,8.213572872155689e37,8.223552911976047e37,8.233532951796407e37,8.243512991616766e37,8.253493031437126e37,8.263473071257484e37,8.273453111077844e37,8.283433150898203e37,8.293413190718563e37,8.3033932305389215e37,8.313373270359281e37,8.323353310179641e37,8.33333335e37,8.343313389820359e37,8.353293429640718e37,8.363273469461078e37,8.373253509281437e37,8.383233549101796e37,8.393213588922155e37,8.403193628742515e37,8.413173668562874e37,8.423153708383233e37,8.433133748203592e37,8.443113788023952e37,8.453093827844311e37,8.46307386766467e37,8.4730539074850295e37,8.483033947305389e37,8.493013987125749e37,8.502994026946107e37,8.512974066766467e37,8.522954106586825e37,8.532934146407186e37,8.542914186227544e37,8.552894226047905e37,8.562874265868263e37,8.572854305688622e37,8.582834345508982e37,8.59281438532934e37,8.6027944251497e37,8.61277446497006e37,8.622754504790419e37,8.632734544610779e37,8.642714584431138e37,8.652694624251496e37,8.662674664071857e37,8.672654703892215e37,8.682634743712574e37,8.692614783532934e37,8.702594823353293e37,8.712574863173653e37,8.722554902994012e37,8.73253494281437e37,8.74251498263473e37,8.75249502245509e37,8.762475062275448e37,8.772455102095808e37,8.782435141916167e37,8.792415181736527e37,8.802395221556886e37,8.812375261377245e37,8.822355301197605e37,8.832335341017964e37,8.842315380838322e37,8.852295420658683e37,8.862275460479041e37,8.872255500299402e37,8.88223554011976e37,8.892215579940119e37,8.90219561976048e37,8.912175659580838e37,8.922155699401196e37,8.932135739221557e37,8.942115779041916e37,8.952095818862276e37,8.962075858682635e37,8.972055898502993e37,8.982035938323354e37,8.992015978143712e37,9.00199601796407e37,9.011976057784431e37,9.02195609760479e37,9.03193613742515e37,9.041916177245509e37,9.051896217065867e37,9.061876256886228e37,9.071856296706586e37,9.081836336526945e37,9.091816376347305e37,9.101796416167664e37,9.111776455988024e37,9.121756495808383e37,9.131736535628742e37,9.141716575449102e37,9.15169661526946e37,9.16167665508982e37,9.17165669491018e37,9.181636734730538e37,9.191616774550899e37,9.201596814371257e37,9.211576854191616e37,9.221556894011976e37,9.231536933832335e37,9.241516973652693e37,9.251497013473054e37,9.261477053293412e37,9.271457093113773e37,9.281437132934132e37,9.29141717275449e37,9.30139721257485e37,9.31137725239521e37,9.321357292215568e37,9.331337332035928e37,9.341317371856287e37,9.351297411676647e37,9.361277451497006e37,9.371257491317364e37,9.381237531137725e37,9.391217570958083e37,9.401197610778442e37,9.411177650598802e37,9.421157690419161e37,9.431137730239521e37,9.44111777005988e37,9.451097809880239e37,9.4610778497006e37,9.471057889520958e37,9.481037929341316e37,9.491017969161677e37,9.500998008982035e37,9.510978048802396e37,9.520958088622754e37,9.530938128443113e37,9.540918168263473e37,9.550898208083832e37,9.56087824790419e37,9.57085828772455e37,9.58083832754491e37,9.59081836736527e37,9.600798407185629e37,9.610778447005987e37,9.620758486826348e37,9.630738526646706e37,9.640718566467065e37,9.650698606287425e37,9.660678646107784e37,9.670658685928144e37,9.680638725748503e37,9.690618765568861e37,9.700598805389222e37,9.71057884520958e37,9.720558885029939e37,9.7305389248503e37,9.740518964670658e37,9.750499004491018e37,9.760479044311377e37,9.770459084131736e37,9.780439123952096e37,9.790419163772455e37,9.800399203592813e37,9.810379243413174e37,9.820359283233532e37,9.830339323053893e37,9.840319362874251e37,9.85029940269461e37,9.86027944251497e37,9.870259482335329e37,9.880239522155687e37,9.890219561976048e37,9.900199601796406e37,9.910179641616767e37,9.920159681437126e37,9.930139721257484e37,9.940119761077845e37,9.950099800898203e37,9.960079840718562e37,9.970059880538922e37,9.98003992035928e37,9.990019960179641e37,1.0e38]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/large_negative.json b/base/special/acotf/test/fixtures/julia/large_negative.json new file mode 100644 index 000000000..d2e26dd8f --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/large_negative.json @@ -0,0 +1 @@ +{"expected":[-0.3217505543966422,-0.3168438224307561,-0.3120796760164739,-0.3074521961785023,-0.3029557752740939,-0.2985850976279289,-0.294335121522996,-0.29020106244517896,-0.2861783774871366,-0.2822627508243861,-0.2784500801832789,-0.27473646422683834,-0.2711181907902249,-0.26759172590294206,-0.2641537035398278,-0.26080091604741634,-0.2575303051964318,-0.25433895381502275,-0.2512240779608777,-0.24818301959361388,-0.24521323971181797,-0.2423123119218614,-0.23947791640813942,-0.23670783427669775,-0.23399994224634696,-0.2313522076633219,-0.2287626838173471,-0.22622950553862597,-0.22375088505679852,-0.221325108104313,-0.21895053024795272,-0.21662557343344555,-0.21434872272918318,-0.21211852325608463,-0.20993357729157186,-0.20779254153648433,-0.2056941245345502,-0.20363708423476667,-0.20162022568771457,-0.19964239886745958,-0.19770249661126707,-0.19579945266989365,-0.1939322398617105,-0.19209986832437126,-0.19030138385816184,-0.1885358663555586,-0.1868024283118889,-0.18510021341232094,-0.1834283951907268,-0.18178617575624872,-0.1801727845836721,-0.17858747736395603,-0.17702953491150733,-0.17549826212499942,-0.1739929869987386,-0.17251305968176917,-0.17105785158208164,-0.16962675451345283,-0.16821917988259638,-0.16683455791444554,-0.16547233691352042,-0.16413198255945596,-0.1628129772348817,-0.1615148193839508,-0.1602370228999188,-0.15897911654026242,-0.1577406433679205,-0.15652116021731857,-0.15532023718391677,-0.15413745713609217,-0.15297241524823457,-0.15182471855399748,-0.15069398551870608,-0.14957984562997848,-0.1484819390056697,-0.1473999160182968,-0.1463334369351488,-0.14528217157332893,-0.14424579896901743,-0.14322400706028066,-0.14221649238278922,-0.14122295977784072,-0.14024312211211482,-0.13927670000861866,-0.1383234215883087,-0.1373830222219009,-0.13645524429140785,-0.13553983696096322,-0.1346365559565182,-0.13374516335401304,-0.13286542737565035,-0.13199712219391097,-0.1311400277429755,-0.13029392953722826,-0.1294586184965368,-0.12863389077801696,-0.12781954761400413,-0.12701539515596902,-0.12622124432412438,-0.1254369106624854,-0.12466221419915427,-0.12389697931161303,-0.12314103459681663,-0.12239421274588971,-0.12165635042323845,-0.12092728814989843,-0.1202068701909467,-0.11949494444681533,-0.11879136234835003,-0.1180959787554651,-0.1174086518592522,-0.1167292430874075,-0.11605761701284707,-0.11539364126538648,-0.11473718644636594,-0.11408812604610775,-0.11344633636409746,-0.11281169643178458,-0.11218408793790431,-0.11156339515622443,-0.11094950487562696,-0.11034230633243693,-0.10974169114491525,-0.10914755324983556,-0.10855978884106827,-0.1079782963100986,-0.10740297618840829,-0.10683373109165328,-0.10627046566557269,-0.10571308653356719,-0.10516150224588712,-0.10461562323037311,-0.10407536174469444,-0.10354063183003247,-0.10301134926615876,-0.10248743152785894,-0.10196879774265588,-0.10145536864978763,-0.10094706656039662,-0.10044381531888888,-0.09994554026542377,-0.09945216819949548,-0.09896362734457015,-0.0984798473137424,-0.09800075907637808,-0.09752629492571005,-0.09705638844735534,-0.09659097448872389,-0.09612998912928897,-0.0956733696516919,-0.0952210545136534,-0.09477298332066567,-0.09432909679944043,-0.09388933677208806,-0.09345364613100508,-0.09302196881444712,-0.09259424978276605,-0.09217043499528997,-0.09175047138782619,-0.09133430685076777,-0.09092189020778464,-0.0905131711950815,-0.09010810044120479,-0.08970662944738217,-0.08930871056837796,-0.08891429699384897,-0.08852334273018574,-0.08813580258282425,-0.08775163213901416,-0.08737078775102995,-0.08699322651981156,-0.08661890627902225,-0.08624778557951066,-0.08587982367416588,-0.08551498050315373,-0.08515321667952284,-0.0847944934751704,-0.08443877280715664,-0.08408601722435828,-0.08373618989445111,-0.08338925459121231,-0.08304517568213349,-0.08270391811633541,-0.08236544741277624,-0.0820297296487446,-0.08169673144862993,-0.08136641997296205,-0.0810387629077126,-0.08071372845385098,-0.08039128531714819,-0.0800714026982209,-0.07975405028281021,-0.07943919823228791,-0.07912681717438436,-0.07881687819413205,-0.07850935282501888,-0.07820421304034575,-0.07790143124478244,-0.0776009802661174,-0.07730283334719538,-0.07700696413803856,-0.07671334668814596,-0.07642195543896678,-0.07613276521654276,-0.0758457512243155,-0.07556088903609405,-0.07527815458917919,-0.07499752417763976,-0.07471897444573744,-0.07444248238149626,-0.07416802531041289,-0.07389558088930438,-0.07362512710028961,-0.07335664224490136,-0.07309010493832555,-0.0728254941037643,-0.07256278896692021,-0.07230196905059831,-0.07204301416942299,-0.07178590442466723,-0.07153062019919101,-0.0712771421524865,-0.07102545121582732,-0.07077552858751936,-0.07052735572825057,-0.0702809143565376,-0.07003618644426657,-0.06979315421232604,-0.06955180012632987,-0.06931210689242774,-0.06907405745320128,-0.06883763498364383,-0.06860282288722185,-0.06836960479201598,-0.06813796454693997,-0.06790788621803555,-0.06767935408484162,-0.06745235263683581,-0.06722686656994706,-0.06700288078313721,-0.06678038037505021,-0.06655935064072749,-0.06633977706838769,-0.0661216453362696,-0.06590494130953665,-0.06568965103724159,-0.06547576074935008,-0.06526325685382192,-0.0650521259337483,-0.06484235474454426,-0.0646339302111948,-0.06442683942555355,-0.06422106964369292,-0.06401660828330447,-0.0638134429211484,-0.0636115612905512,-0.06341095127895029,-0.0632116009254846,-0.0630134984186303,-0.0628166320938804,-0.06262099043146749,-0.06242656205412864,-0.06223333572491147,-0.062041300345020665,-0.06185044495170392,-0.061660758716176475,-0.061472230941583696,-0.06128485106100041,-0.06109860863546665,-0.06091349335205888,-0.060729495021995906,-0.06054660357877881,-0.06036480907636422,-0.06018410168737014,-0.06000447170131376,-0.059825909522880534,-0.05964840567022382,-0.05947195077329462,-0.059296535572200645,-0.05912215091559412,-0.058948787759087934,-0.058776437163699215,-0.05860509029432016,-0.05843473841821525,-0.05826537290354444,-0.058096985217911984,-0.05792956692694,-0.05776310969286652,-0.057597605273167735,-0.057433045519203384,-0.057269422374885394,-0.057106727875369086,-0.05694495414576634,-0.05678409339988067,-0.05662413793896339,-0.056465080150490676,-0.05630691250696115,-0.05614962756471343,-0.05599321796276329,-0.055837676421660265,-0.055682995742363,-0.0555291688051332,-0.05537618856844781,-0.055224048067928966,-0.05507274041529147,-0.05492225879730748,-0.05477259647478793,-0.05462374678158063,-0.05447570312358444,-0.054328458977779395,-0.05418200789127246,-0.05403634348035865,-0.05389145942959698,-0.05374734949090144,-0.05360400748264625,-0.0534614272887854,-0.053319602857986106,-0.053178528202776014,-0.053038197398703774,-0.052898604583512844,-0.05275974395632822,-0.052621609776855954,-0.05248419636459504,-0.05234749809806164,-0.05221150941402536,-0.05207622480675726,-0.051941638827289555,-0.051807746082686665,-0.051674541235327505,-0.0515420190021987,-0.051410174154198685,-0.051279001515452304,-0.051148495962635966,-0.051018652424312916,-0.05088946588027859,-0.0507609313609159,-0.05063304394656016,-0.05050579876687357,-0.05037919100022911,-0.05025321587310353,-0.05012786865947949,-0.05000314468025659,-0.04987903930267099,-0.04975554793972383,-0.04963266604961792,-0.049510389135202774,-0.049388712743427814,-0.04926763246480357,-0.04914714393287071,-0.049027242823676924,-0.04890792485526126,-0.048789185787146104,-0.04867102141983637,-0.04855342759432601,-0.04843640019161161,-0.04831993513221298,-0.048204028375700564,-0.04808867592022973,-0.04797387380208156,-0.04785961809521027,-0.04774590491079706,-0.047632730396810194,-0.047520090737571435,-0.04740798215332847,-0.047296400899833405,-0.04718534326792721,-0.04707480558312992,-0.04696478420523653,-0.046855275527918704,-0.04674627597833179,-0.04663778201672742,-0.04652979013607151,-0.046422296861667364,-0.04631529875078418,-0.04620879239229052,-0.04610277440629283,-0.04599724144377898,-0.0458921901862666,-0.04578761734545618,-0.04568351966288902,-0.045579893909609655,-0.04547673688583295,-0.045374045420615704,-0.04527181637153256,-0.045170046624356405,-0.04506873309274299,-0.044967872717919764,-0.04486746246837891,-0.0447674993395744,-0.04466798035362317,-0.04456890255901013,-0.044470263030297254,-0.0443720588678363,-0.044274287197485516,-0.04417694517032996,-0.04408002996240546,-0.043983538774426324,-0.04388746883151644,-0.04379181738294403,-0.043696581701859735,-0.04360175908503818,-0.043507346852622863,-0.043413342347874306,-0.04331974293692149,-0.04322654600851653,-0.04313374897379236,-0.04304134926602367,-0.042949344340390855,-0.04285773167374694,-0.04276650876438749,-0.04267567313182347,-0.04258522231655694,-0.04249515387985963,-0.042405465403554304,-0.04231615448979881,-0.04222721876087299,-0.042138655858968095,-0.04205046344597895,-0.041962639203298714,-0.04187518083161609,-0.04178808605071521,-0.041701352599277895,-0.04161497823468839,-0.04152896073284058,-0.04144329788794745,-0.04135798751235301,-0.04127302743634656,-0.04118841550797901,-0.04110414959288175,-0.04102022757408752,-0.040936647351853525,-0.040853406843486734,-0.04077050398317126,-0.040687936721797845,-0.040605703026795406,-0.040523800881964625,-0.04044222828731352,-0.04036098325889499,-0.0402800638286464,-0.0401994680442309,-0.04011919396888084,-0.040039239681242914,-0.03995960327522523,-0.039880282859846156,-0.03980127655908492,-0.03972258251173409,-0.03964419887125369,-0.039566123805627094,-0.03948835549721856,-0.039410892142632506,-0.03933373195257439,-0.03925687315171323,-0.03918031397854571,-0.03910405268526191,-0.03902808753761254,-0.038952416814777784,-0.03887703880923758,-0.0388019518266435,-0.03872715418569199,-0.03865264421799918,-0.03857842026797708,-0.03850448069271117,-0.03843082386183942,-0.0383574481574328,-0.038284351973876876,-0.03821153371775507,-0.03813899180773301,-0.03806672467444436,-0.03799473076037781,-0.0379230085197654,-0.03785155641847215,-0.03778037293388685,-0.0377094565548141,-0.03763880578136761,-0.03756841912486462,-0.03749829510772156,-0.037428432263350866,-0.03735882913605887,-0.03728948428094495,-0.0372203962638017,-0.03715156366101622,-0.037082985059472565,-0.03701465905645517,-0.036946584259553404,-0.03687875928656716,-0.03681118276541351,-0.03674385333403423,-0.03667676964030463,-0.03660993034194304,-0.03654333410642158,-0.03647697961087763,-0.03641086554202652,-0.03634499059607497,-0.03627935347863554,-0.03621395290464202,-0.03614878759826571,-0.03608385629283262,-0.03601915773074147,-0.03595469066338271,-0.03589045385105832,-0.03582644606290247,-0.035762666076803035,-0.03569911267932397],"x":[-3.0,-3.049800796812749,-3.099601593625498,-3.149402390438247,-3.199203187250996,-3.249003984063745,-3.298804780876494,-3.348605577689243,-3.398406374501992,-3.448207171314741,-3.49800796812749,-3.547808764940239,-3.597609561752988,-3.647410358565737,-3.697211155378486,-3.747011952191235,-3.7968127490039842,-3.846613545816733,-3.896414342629482,-3.946215139442231,-3.99601593625498,-4.0458167330677295,-4.095617529880478,-4.145418326693227,-4.195219123505976,-4.245019920318725,-4.294820717131474,-4.344621513944223,-4.394422310756972,-4.444223107569721,-4.49402390438247,-4.543824701195219,-4.5936254980079685,-4.643426294820717,-4.693227091633466,-4.743027888446215,-4.792828685258964,-4.842629482071713,-4.892430278884462,-4.942231075697211,-4.99203187250996,-5.04183266932271,-5.091633466135458,-5.1414342629482075,-5.191235059760956,-5.241035856573705,-5.290836653386454,-5.340637450199203,-5.390438247011952,-5.440239043824701,-5.49003984063745,-5.539840637450199,-5.589641434262949,-5.639442231075697,-5.6892430278884465,-5.739043824701195,-5.788844621513944,-5.838645418326693,-5.888446215139442,-5.938247011952191,-5.98804780876494,-6.03784860557769,-6.087649402390438,-6.137450199203188,-6.187250996015936,-6.2370517928286855,-6.286852589641434,-6.336653386454183,-6.386454183266932,-6.436254980079681,-6.48605577689243,-6.535856573705179,-6.585657370517929,-6.635458167330677,-6.685258964143427,-6.735059760956175,-6.7848605577689245,-6.834661354581673,-6.884462151394422,-6.934262948207171,-6.98406374501992,-7.03386454183267,-7.083665338645418,-7.133466135458168,-7.183266932270916,-7.233067729083666,-7.282868525896414,-7.3326693227091635,-7.382470119521912,-7.432270916334661,-7.48207171314741,-7.531872509960159,-7.581673306772909,-7.631474103585657,-7.681274900398407,-7.731075697211155,-7.780876494023905,-7.830677290836653,-7.8804780876494025,-7.930278884462151,-7.9800796812749,-8.02988047808765,-8.079681274900398,-8.129482071713147,-8.179282868525897,-8.229083665338646,-8.278884462151394,-8.328685258964143,-8.378486055776893,-8.428286852589641,-8.47808764940239,-8.52788844621514,-8.577689243027889,-8.627490039840637,-8.677290836653386,-8.727091633466136,-8.776892430278885,-8.826693227091633,-8.876494023904382,-8.926294820717132,-8.97609561752988,-9.025896414342629,-9.07569721115538,-9.125498007968128,-9.175298804780876,-9.225099601593625,-9.274900398406375,-9.324701195219124,-9.374501992031872,-9.42430278884462,-9.474103585657371,-9.52390438247012,-9.573705179282868,-9.623505976095618,-9.673306772908367,-9.723107569721115,-9.772908366533864,-9.822709163346614,-9.872509960159363,-9.922310756972111,-9.97211155378486,-10.02191235059761,-10.071713147410359,-10.121513944223107,-10.171314741035857,-10.221115537848606,-10.270916334661354,-10.320717131474103,-10.370517928286853,-10.420318725099602,-10.47011952191235,-10.5199203187251,-10.569721115537849,-10.619521912350598,-10.669322709163346,-10.719123505976096,-10.768924302788845,-10.818725099601593,-10.868525896414342,-10.918326693227092,-10.96812749003984,-11.01792828685259,-11.06772908366534,-11.117529880478088,-11.167330677290837,-11.217131474103585,-11.266932270916335,-11.316733067729084,-11.366533864541832,-11.41633466135458,-11.466135458167331,-11.51593625498008,-11.565737051792828,-11.615537848605578,-11.665338645418327,-11.715139442231076,-11.764940239043824,-11.814741035856574,-11.864541832669323,-11.914342629482071,-11.96414342629482,-12.01394422310757,-12.063745019920319,-12.113545816733067,-12.163346613545817,-12.213147410358566,-12.262948207171315,-12.312749003984063,-12.362549800796813,-12.412350597609562,-12.46215139442231,-12.51195219123506,-12.56175298804781,-12.611553784860558,-12.661354581673306,-12.711155378486056,-12.760956175298805,-12.810756972111554,-12.860557768924302,-12.910358565737052,-12.9601593625498,-13.00996015936255,-13.0597609561753,-13.109561752988048,-13.159362549800797,-13.209163346613545,-13.258964143426295,-13.308764940239044,-13.358565737051793,-13.408366533864541,-13.458167330677291,-13.50796812749004,-13.557768924302788,-13.607569721115539,-13.657370517928287,-13.707171314741036,-13.756972111553784,-13.806772908366534,-13.856573705179283,-13.906374501992032,-13.95617529880478,-14.00597609561753,-14.055776892430279,-14.105577689243027,-14.155378486055778,-14.205179282868526,-14.254980079681275,-14.304780876494023,-14.354581673306773,-14.404382470119522,-14.45418326693227,-14.50398406374502,-14.55378486055777,-14.603585657370518,-14.653386454183266,-14.703187250996017,-14.752988047808765,-14.802788844621514,-14.852589641434262,-14.902390438247012,-14.952191235059761,-15.00199203187251,-15.05179282868526,-15.101593625498008,-15.151394422310757,-15.201195219123505,-15.250996015936256,-15.300796812749004,-15.350597609561753,-15.400398406374501,-15.450199203187251,-15.5,-15.549800796812749,-15.599601593625499,-15.649402390438247,-15.699203187250996,-15.749003984063744,-15.798804780876495,-15.848605577689243,-15.898406374501992,-15.94820717131474,-15.99800796812749,-16.04780876494024,-16.09760956175299,-16.147410358565736,-16.197211155378486,-16.247011952191237,-16.296812749003983,-16.346613545816734,-16.39641434262948,-16.44621513944223,-16.49601593625498,-16.545816733067728,-16.595617529880478,-16.64541832669323,-16.695219123505975,-16.745019920318725,-16.794820717131476,-16.844621513944222,-16.894422310756973,-16.94422310756972,-16.99402390438247,-17.04382470119522,-17.093625498007967,-17.143426294820717,-17.193227091633467,-17.243027888446214,-17.292828685258964,-17.342629482071715,-17.39243027888446,-17.44223107569721,-17.49203187250996,-17.54183266932271,-17.59163346613546,-17.641434262948206,-17.691235059760956,-17.741035856573706,-17.790836653386453,-17.840637450199203,-17.890438247011954,-17.9402390438247,-17.99003984063745,-18.0398406374502,-18.089641434262948,-18.139442231075698,-18.189243027888445,-18.239043824701195,-18.288844621513945,-18.338645418326692,-18.388446215139442,-18.438247011952193,-18.48804780876494,-18.53784860557769,-18.58764940239044,-18.637450199203187,-18.687250996015937,-18.737051792828684,-18.786852589641434,-18.836653386454184,-18.88645418326693,-18.93625498007968,-18.98605577689243,-19.03585657370518,-19.08565737051793,-19.13545816733068,-19.185258964143426,-19.235059760956176,-19.284860557768923,-19.334661354581673,-19.384462151394423,-19.43426294820717,-19.48406374501992,-19.53386454183267,-19.583665338645417,-19.633466135458168,-19.683266932270918,-19.733067729083665,-19.782868525896415,-19.83266932270916,-19.882470119521912,-19.932270916334662,-19.98207171314741,-20.03187250996016,-20.08167330677291,-20.131474103585656,-20.181274900398407,-20.231075697211157,-20.280876494023904,-20.330677290836654,-20.3804780876494,-20.43027888446215,-20.4800796812749,-20.529880478087648,-20.5796812749004,-20.62948207171315,-20.679282868525895,-20.729083665338646,-20.778884462151396,-20.828685258964143,-20.878486055776893,-20.92828685258964,-20.97808764940239,-21.02788844621514,-21.077689243027887,-21.127490039840637,-21.177290836653388,-21.227091633466134,-21.276892430278885,-21.326693227091635,-21.37649402390438,-21.426294820717132,-21.47609561752988,-21.52589641434263,-21.57569721115538,-21.625498007968126,-21.675298804780876,-21.725099601593627,-21.774900398406373,-21.824701195219124,-21.874501992031874,-21.92430278884462,-21.97410358565737,-22.02390438247012,-22.073705179282868,-22.12350597609562,-22.173306772908365,-22.223107569721115,-22.272908366533866,-22.322709163346612,-22.372509960159363,-22.422310756972113,-22.47211155378486,-22.52191235059761,-22.57171314741036,-22.621513944223107,-22.671314741035857,-22.721115537848604,-22.770916334661354,-22.820717131474105,-22.87051792828685,-22.9203187250996,-22.970119521912352,-23.0199203187251,-23.06972111553785,-23.1195219123506,-23.169322709163346,-23.219123505976096,-23.268924302788843,-23.318725099601593,-23.368525896414344,-23.41832669322709,-23.46812749003984,-23.51792828685259,-23.567729083665338,-23.617529880478088,-23.66733067729084,-23.717131474103585,-23.766932270916335,-23.816733067729082,-23.866533864541832,-23.916334661354583,-23.96613545816733,-24.01593625498008,-24.06573705179283,-24.115537848605577,-24.165338645418327,-24.215139442231077,-24.264940239043824,-24.314741035856574,-24.36454183266932,-24.41434262948207,-24.46414342629482,-24.51394422310757,-24.56374501992032,-24.61354581673307,-24.663346613545816,-24.713147410358566,-24.762948207171316,-24.812749003984063,-24.862549800796813,-24.91235059760956,-24.96215139442231,-25.01195219123506,-25.061752988047807,-25.111553784860558,-25.161354581673308,-25.211155378486055,-25.260956175298805,-25.310756972111555,-25.360557768924302,-25.410358565737052,-25.4601593625498,-25.50996015936255,-25.5597609561753,-25.609561752988046,-25.659362549800797,-25.709163346613547,-25.758964143426294,-25.808764940239044,-25.858565737051794,-25.90836653386454,-25.95816733067729,-26.00796812749004,-26.05776892430279,-26.10756972111554,-26.157370517928285,-26.207171314741036,-26.256972111553786,-26.306772908366533,-26.356573705179283,-26.406374501992033,-26.45617529880478,-26.50597609561753,-26.55577689243028,-26.605577689243027,-26.655378486055778,-26.705179282868524,-26.754980079681275,-26.804780876494025,-26.85458167330677,-26.904382470119522,-26.954183266932272,-27.00398406374502,-27.05378486055777,-27.10358565737052,-27.153386454183266,-27.203187250996017,-27.252988047808763,-27.302788844621514,-27.352589641434264,-27.40239043824701,-27.45219123505976,-27.50199203187251,-27.551792828685258,-27.60159362549801,-27.65139442231076,-27.701195219123505,-27.750996015936256,-27.800796812749002,-27.850597609561753,-27.900398406374503,-27.95019920318725,-28.0]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/large_positive.json b/base/special/acotf/test/fixtures/julia/large_positive.json new file mode 100644 index 000000000..63e3fa584 --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/large_positive.json @@ -0,0 +1 @@ +{"expected":[0.3217505543966422,0.3168438224307561,0.3120796760164739,0.3074521961785023,0.3029557752740939,0.2985850976279289,0.294335121522996,0.29020106244517896,0.2861783774871366,0.2822627508243861,0.2784500801832789,0.27473646422683834,0.2711181907902249,0.26759172590294206,0.2641537035398278,0.26080091604741634,0.2575303051964318,0.25433895381502275,0.2512240779608777,0.24818301959361388,0.24521323971181797,0.2423123119218614,0.23947791640813942,0.23670783427669775,0.23399994224634696,0.2313522076633219,0.2287626838173471,0.22622950553862597,0.22375088505679852,0.221325108104313,0.21895053024795272,0.21662557343344555,0.21434872272918318,0.21211852325608463,0.20993357729157186,0.20779254153648433,0.2056941245345502,0.20363708423476667,0.20162022568771457,0.19964239886745958,0.19770249661126707,0.19579945266989365,0.1939322398617105,0.19209986832437126,0.19030138385816184,0.1885358663555586,0.1868024283118889,0.18510021341232094,0.1834283951907268,0.18178617575624872,0.1801727845836721,0.17858747736395603,0.17702953491150733,0.17549826212499942,0.1739929869987386,0.17251305968176917,0.17105785158208164,0.16962675451345283,0.16821917988259638,0.16683455791444554,0.16547233691352042,0.16413198255945596,0.1628129772348817,0.1615148193839508,0.1602370228999188,0.15897911654026242,0.1577406433679205,0.15652116021731857,0.15532023718391677,0.15413745713609217,0.15297241524823457,0.15182471855399748,0.15069398551870608,0.14957984562997848,0.1484819390056697,0.1473999160182968,0.1463334369351488,0.14528217157332893,0.14424579896901743,0.14322400706028066,0.14221649238278922,0.14122295977784072,0.14024312211211482,0.13927670000861866,0.1383234215883087,0.1373830222219009,0.13645524429140785,0.13553983696096322,0.1346365559565182,0.13374516335401304,0.13286542737565035,0.13199712219391097,0.1311400277429755,0.13029392953722826,0.1294586184965368,0.12863389077801696,0.12781954761400413,0.12701539515596902,0.12622124432412438,0.1254369106624854,0.12466221419915427,0.12389697931161303,0.12314103459681663,0.12239421274588971,0.12165635042323845,0.12092728814989843,0.1202068701909467,0.11949494444681533,0.11879136234835003,0.1180959787554651,0.1174086518592522,0.1167292430874075,0.11605761701284707,0.11539364126538648,0.11473718644636594,0.11408812604610775,0.11344633636409746,0.11281169643178458,0.11218408793790431,0.11156339515622443,0.11094950487562696,0.11034230633243693,0.10974169114491525,0.10914755324983556,0.10855978884106827,0.1079782963100986,0.10740297618840829,0.10683373109165328,0.10627046566557269,0.10571308653356719,0.10516150224588712,0.10461562323037311,0.10407536174469444,0.10354063183003247,0.10301134926615876,0.10248743152785894,0.10196879774265588,0.10145536864978763,0.10094706656039662,0.10044381531888888,0.09994554026542377,0.09945216819949548,0.09896362734457015,0.0984798473137424,0.09800075907637808,0.09752629492571005,0.09705638844735534,0.09659097448872389,0.09612998912928897,0.0956733696516919,0.0952210545136534,0.09477298332066567,0.09432909679944043,0.09388933677208806,0.09345364613100508,0.09302196881444712,0.09259424978276605,0.09217043499528997,0.09175047138782619,0.09133430685076777,0.09092189020778464,0.0905131711950815,0.09010810044120479,0.08970662944738217,0.08930871056837796,0.08891429699384897,0.08852334273018574,0.08813580258282425,0.08775163213901416,0.08737078775102995,0.08699322651981156,0.08661890627902225,0.08624778557951066,0.08587982367416588,0.08551498050315373,0.08515321667952284,0.0847944934751704,0.08443877280715664,0.08408601722435828,0.08373618989445111,0.08338925459121231,0.08304517568213349,0.08270391811633541,0.08236544741277624,0.0820297296487446,0.08169673144862993,0.08136641997296205,0.0810387629077126,0.08071372845385098,0.08039128531714819,0.0800714026982209,0.07975405028281021,0.07943919823228791,0.07912681717438436,0.07881687819413205,0.07850935282501888,0.07820421304034575,0.07790143124478244,0.0776009802661174,0.07730283334719538,0.07700696413803856,0.07671334668814596,0.07642195543896678,0.07613276521654276,0.0758457512243155,0.07556088903609405,0.07527815458917919,0.07499752417763976,0.07471897444573744,0.07444248238149626,0.07416802531041289,0.07389558088930438,0.07362512710028961,0.07335664224490136,0.07309010493832555,0.0728254941037643,0.07256278896692021,0.07230196905059831,0.07204301416942299,0.07178590442466723,0.07153062019919101,0.0712771421524865,0.07102545121582732,0.07077552858751936,0.07052735572825057,0.0702809143565376,0.07003618644426657,0.06979315421232604,0.06955180012632987,0.06931210689242774,0.06907405745320128,0.06883763498364383,0.06860282288722185,0.06836960479201598,0.06813796454693997,0.06790788621803555,0.06767935408484162,0.06745235263683581,0.06722686656994706,0.06700288078313721,0.06678038037505021,0.06655935064072749,0.06633977706838769,0.0661216453362696,0.06590494130953665,0.06568965103724159,0.06547576074935008,0.06526325685382192,0.0650521259337483,0.06484235474454426,0.0646339302111948,0.06442683942555355,0.06422106964369292,0.06401660828330447,0.0638134429211484,0.0636115612905512,0.06341095127895029,0.0632116009254846,0.0630134984186303,0.0628166320938804,0.06262099043146749,0.06242656205412864,0.06223333572491147,0.062041300345020665,0.06185044495170392,0.061660758716176475,0.061472230941583696,0.06128485106100041,0.06109860863546665,0.06091349335205888,0.060729495021995906,0.06054660357877881,0.06036480907636422,0.06018410168737014,0.06000447170131376,0.059825909522880534,0.05964840567022382,0.05947195077329462,0.059296535572200645,0.05912215091559412,0.058948787759087934,0.058776437163699215,0.05860509029432016,0.05843473841821525,0.05826537290354444,0.058096985217911984,0.05792956692694,0.05776310969286652,0.057597605273167735,0.057433045519203384,0.057269422374885394,0.057106727875369086,0.05694495414576634,0.05678409339988067,0.05662413793896339,0.056465080150490676,0.05630691250696115,0.05614962756471343,0.05599321796276329,0.055837676421660265,0.055682995742363,0.0555291688051332,0.05537618856844781,0.055224048067928966,0.05507274041529147,0.05492225879730748,0.05477259647478793,0.05462374678158063,0.05447570312358444,0.054328458977779395,0.05418200789127246,0.05403634348035865,0.05389145942959698,0.05374734949090144,0.05360400748264625,0.0534614272887854,0.053319602857986106,0.053178528202776014,0.053038197398703774,0.052898604583512844,0.05275974395632822,0.052621609776855954,0.05248419636459504,0.05234749809806164,0.05221150941402536,0.05207622480675726,0.051941638827289555,0.051807746082686665,0.051674541235327505,0.0515420190021987,0.051410174154198685,0.051279001515452304,0.051148495962635966,0.051018652424312916,0.05088946588027859,0.0507609313609159,0.05063304394656016,0.05050579876687357,0.05037919100022911,0.05025321587310353,0.05012786865947949,0.05000314468025659,0.04987903930267099,0.04975554793972383,0.04963266604961792,0.049510389135202774,0.049388712743427814,0.04926763246480357,0.04914714393287071,0.049027242823676924,0.04890792485526126,0.048789185787146104,0.04867102141983637,0.04855342759432601,0.04843640019161161,0.04831993513221298,0.048204028375700564,0.04808867592022973,0.04797387380208156,0.04785961809521027,0.04774590491079706,0.047632730396810194,0.047520090737571435,0.04740798215332847,0.047296400899833405,0.04718534326792721,0.04707480558312992,0.04696478420523653,0.046855275527918704,0.04674627597833179,0.04663778201672742,0.04652979013607151,0.046422296861667364,0.04631529875078418,0.04620879239229052,0.04610277440629283,0.04599724144377898,0.0458921901862666,0.04578761734545618,0.04568351966288902,0.045579893909609655,0.04547673688583295,0.045374045420615704,0.04527181637153256,0.045170046624356405,0.04506873309274299,0.044967872717919764,0.04486746246837891,0.0447674993395744,0.04466798035362317,0.04456890255901013,0.044470263030297254,0.0443720588678363,0.044274287197485516,0.04417694517032996,0.04408002996240546,0.043983538774426324,0.04388746883151644,0.04379181738294403,0.043696581701859735,0.04360175908503818,0.043507346852622863,0.043413342347874306,0.04331974293692149,0.04322654600851653,0.04313374897379236,0.04304134926602367,0.042949344340390855,0.04285773167374694,0.04276650876438749,0.04267567313182347,0.04258522231655694,0.04249515387985963,0.042405465403554304,0.04231615448979881,0.04222721876087299,0.042138655858968095,0.04205046344597895,0.041962639203298714,0.04187518083161609,0.04178808605071521,0.041701352599277895,0.04161497823468839,0.04152896073284058,0.04144329788794745,0.04135798751235301,0.04127302743634656,0.04118841550797901,0.04110414959288175,0.04102022757408752,0.040936647351853525,0.040853406843486734,0.04077050398317126,0.040687936721797845,0.040605703026795406,0.040523800881964625,0.04044222828731352,0.04036098325889499,0.0402800638286464,0.0401994680442309,0.04011919396888084,0.040039239681242914,0.03995960327522523,0.039880282859846156,0.03980127655908492,0.03972258251173409,0.03964419887125369,0.039566123805627094,0.03948835549721856,0.039410892142632506,0.03933373195257439,0.03925687315171323,0.03918031397854571,0.03910405268526191,0.03902808753761254,0.038952416814777784,0.03887703880923758,0.0388019518266435,0.03872715418569199,0.03865264421799918,0.03857842026797708,0.03850448069271117,0.03843082386183942,0.0383574481574328,0.038284351973876876,0.03821153371775507,0.03813899180773301,0.03806672467444436,0.03799473076037781,0.0379230085197654,0.03785155641847215,0.03778037293388685,0.0377094565548141,0.03763880578136761,0.03756841912486462,0.03749829510772156,0.037428432263350866,0.03735882913605887,0.03728948428094495,0.0372203962638017,0.03715156366101622,0.037082985059472565,0.03701465905645517,0.036946584259553404,0.03687875928656716,0.03681118276541351,0.03674385333403423,0.03667676964030463,0.03660993034194304,0.03654333410642158,0.03647697961087763,0.03641086554202652,0.03634499059607497,0.03627935347863554,0.03621395290464202,0.03614878759826571,0.03608385629283262,0.03601915773074147,0.03595469066338271,0.03589045385105832,0.03582644606290247,0.035762666076803035,0.03569911267932397],"x":[3.0,3.049800796812749,3.099601593625498,3.149402390438247,3.199203187250996,3.249003984063745,3.298804780876494,3.348605577689243,3.398406374501992,3.448207171314741,3.49800796812749,3.547808764940239,3.597609561752988,3.647410358565737,3.697211155378486,3.747011952191235,3.7968127490039842,3.846613545816733,3.896414342629482,3.946215139442231,3.99601593625498,4.0458167330677295,4.095617529880478,4.145418326693227,4.195219123505976,4.245019920318725,4.294820717131474,4.344621513944223,4.394422310756972,4.444223107569721,4.49402390438247,4.543824701195219,4.5936254980079685,4.643426294820717,4.693227091633466,4.743027888446215,4.792828685258964,4.842629482071713,4.892430278884462,4.942231075697211,4.99203187250996,5.04183266932271,5.091633466135458,5.1414342629482075,5.191235059760956,5.241035856573705,5.290836653386454,5.340637450199203,5.390438247011952,5.440239043824701,5.49003984063745,5.539840637450199,5.589641434262949,5.639442231075697,5.6892430278884465,5.739043824701195,5.788844621513944,5.838645418326693,5.888446215139442,5.938247011952191,5.98804780876494,6.03784860557769,6.087649402390438,6.137450199203188,6.187250996015936,6.2370517928286855,6.286852589641434,6.336653386454183,6.386454183266932,6.436254980079681,6.48605577689243,6.535856573705179,6.585657370517929,6.635458167330677,6.685258964143427,6.735059760956175,6.7848605577689245,6.834661354581673,6.884462151394422,6.934262948207171,6.98406374501992,7.03386454183267,7.083665338645418,7.133466135458168,7.183266932270916,7.233067729083666,7.282868525896414,7.3326693227091635,7.382470119521912,7.432270916334661,7.48207171314741,7.531872509960159,7.581673306772909,7.631474103585657,7.681274900398407,7.731075697211155,7.780876494023905,7.830677290836653,7.8804780876494025,7.930278884462151,7.9800796812749,8.02988047808765,8.079681274900398,8.129482071713147,8.179282868525897,8.229083665338646,8.278884462151394,8.328685258964143,8.378486055776893,8.428286852589641,8.47808764940239,8.52788844621514,8.577689243027889,8.627490039840637,8.677290836653386,8.727091633466136,8.776892430278885,8.826693227091633,8.876494023904382,8.926294820717132,8.97609561752988,9.025896414342629,9.07569721115538,9.125498007968128,9.175298804780876,9.225099601593625,9.274900398406375,9.324701195219124,9.374501992031872,9.42430278884462,9.474103585657371,9.52390438247012,9.573705179282868,9.623505976095618,9.673306772908367,9.723107569721115,9.772908366533864,9.822709163346614,9.872509960159363,9.922310756972111,9.97211155378486,10.02191235059761,10.071713147410359,10.121513944223107,10.171314741035857,10.221115537848606,10.270916334661354,10.320717131474103,10.370517928286853,10.420318725099602,10.47011952191235,10.5199203187251,10.569721115537849,10.619521912350598,10.669322709163346,10.719123505976096,10.768924302788845,10.818725099601593,10.868525896414342,10.918326693227092,10.96812749003984,11.01792828685259,11.06772908366534,11.117529880478088,11.167330677290837,11.217131474103585,11.266932270916335,11.316733067729084,11.366533864541832,11.41633466135458,11.466135458167331,11.51593625498008,11.565737051792828,11.615537848605578,11.665338645418327,11.715139442231076,11.764940239043824,11.814741035856574,11.864541832669323,11.914342629482071,11.96414342629482,12.01394422310757,12.063745019920319,12.113545816733067,12.163346613545817,12.213147410358566,12.262948207171315,12.312749003984063,12.362549800796813,12.412350597609562,12.46215139442231,12.51195219123506,12.56175298804781,12.611553784860558,12.661354581673306,12.711155378486056,12.760956175298805,12.810756972111554,12.860557768924302,12.910358565737052,12.9601593625498,13.00996015936255,13.0597609561753,13.109561752988048,13.159362549800797,13.209163346613545,13.258964143426295,13.308764940239044,13.358565737051793,13.408366533864541,13.458167330677291,13.50796812749004,13.557768924302788,13.607569721115539,13.657370517928287,13.707171314741036,13.756972111553784,13.806772908366534,13.856573705179283,13.906374501992032,13.95617529880478,14.00597609561753,14.055776892430279,14.105577689243027,14.155378486055778,14.205179282868526,14.254980079681275,14.304780876494023,14.354581673306773,14.404382470119522,14.45418326693227,14.50398406374502,14.55378486055777,14.603585657370518,14.653386454183266,14.703187250996017,14.752988047808765,14.802788844621514,14.852589641434262,14.902390438247012,14.952191235059761,15.00199203187251,15.05179282868526,15.101593625498008,15.151394422310757,15.201195219123505,15.250996015936256,15.300796812749004,15.350597609561753,15.400398406374501,15.450199203187251,15.5,15.549800796812749,15.599601593625499,15.649402390438247,15.699203187250996,15.749003984063744,15.798804780876495,15.848605577689243,15.898406374501992,15.94820717131474,15.99800796812749,16.04780876494024,16.09760956175299,16.147410358565736,16.197211155378486,16.247011952191237,16.296812749003983,16.346613545816734,16.39641434262948,16.44621513944223,16.49601593625498,16.545816733067728,16.595617529880478,16.64541832669323,16.695219123505975,16.745019920318725,16.794820717131476,16.844621513944222,16.894422310756973,16.94422310756972,16.99402390438247,17.04382470119522,17.093625498007967,17.143426294820717,17.193227091633467,17.243027888446214,17.292828685258964,17.342629482071715,17.39243027888446,17.44223107569721,17.49203187250996,17.54183266932271,17.59163346613546,17.641434262948206,17.691235059760956,17.741035856573706,17.790836653386453,17.840637450199203,17.890438247011954,17.9402390438247,17.99003984063745,18.0398406374502,18.089641434262948,18.139442231075698,18.189243027888445,18.239043824701195,18.288844621513945,18.338645418326692,18.388446215139442,18.438247011952193,18.48804780876494,18.53784860557769,18.58764940239044,18.637450199203187,18.687250996015937,18.737051792828684,18.786852589641434,18.836653386454184,18.88645418326693,18.93625498007968,18.98605577689243,19.03585657370518,19.08565737051793,19.13545816733068,19.185258964143426,19.235059760956176,19.284860557768923,19.334661354581673,19.384462151394423,19.43426294820717,19.48406374501992,19.53386454183267,19.583665338645417,19.633466135458168,19.683266932270918,19.733067729083665,19.782868525896415,19.83266932270916,19.882470119521912,19.932270916334662,19.98207171314741,20.03187250996016,20.08167330677291,20.131474103585656,20.181274900398407,20.231075697211157,20.280876494023904,20.330677290836654,20.3804780876494,20.43027888446215,20.4800796812749,20.529880478087648,20.5796812749004,20.62948207171315,20.679282868525895,20.729083665338646,20.778884462151396,20.828685258964143,20.878486055776893,20.92828685258964,20.97808764940239,21.02788844621514,21.077689243027887,21.127490039840637,21.177290836653388,21.227091633466134,21.276892430278885,21.326693227091635,21.37649402390438,21.426294820717132,21.47609561752988,21.52589641434263,21.57569721115538,21.625498007968126,21.675298804780876,21.725099601593627,21.774900398406373,21.824701195219124,21.874501992031874,21.92430278884462,21.97410358565737,22.02390438247012,22.073705179282868,22.12350597609562,22.173306772908365,22.223107569721115,22.272908366533866,22.322709163346612,22.372509960159363,22.422310756972113,22.47211155378486,22.52191235059761,22.57171314741036,22.621513944223107,22.671314741035857,22.721115537848604,22.770916334661354,22.820717131474105,22.87051792828685,22.9203187250996,22.970119521912352,23.0199203187251,23.06972111553785,23.1195219123506,23.169322709163346,23.219123505976096,23.268924302788843,23.318725099601593,23.368525896414344,23.41832669322709,23.46812749003984,23.51792828685259,23.567729083665338,23.617529880478088,23.66733067729084,23.717131474103585,23.766932270916335,23.816733067729082,23.866533864541832,23.916334661354583,23.96613545816733,24.01593625498008,24.06573705179283,24.115537848605577,24.165338645418327,24.215139442231077,24.264940239043824,24.314741035856574,24.36454183266932,24.41434262948207,24.46414342629482,24.51394422310757,24.56374501992032,24.61354581673307,24.663346613545816,24.713147410358566,24.762948207171316,24.812749003984063,24.862549800796813,24.91235059760956,24.96215139442231,25.01195219123506,25.061752988047807,25.111553784860558,25.161354581673308,25.211155378486055,25.260956175298805,25.310756972111555,25.360557768924302,25.410358565737052,25.4601593625498,25.50996015936255,25.5597609561753,25.609561752988046,25.659362549800797,25.709163346613547,25.758964143426294,25.808764940239044,25.858565737051794,25.90836653386454,25.95816733067729,26.00796812749004,26.05776892430279,26.10756972111554,26.157370517928285,26.207171314741036,26.256972111553786,26.306772908366533,26.356573705179283,26.406374501992033,26.45617529880478,26.50597609561753,26.55577689243028,26.605577689243027,26.655378486055778,26.705179282868524,26.754980079681275,26.804780876494025,26.85458167330677,26.904382470119522,26.954183266932272,27.00398406374502,27.05378486055777,27.10358565737052,27.153386454183266,27.203187250996017,27.252988047808763,27.302788844621514,27.352589641434264,27.40239043824701,27.45219123505976,27.50199203187251,27.551792828685258,27.60159362549801,27.65139442231076,27.701195219123505,27.750996015936256,27.800796812749002,27.850597609561753,27.900398406374503,27.95019920318725,28.0]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/larger_negative.json b/base/special/acotf/test/fixtures/julia/larger_negative.json new file mode 100644 index 000000000..bafb2564f --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/larger_negative.json @@ -0,0 +1 @@ +{"expected":[-0.03569911267932397,-0.03551733397670141,-0.03533739635104694,-0.03515927198478589,-0.034982933617716636,-0.03480835453312581,-0.0346355085443165,-0.03446436998153492,-0.03429491367928208,-0.034127114963997174,-0.03396094964210002,-0.033796393988380566,-0.03363342473472359,-0.03347201905915746,-0.033312154575216184,-0.03315380932160417,-0.03299696175215392,-0.03284159072606688,-0.03268767549842818,-0.03253519571098644,-0.03238413138318995,-0.03223446290347091,-0.03208617102076997,-0.03193923683629313,-0.031793641795493696,-0.031649367680272274,-0.03150639660138772,-0.03136471099107256,-0.03122429359584646,-0.03108512746952151,-0.030947195966393455,-0.030810482734613162,-0.030674971709732594,-0.03054064710842025,-0.03040749342234059,-0.03027549541219278,-0.03014463810190364,-0.030014906772970452,-0.02988628695894889,-0.029758764440081936,-0.029632325238065436,-0.029506955610946444,-0.029382642048150217,-0.029259371265632304,-0.029137130201151905,-0.02901590600966317,-0.028895686058820726,-0.028776457924596512,-0.02865820938700437,-0.028540928425929587,-0.028424603217060206,-0.02830922212791735,-0.02819477371398165,-0.028081246714913227,-0.02796863005086235,-0.027856912818868602,-0.027746084289345684,-0.027636133902649858,-0.02752705126572945,-0.02741882614885331,-0.027311448482416095,-0.027204908353818155,-0.027099196004418152,-0.026994301826556284,-0.026890216360646382,-0.026786930292334855,-0.02668443444972485,-0.026582719800663762,-0.026481777450092548,-0.02638159863745503,-0.026282174734165817,-0.026183497241135115,-0.026085557786349103,-0.025988348122504255,-0.02589186012469441,-0.025796085788149008,-0.025701017226021382,-0.025606646667225622,-0.025512966454320996,-0.025419969041442433,-0.025327646992276204,-0.025235992978079408,-0.025144999775742305,-0.02505466026589235,-0.024964967431038928,-0.024875914353757772,-0.024787494214913962,-0.024699700291922817,-0.024612525957047403,-0.024525964675732065,-0.024440010004970876,-0.024354655591710288,-0.024269895171285086,-0.02418572256588687,-0.02410213168306424,-0.02401911651425398,-0.023936671133342434,-0.0238547896952564,-0.023773466434582793,-0.023692695664216463,-0.023612471774035408,-0.02353278922960284,-0.023453642570895345,-0.023375026411056682,-0.02329693543517648,-0.023219364399093338,-0.023142308128221715,-0.023065761516402123,-0.022989719524773966,-0.022914177180670684,-0.022839129576536495,-0.022764571868864405,-0.022690499277154885,-0.022616907082894818,-0.022543790628556246,-0.022471145316614413,-0.02239896660858479,-0.022327250024078496,-0.022255991139875867,-0.022185185589017654,-0.02211482905991352,-0.0220449172954674,-0.021975446092219447,-0.02190641129950405,-0.02183780881862375,-0.021769634602038554,-0.021701884652570412,-0.02163455502262247,-0.021567641813412784,-0.021501141174222273,-0.021435049301656423,-0.021369362438920642,-0.02130407687510887,-0.02123918894450513,-0.02117469502589787,-0.02111059154190669,-0.021046874958321284,-0.02098354178345229,-0.020920588567493847,-0.020858011901897535,-0.020795808418757555,-0.02073397479020685,-0.020672507727823947,-0.020611403982050355,-0.02055066034161819,-0.020490273632987954,-0.02043024071979613,-0.02037055850231251,-0.020311223916906943,-0.020252233935525422,-0.020193585565175212,-0.020135275847418973,-0.020077301857877497,-0.02001966070574114,-0.01996234953328954,-0.019905365515419597,-0.019848705859181488,-0.01979236780332263,-0.019736348617839305,-0.019680645603535944,-0.01962525609159178,-0.019570177443134877,-0.019515407048823225,-0.019460942328432897,-0.019406780730453065,-0.019352919731687738,-0.01929935683686414,-0.019246089578247548,-0.019193115515262503,-0.01914043223412023,-0.0190880373474522,-0.019035928493949677,-0.018984103338009154,-0.018932559569383552,-0.01888129490283911,-0.01883030707781778,-0.018779593858105143,-0.018729153031503604,-0.018678982409510884,-0.01862907982700364,-0.01857944314192616,-0.01853007023498399,-0.01848095900934245,-0.018432107390329935,-0.01838351332514588,-0.018335174782573363,-0.018287089752696196,-0.01823925624662048,-0.018191672296200494,-0.01814433595376887,-0.018097245291870998,-0.01805039840300348,-0.01800379339935671,-0.017957428412561392,-0.017911301593438966,-0.017865411111755856,-0.01781975515598153,-0.01777433193305021,-0.017729139668126233,-0.017684176604372968,-0.01763944100272528,-0.01759493114166539,-0.01755064531700213,-0.01750658184165355,-0.017462739045432732,-0.017419115274836895,-0.017375708892839563,-0.017332518278685892,-0.01728954182769103,-0.017246777951041438,-0.01720422507559918,-0.017161881643709107,-0.017119746113008844,-0.017077816956241613,-0.017036092661071756,-0.016994571729902992,-0.01695325267969929,-0.01691213404180838,-0.016871214361787793,-0.01683049219923345,-0.0167899661276107,-0.016749634734087804,-0.016709496619371822,-0.01666955039754683,-0.01662979469591446,-0.016590228154836746,-0.016550849427581144,-0.016511657180167796,-0.01647265009121899,-0.016433826851810638,-0.016395186165325988,-0.01635672674731128,-0.016318447325333493,-0.016280346638840044,-0.016242423439020503,-0.01620467648867015,-0.016167104562055525,-0.01612970644478176,-0.01609248093366181,-0.016055426836587446,-0.016018542972402055,-0.01598182817077516,-0.01594528127207871,-0.015908901127264983,-0.015872686597746252,-0.015836636555275996,-0.01580074988183182,-0.01576502546949986,-0.01572946222036085,-0.01569405904637766,-0.015658814869284363,-0.015623728620476831,-0.015588799240904738,-0.015554025680965044,-0.015519406900396916,-0.015484941868177997,-0.015450629562422097,-0.015416468970278227,-0.015382459087830976,-0.015348598920002185,-0.015314887480453924,-0.015281323791492761,-0.015247906883975277,-0.015214635797214788,-0.01518150957888934,-0.015148527284950851,-0.015115687979535481,-0.015082990734875118,-0.015050434631210044,-0.015018018756702715,-0.014985742207352666,-0.014953604086912481,-0.014921603506804878,-0.014889739586040819,-0.014858011451138717,-0.014826418236044612,-0.014794959082053404,-0.01476363313773108,-0.014732439558837922,-0.01470137750825268,-0.014670446155897706,-0.014639644678665053,-0.01460897226034346,-0.014578428091546275,-0.014548011369640302,-0.014517721298675498,-0.014487557089315565,-0.014457517958769404,-0.014427603130723417,-0.014397811835274662,-0.0143681433088648,-0.014338596794214896,-0.014309171540260991,-0.014279866802090499,-0.014250681840879334,-0.014221615923829868,-0.014192668324109588,-0.014163838320790543,-0.014135125198789508,-0.014106528248808864,-0.01407804676727823,-0.014049680056296763,-0.014021427423576165,-0.013993288182384388,-0.013965261651490007,-0.013937347155107258,-0.013909544022841726,-0.013881851589636701,-0.01385426919572017,-0.013826796186552415,-0.013799431912774258,-0.01377217573015592,-0.013745026999546467,-0.013717985086823866,-0.01369104936284562,-0.013664219203399998,-0.013637493989157822,-0.013610873105624824,-0.013584355943094558,-0.01355794189660187,-0.0135316303658769,-0.013505420755299617,-0.01347931247385489,-0.013453304935088067,-0.013427397557061098,-0.013401589762309101,-0.013375880977797504,-0.013350270634879619,-0.013324758169254738,-0.013299343020926693,-0.013274024634162884,-0.013248802457453794,-0.013223675943472955,-0.013198644549037346,-0.013173707735068279,-0.013148864966552706,-0.013124115712504958,-0.013099459445928935,-0.013074895643780685,-0.01305042378693146,-0.013026043360131126,-0.013001753851972019,-0.012977554754853196,-0.012953445564945086,-0.012929425782154521,-0.01290549491009017,-0.012881652456028358,-0.01285789793087925,-0.01283423084915342,-0.01281065072892877,-0.012787157091817844,-0.012763749462935474,-0.012740427370866792,-0.012717190347635592,-0.01269403792867302,-0.01267096965278665,-0.012647985062129838,-0.012625083702171455,-0.012602265121665922,-0.012579528872623593,-0.012556874510281417,-0.012534301593073971,-0.012511809682604756,-0.012489398343617838,-0.012467067143969758,-0.012444815654601779,-0.012422643449512409,-0.012400550105730206,-0.01237853520328691,-0.012356598325190815,-0.01233473905740047,-0.01231295698879861,-0.012291251711166403,-0.012269622819157952,-0.012248069910275066,-0.012226592584842289,-0.012205190445982214,-0.012183863099591026,-0.012162610154314335,-0.012141431221523221,-0.01212032591529057,-0.012099293852367618,-0.01207833465216078,-0.012057447936708671,-0.012036633330659413,-0.01201589046124814,-0.011995218958274764,-0.011974618454081935,-0.011954088583533262,-0.01193362898399175,-0.011913239295298436,-0.011892919159751266,-0.011872668222084186,-0.011852486129446433,-0.011832372531382057,-0.011812327079809623,-0.011792349429002145,-0.011772439235567225,-0.011752596158427346,-0.011732819858800444,-0.011713110000180594,-0.01169346624831895,-0.011673888271204845,-0.011654375739047085,-0.011634928324255443,-0.011615545701422328,-0.01159622754730463,-0.011576973540805766,-0.01155778336295788,-0.011538656696904246,-0.011519593227881824,-0.011500592643203989,-0.011481654632243455,-0.011462778886415335,-0.011443965099160392,-0.011425212965928444,-0.011406522184161924,-0.011387892453279636,-0.01136932347466061,-0.011350814951628175,-0.011332366589434152,-0.011313978095243213,-0.011295649178117387,-0.011277379549000712,-0.011259168920704067,-0.011241017007890092,-0.011222923527058313,-0.01120488819653037,-0.011186910736435421,-0.01116899086869564,-0.011151128317011908,-0.011133322806849597,-0.011115574065424518,-0.011097881821688985,-0.011080245806318023,-0.011062665751695708,-0.011045141391901629,-0.011027672462697478,-0.011010258701513774,-0.010992899847436717,-0.010975595641195149,-0.01095834582514765,-0.010941150143269757,-0.010924008341141295,-0.010906920165933835,-0.010889885366398264,-0.010872903692852473,-0.010855974897169158,-0.010839098732763742,-0.0108222749545824,-0.010805503319090196,-0.010788783584259347,-0.010772115509557567,-0.010755498855936548,-0.010738933385820515,-0.010722418863094932,-0.010705955053095259,-0.010689541722595857,-0.010673178639798962,-0.010656865574323797,-0.010640602297195732,-0.010624388580835597,-0.010608224199049054,-0.010592108927016088,-0.01057604254128058,-0.01056002481973998,-0.01054405554163508,-0.010528134487539871,-0.01051226143935149,-0.010496436180280264,-0.010480658494839845,-0.01046492816883743,-0.010449244989364068,-0.010433608744785052,-0.01041801922473041,-0.010402476220085465,-0.010386979522981486,-0.010371528926786425,-0.010356124226095734,-0.010340765216723268,-0.010325451695692251,-0.010310183461226351,-0.010294960312740815,-0.010279782050833677,-0.010264648477277066,-0.010249559395008568,-0.01023451460812268,-0.01021951392186233,-0.010204557142610473,-0.010189644077881763,-0.010174774536314298,-0.010159948327661435,-0.010145165262783676,-0.010130425153640628,-0.010115727813283038,-0.010101073055844867,-0.010086460696535491,-0.010071890551631898,-0.010057362438471022,-0.010042876175442089,-0.010028431581979054,-0.010014028478553108,-0.009999666686665238],"x":[-28.0,-28.143426294820717,-28.286852589641434,-28.43027888446215,-28.573705179282868,-28.717131474103585,-28.860557768924302,-29.00398406374502,-29.147410358565736,-29.290836653386453,-29.43426294820717,-29.577689243027887,-29.721115537848604,-29.86454183266932,-30.00796812749004,-30.15139442231076,-30.294820717131476,-30.438247011952193,-30.58167330677291,-30.725099601593627,-30.868525896414344,-31.01195219123506,-31.155378486055778,-31.298804780876495,-31.44223107569721,-31.58565737051793,-31.729083665338646,-31.872509960159363,-32.01593625498008,-32.1593625498008,-32.30278884462152,-32.44621513944223,-32.58964143426295,-32.733067729083665,-32.876494023904385,-33.0199203187251,-33.16334661354582,-33.30677290836653,-33.45019920318725,-33.59362549800797,-33.73705179282869,-33.8804780876494,-34.02390438247012,-34.167330677290835,-34.310756972111555,-34.45418326693227,-34.59760956175299,-34.7410358565737,-34.88446215139442,-35.02788844621514,-35.17131474103586,-35.31474103585657,-35.45816733067729,-35.601593625498005,-35.745019920318725,-35.88844621513944,-36.03187250996016,-36.17529880478088,-36.31872509960159,-36.462151394422314,-36.60557768924303,-36.74900398406375,-36.89243027888446,-37.03585657370518,-37.179282868525895,-37.322709163346616,-37.46613545816733,-37.60956175298805,-37.75298804780876,-37.896414342629484,-38.0398406374502,-38.18326693227092,-38.32669322709163,-38.47011952191235,-38.613545816733065,-38.756972111553786,-38.9003984063745,-39.04382470119522,-39.18725099601593,-39.330677290836654,-39.47410358565737,-39.61752988047809,-39.7609561752988,-39.90438247011952,-40.04780876494024,-40.191235059760956,-40.33466135458168,-40.47808764940239,-40.62151394422311,-40.764940239043824,-40.908366533864545,-41.05179282868526,-41.19521912350598,-41.33864541832669,-41.48207171314741,-41.625498007968126,-41.76892430278885,-41.91235059760956,-42.05577689243028,-42.199203187250994,-42.342629482071715,-42.48605577689243,-42.62948207171315,-42.77290836653386,-42.91633466135458,-43.059760956175296,-43.20318725099602,-43.34661354581673,-43.49003984063745,-43.633466135458164,-43.776892430278885,-43.9203187250996,-44.06374501992032,-44.20717131474104,-44.35059760956175,-44.49402390438247,-44.63745019920319,-44.78087649402391,-44.92430278884462,-45.06772908366534,-45.211155378486055,-45.354581673306775,-45.49800796812749,-45.64143426294821,-45.78486055776892,-45.92828685258964,-46.07171314741036,-46.21513944223108,-46.35856573705179,-46.50199203187251,-46.645418326693225,-46.788844621513945,-46.93227091633466,-47.07569721115538,-47.21912350597609,-47.36254980079681,-47.50597609561753,-47.64940239043825,-47.79282868525896,-47.93625498007968,-48.0796812749004,-48.223107569721115,-48.366533864541836,-48.50996015936255,-48.65338645418327,-48.79681274900398,-48.940239043824704,-49.08366533864542,-49.22709163346614,-49.37051792828685,-49.51394422310757,-49.657370517928285,-49.800796812749006,-49.94422310756972,-50.08764940239044,-50.23107569721115,-50.374501992031874,-50.51792828685259,-50.66135458167331,-50.80478087649402,-50.94820717131474,-51.091633466135455,-51.235059760956176,-51.37848605577689,-51.52191235059761,-51.66533864541832,-51.808764940239044,-51.95219123505976,-52.09561752988048,-52.2390438247012,-52.38247011952191,-52.52589641434263,-52.669322709163346,-52.81274900398407,-52.95617529880478,-53.0996015936255,-53.243027888446214,-53.386454183266935,-53.52988047808765,-53.67330677290837,-53.81673306772908,-53.9601593625498,-54.103585657370516,-54.24701195219124,-54.39043824701195,-54.53386454183267,-54.677290836653384,-54.820717131474105,-54.96414342629482,-55.10756972111554,-55.25099601593625,-55.39442231075697,-55.537848605577686,-55.68127490039841,-55.82470119521912,-55.96812749003984,-56.11155378486056,-56.254980079681275,-56.398406374501995,-56.54183266932271,-56.68525896414343,-56.82868525896414,-56.97211155378486,-57.11553784860558,-57.2589641434263,-57.40239043824701,-57.54581673306773,-57.689243027888445,-57.832669322709165,-57.97609561752988,-58.1195219123506,-58.26294820717131,-58.40637450199203,-58.54980079681275,-58.69322709163347,-58.83665338645418,-58.9800796812749,-59.123505976095615,-59.266932270916335,-59.41035856573705,-59.55378486055777,-59.69721115537848,-59.8406374501992,-59.98406374501992,-60.12749003984064,-60.27091633466136,-60.41434262948207,-60.55776892430279,-60.701195219123505,-60.844621513944226,-60.98804780876494,-61.13147410358566,-61.27490039840637,-61.418326693227094,-61.56175298804781,-61.70517928286853,-61.84860557768924,-61.99203187250996,-62.135458167330675,-62.278884462151396,-62.42231075697211,-62.56573705179283,-62.70916334661354,-62.852589641434264,-62.99601593625498,-63.1394422310757,-63.28286852589641,-63.42629482071713,-63.569721115537845,-63.713147410358566,-63.85657370517928,-64.0,-64.14342629482071,-64.28685258964144,-64.43027888446215,-64.57370517928287,-64.71713147410358,-64.86055776892431,-65.00398406374502,-65.14741035856574,-65.29083665338645,-65.43426294820718,-65.57768924302789,-65.7211155378486,-65.86454183266932,-66.00796812749005,-66.15139442231076,-66.29482071713147,-66.43824701195219,-66.58167330677291,-66.72509960159363,-66.86852589641434,-67.01195219123505,-67.15537848605578,-67.2988047808765,-67.44223107569721,-67.58565737051792,-67.72908366533865,-67.87250996015936,-68.01593625498008,-68.1593625498008,-68.30278884462152,-68.44621513944223,-68.58964143426294,-68.73306772908367,-68.87649402390439,-69.0199203187251,-69.16334661354581,-69.30677290836654,-69.45019920318725,-69.59362549800797,-69.73705179282868,-69.88047808764941,-70.02390438247012,-70.16733067729083,-70.31075697211155,-70.45418326693228,-70.59760956175299,-70.7410358565737,-70.88446215139442,-71.02788844621514,-71.17131474103586,-71.31474103585657,-71.45816733067728,-71.60159362549801,-71.74501992031873,-71.88844621513944,-72.03187250996017,-72.17529880478088,-72.3187250996016,-72.4621513944223,-72.60557768924303,-72.74900398406375,-72.89243027888446,-73.03585657370517,-73.1792828685259,-73.32270916334662,-73.46613545816733,-73.60956175298804,-73.75298804780877,-73.89641434262948,-74.0398406374502,-74.18326693227091,-74.32669322709164,-74.47011952191235,-74.61354581673307,-74.75697211155378,-74.9003984063745,-75.04382470119522,-75.18725099601593,-75.33067729083665,-75.47410358565737,-75.61752988047809,-75.7609561752988,-75.90438247011951,-76.04780876494024,-76.19123505976096,-76.33466135458167,-76.4780876494024,-76.62151394422311,-76.76494023904382,-76.90836653386454,-77.05179282868527,-77.19521912350598,-77.33864541832669,-77.4820717131474,-77.62549800796813,-77.76892430278885,-77.91235059760956,-78.05577689243027,-78.199203187251,-78.34262948207171,-78.48605577689243,-78.62948207171314,-78.77290836653387,-78.91633466135458,-79.0597609561753,-79.20318725099601,-79.34661354581674,-79.49003984063745,-79.63346613545816,-79.77689243027888,-79.9203187250996,-80.06374501992032,-80.20717131474103,-80.35059760956176,-80.49402390438247,-80.63745019920319,-80.7808764940239,-80.92430278884463,-81.06772908366534,-81.21115537848605,-81.35458167330677,-81.4980079681275,-81.64143426294821,-81.78486055776892,-81.92828685258964,-82.07171314741036,-82.21513944223108,-82.35856573705179,-82.5019920318725,-82.64541832669323,-82.78884462151395,-82.93227091633466,-83.07569721115537,-83.2191235059761,-83.36254980079681,-83.50597609561753,-83.64940239043824,-83.79282868525897,-83.93625498007968,-84.0796812749004,-84.22310756972112,-84.36653386454184,-84.50996015936255,-84.65338645418326,-84.79681274900399,-84.9402390438247,-85.08366533864542,-85.22709163346613,-85.37051792828686,-85.51394422310757,-85.65737051792829,-85.800796812749,-85.94422310756973,-86.08764940239044,-86.23107569721115,-86.37450199203187,-86.5179282868526,-86.66135458167331,-86.80478087649402,-86.94820717131473,-87.09163346613546,-87.23505976095618,-87.37848605577689,-87.5219123505976,-87.66533864541833,-87.80876494023904,-87.95219123505976,-88.09561752988049,-88.2390438247012,-88.38247011952191,-88.52589641434263,-88.66932270916335,-88.81274900398407,-88.95617529880478,-89.0996015936255,-89.24302788844622,-89.38645418326693,-89.52988047808765,-89.67330677290836,-89.81673306772909,-89.9601593625498,-90.10358565737052,-90.24701195219123,-90.39043824701196,-90.53386454183267,-90.67729083665338,-90.8207171314741,-90.96414342629483,-91.10756972111554,-91.25099601593625,-91.39442231075697,-91.5378486055777,-91.6812749003984,-91.82470119521912,-91.96812749003983,-92.11155378486056,-92.25498007968127,-92.39840637450199,-92.54183266932272,-92.68525896414343,-92.82868525896414,-92.97211155378486,-93.11553784860558,-93.2589641434263,-93.40239043824701,-93.54581673306772,-93.68924302788845,-93.83266932270917,-93.97609561752988,-94.11952191235059,-94.26294820717132,-94.40637450199203,-94.54980079681275,-94.69322709163346,-94.83665338645419,-94.9800796812749,-95.12350597609561,-95.26693227091633,-95.41035856573706,-95.55378486055777,-95.69721115537848,-95.8406374501992,-95.98406374501992,-96.12749003984064,-96.27091633466135,-96.41434262948208,-96.55776892430279,-96.7011952191235,-96.84462151394422,-96.98804780876495,-97.13147410358566,-97.27490039840637,-97.41832669322709,-97.56175298804781,-97.70517928286853,-97.84860557768924,-97.99203187250995,-98.13545816733068,-98.2788844621514,-98.42231075697211,-98.56573705179282,-98.70916334661355,-98.85258964143426,-98.99601593625498,-99.13944223107569,-99.28286852589642,-99.42629482071713,-99.56972111553785,-99.71314741035856,-99.85657370517929,-100.0]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/larger_positive.json b/base/special/acotf/test/fixtures/julia/larger_positive.json new file mode 100644 index 000000000..50e4cf2d7 --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/larger_positive.json @@ -0,0 +1 @@ +{"expected":[0.03569911267932397,0.03551733397670141,0.03533739635104694,0.03515927198478589,0.034982933617716636,0.03480835453312581,0.0346355085443165,0.03446436998153492,0.03429491367928208,0.034127114963997174,0.03396094964210002,0.033796393988380566,0.03363342473472359,0.03347201905915746,0.033312154575216184,0.03315380932160417,0.03299696175215392,0.03284159072606688,0.03268767549842818,0.03253519571098644,0.03238413138318995,0.03223446290347091,0.03208617102076997,0.03193923683629313,0.031793641795493696,0.031649367680272274,0.03150639660138772,0.03136471099107256,0.03122429359584646,0.03108512746952151,0.030947195966393455,0.030810482734613162,0.030674971709732594,0.03054064710842025,0.03040749342234059,0.03027549541219278,0.03014463810190364,0.030014906772970452,0.02988628695894889,0.029758764440081936,0.029632325238065436,0.029506955610946444,0.029382642048150217,0.029259371265632304,0.029137130201151905,0.02901590600966317,0.028895686058820726,0.028776457924596512,0.02865820938700437,0.028540928425929587,0.028424603217060206,0.02830922212791735,0.02819477371398165,0.028081246714913227,0.02796863005086235,0.027856912818868602,0.027746084289345684,0.027636133902649858,0.02752705126572945,0.02741882614885331,0.027311448482416095,0.027204908353818155,0.027099196004418152,0.026994301826556284,0.026890216360646382,0.026786930292334855,0.02668443444972485,0.026582719800663762,0.026481777450092548,0.02638159863745503,0.026282174734165817,0.026183497241135115,0.026085557786349103,0.025988348122504255,0.02589186012469441,0.025796085788149008,0.025701017226021382,0.025606646667225622,0.025512966454320996,0.025419969041442433,0.025327646992276204,0.025235992978079408,0.025144999775742305,0.02505466026589235,0.024964967431038928,0.024875914353757772,0.024787494214913962,0.024699700291922817,0.024612525957047403,0.024525964675732065,0.024440010004970876,0.024354655591710288,0.024269895171285086,0.02418572256588687,0.02410213168306424,0.02401911651425398,0.023936671133342434,0.0238547896952564,0.023773466434582793,0.023692695664216463,0.023612471774035408,0.02353278922960284,0.023453642570895345,0.023375026411056682,0.02329693543517648,0.023219364399093338,0.023142308128221715,0.023065761516402123,0.022989719524773966,0.022914177180670684,0.022839129576536495,0.022764571868864405,0.022690499277154885,0.022616907082894818,0.022543790628556246,0.022471145316614413,0.02239896660858479,0.022327250024078496,0.022255991139875867,0.022185185589017654,0.02211482905991352,0.0220449172954674,0.021975446092219447,0.02190641129950405,0.02183780881862375,0.021769634602038554,0.021701884652570412,0.02163455502262247,0.021567641813412784,0.021501141174222273,0.021435049301656423,0.021369362438920642,0.02130407687510887,0.02123918894450513,0.02117469502589787,0.02111059154190669,0.021046874958321284,0.02098354178345229,0.020920588567493847,0.020858011901897535,0.020795808418757555,0.02073397479020685,0.020672507727823947,0.020611403982050355,0.02055066034161819,0.020490273632987954,0.02043024071979613,0.02037055850231251,0.020311223916906943,0.020252233935525422,0.020193585565175212,0.020135275847418973,0.020077301857877497,0.02001966070574114,0.01996234953328954,0.019905365515419597,0.019848705859181488,0.01979236780332263,0.019736348617839305,0.019680645603535944,0.01962525609159178,0.019570177443134877,0.019515407048823225,0.019460942328432897,0.019406780730453065,0.019352919731687738,0.01929935683686414,0.019246089578247548,0.019193115515262503,0.01914043223412023,0.0190880373474522,0.019035928493949677,0.018984103338009154,0.018932559569383552,0.01888129490283911,0.01883030707781778,0.018779593858105143,0.018729153031503604,0.018678982409510884,0.01862907982700364,0.01857944314192616,0.01853007023498399,0.01848095900934245,0.018432107390329935,0.01838351332514588,0.018335174782573363,0.018287089752696196,0.01823925624662048,0.018191672296200494,0.01814433595376887,0.018097245291870998,0.01805039840300348,0.01800379339935671,0.017957428412561392,0.017911301593438966,0.017865411111755856,0.01781975515598153,0.01777433193305021,0.017729139668126233,0.017684176604372968,0.01763944100272528,0.01759493114166539,0.01755064531700213,0.01750658184165355,0.017462739045432732,0.017419115274836895,0.017375708892839563,0.017332518278685892,0.01728954182769103,0.017246777951041438,0.01720422507559918,0.017161881643709107,0.017119746113008844,0.017077816956241613,0.017036092661071756,0.016994571729902992,0.01695325267969929,0.01691213404180838,0.016871214361787793,0.01683049219923345,0.0167899661276107,0.016749634734087804,0.016709496619371822,0.01666955039754683,0.01662979469591446,0.016590228154836746,0.016550849427581144,0.016511657180167796,0.01647265009121899,0.016433826851810638,0.016395186165325988,0.01635672674731128,0.016318447325333493,0.016280346638840044,0.016242423439020503,0.01620467648867015,0.016167104562055525,0.01612970644478176,0.01609248093366181,0.016055426836587446,0.016018542972402055,0.01598182817077516,0.01594528127207871,0.015908901127264983,0.015872686597746252,0.015836636555275996,0.01580074988183182,0.01576502546949986,0.01572946222036085,0.01569405904637766,0.015658814869284363,0.015623728620476831,0.015588799240904738,0.015554025680965044,0.015519406900396916,0.015484941868177997,0.015450629562422097,0.015416468970278227,0.015382459087830976,0.015348598920002185,0.015314887480453924,0.015281323791492761,0.015247906883975277,0.015214635797214788,0.01518150957888934,0.015148527284950851,0.015115687979535481,0.015082990734875118,0.015050434631210044,0.015018018756702715,0.014985742207352666,0.014953604086912481,0.014921603506804878,0.014889739586040819,0.014858011451138717,0.014826418236044612,0.014794959082053404,0.01476363313773108,0.014732439558837922,0.01470137750825268,0.014670446155897706,0.014639644678665053,0.01460897226034346,0.014578428091546275,0.014548011369640302,0.014517721298675498,0.014487557089315565,0.014457517958769404,0.014427603130723417,0.014397811835274662,0.0143681433088648,0.014338596794214896,0.014309171540260991,0.014279866802090499,0.014250681840879334,0.014221615923829868,0.014192668324109588,0.014163838320790543,0.014135125198789508,0.014106528248808864,0.01407804676727823,0.014049680056296763,0.014021427423576165,0.013993288182384388,0.013965261651490007,0.013937347155107258,0.013909544022841726,0.013881851589636701,0.01385426919572017,0.013826796186552415,0.013799431912774258,0.01377217573015592,0.013745026999546467,0.013717985086823866,0.01369104936284562,0.013664219203399998,0.013637493989157822,0.013610873105624824,0.013584355943094558,0.01355794189660187,0.0135316303658769,0.013505420755299617,0.01347931247385489,0.013453304935088067,0.013427397557061098,0.013401589762309101,0.013375880977797504,0.013350270634879619,0.013324758169254738,0.013299343020926693,0.013274024634162884,0.013248802457453794,0.013223675943472955,0.013198644549037346,0.013173707735068279,0.013148864966552706,0.013124115712504958,0.013099459445928935,0.013074895643780685,0.01305042378693146,0.013026043360131126,0.013001753851972019,0.012977554754853196,0.012953445564945086,0.012929425782154521,0.01290549491009017,0.012881652456028358,0.01285789793087925,0.01283423084915342,0.01281065072892877,0.012787157091817844,0.012763749462935474,0.012740427370866792,0.012717190347635592,0.01269403792867302,0.01267096965278665,0.012647985062129838,0.012625083702171455,0.012602265121665922,0.012579528872623593,0.012556874510281417,0.012534301593073971,0.012511809682604756,0.012489398343617838,0.012467067143969758,0.012444815654601779,0.012422643449512409,0.012400550105730206,0.01237853520328691,0.012356598325190815,0.01233473905740047,0.01231295698879861,0.012291251711166403,0.012269622819157952,0.012248069910275066,0.012226592584842289,0.012205190445982214,0.012183863099591026,0.012162610154314335,0.012141431221523221,0.01212032591529057,0.012099293852367618,0.01207833465216078,0.012057447936708671,0.012036633330659413,0.01201589046124814,0.011995218958274764,0.011974618454081935,0.011954088583533262,0.01193362898399175,0.011913239295298436,0.011892919159751266,0.011872668222084186,0.011852486129446433,0.011832372531382057,0.011812327079809623,0.011792349429002145,0.011772439235567225,0.011752596158427346,0.011732819858800444,0.011713110000180594,0.01169346624831895,0.011673888271204845,0.011654375739047085,0.011634928324255443,0.011615545701422328,0.01159622754730463,0.011576973540805766,0.01155778336295788,0.011538656696904246,0.011519593227881824,0.011500592643203989,0.011481654632243455,0.011462778886415335,0.011443965099160392,0.011425212965928444,0.011406522184161924,0.011387892453279636,0.01136932347466061,0.011350814951628175,0.011332366589434152,0.011313978095243213,0.011295649178117387,0.011277379549000712,0.011259168920704067,0.011241017007890092,0.011222923527058313,0.01120488819653037,0.011186910736435421,0.01116899086869564,0.011151128317011908,0.011133322806849597,0.011115574065424518,0.011097881821688985,0.011080245806318023,0.011062665751695708,0.011045141391901629,0.011027672462697478,0.011010258701513774,0.010992899847436717,0.010975595641195149,0.01095834582514765,0.010941150143269757,0.010924008341141295,0.010906920165933835,0.010889885366398264,0.010872903692852473,0.010855974897169158,0.010839098732763742,0.0108222749545824,0.010805503319090196,0.010788783584259347,0.010772115509557567,0.010755498855936548,0.010738933385820515,0.010722418863094932,0.010705955053095259,0.010689541722595857,0.010673178639798962,0.010656865574323797,0.010640602297195732,0.010624388580835597,0.010608224199049054,0.010592108927016088,0.01057604254128058,0.01056002481973998,0.01054405554163508,0.010528134487539871,0.01051226143935149,0.010496436180280264,0.010480658494839845,0.01046492816883743,0.010449244989364068,0.010433608744785052,0.01041801922473041,0.010402476220085465,0.010386979522981486,0.010371528926786425,0.010356124226095734,0.010340765216723268,0.010325451695692251,0.010310183461226351,0.010294960312740815,0.010279782050833677,0.010264648477277066,0.010249559395008568,0.01023451460812268,0.01021951392186233,0.010204557142610473,0.010189644077881763,0.010174774536314298,0.010159948327661435,0.010145165262783676,0.010130425153640628,0.010115727813283038,0.010101073055844867,0.010086460696535491,0.010071890551631898,0.010057362438471022,0.010042876175442089,0.010028431581979054,0.010014028478553108,0.009999666686665238],"x":[28.0,28.143426294820717,28.286852589641434,28.43027888446215,28.573705179282868,28.717131474103585,28.860557768924302,29.00398406374502,29.147410358565736,29.290836653386453,29.43426294820717,29.577689243027887,29.721115537848604,29.86454183266932,30.00796812749004,30.15139442231076,30.294820717131476,30.438247011952193,30.58167330677291,30.725099601593627,30.868525896414344,31.01195219123506,31.155378486055778,31.298804780876495,31.44223107569721,31.58565737051793,31.729083665338646,31.872509960159363,32.01593625498008,32.1593625498008,32.30278884462152,32.44621513944223,32.58964143426295,32.733067729083665,32.876494023904385,33.0199203187251,33.16334661354582,33.30677290836653,33.45019920318725,33.59362549800797,33.73705179282869,33.8804780876494,34.02390438247012,34.167330677290835,34.310756972111555,34.45418326693227,34.59760956175299,34.7410358565737,34.88446215139442,35.02788844621514,35.17131474103586,35.31474103585657,35.45816733067729,35.601593625498005,35.745019920318725,35.88844621513944,36.03187250996016,36.17529880478088,36.31872509960159,36.462151394422314,36.60557768924303,36.74900398406375,36.89243027888446,37.03585657370518,37.179282868525895,37.322709163346616,37.46613545816733,37.60956175298805,37.75298804780876,37.896414342629484,38.0398406374502,38.18326693227092,38.32669322709163,38.47011952191235,38.613545816733065,38.756972111553786,38.9003984063745,39.04382470119522,39.18725099601593,39.330677290836654,39.47410358565737,39.61752988047809,39.7609561752988,39.90438247011952,40.04780876494024,40.191235059760956,40.33466135458168,40.47808764940239,40.62151394422311,40.764940239043824,40.908366533864545,41.05179282868526,41.19521912350598,41.33864541832669,41.48207171314741,41.625498007968126,41.76892430278885,41.91235059760956,42.05577689243028,42.199203187250994,42.342629482071715,42.48605577689243,42.62948207171315,42.77290836653386,42.91633466135458,43.059760956175296,43.20318725099602,43.34661354581673,43.49003984063745,43.633466135458164,43.776892430278885,43.9203187250996,44.06374501992032,44.20717131474104,44.35059760956175,44.49402390438247,44.63745019920319,44.78087649402391,44.92430278884462,45.06772908366534,45.211155378486055,45.354581673306775,45.49800796812749,45.64143426294821,45.78486055776892,45.92828685258964,46.07171314741036,46.21513944223108,46.35856573705179,46.50199203187251,46.645418326693225,46.788844621513945,46.93227091633466,47.07569721115538,47.21912350597609,47.36254980079681,47.50597609561753,47.64940239043825,47.79282868525896,47.93625498007968,48.0796812749004,48.223107569721115,48.366533864541836,48.50996015936255,48.65338645418327,48.79681274900398,48.940239043824704,49.08366533864542,49.22709163346614,49.37051792828685,49.51394422310757,49.657370517928285,49.800796812749006,49.94422310756972,50.08764940239044,50.23107569721115,50.374501992031874,50.51792828685259,50.66135458167331,50.80478087649402,50.94820717131474,51.091633466135455,51.235059760956176,51.37848605577689,51.52191235059761,51.66533864541832,51.808764940239044,51.95219123505976,52.09561752988048,52.2390438247012,52.38247011952191,52.52589641434263,52.669322709163346,52.81274900398407,52.95617529880478,53.0996015936255,53.243027888446214,53.386454183266935,53.52988047808765,53.67330677290837,53.81673306772908,53.9601593625498,54.103585657370516,54.24701195219124,54.39043824701195,54.53386454183267,54.677290836653384,54.820717131474105,54.96414342629482,55.10756972111554,55.25099601593625,55.39442231075697,55.537848605577686,55.68127490039841,55.82470119521912,55.96812749003984,56.11155378486056,56.254980079681275,56.398406374501995,56.54183266932271,56.68525896414343,56.82868525896414,56.97211155378486,57.11553784860558,57.2589641434263,57.40239043824701,57.54581673306773,57.689243027888445,57.832669322709165,57.97609561752988,58.1195219123506,58.26294820717131,58.40637450199203,58.54980079681275,58.69322709163347,58.83665338645418,58.9800796812749,59.123505976095615,59.266932270916335,59.41035856573705,59.55378486055777,59.69721115537848,59.8406374501992,59.98406374501992,60.12749003984064,60.27091633466136,60.41434262948207,60.55776892430279,60.701195219123505,60.844621513944226,60.98804780876494,61.13147410358566,61.27490039840637,61.418326693227094,61.56175298804781,61.70517928286853,61.84860557768924,61.99203187250996,62.135458167330675,62.278884462151396,62.42231075697211,62.56573705179283,62.70916334661354,62.852589641434264,62.99601593625498,63.1394422310757,63.28286852589641,63.42629482071713,63.569721115537845,63.713147410358566,63.85657370517928,64.0,64.14342629482071,64.28685258964144,64.43027888446215,64.57370517928287,64.71713147410358,64.86055776892431,65.00398406374502,65.14741035856574,65.29083665338645,65.43426294820718,65.57768924302789,65.7211155378486,65.86454183266932,66.00796812749005,66.15139442231076,66.29482071713147,66.43824701195219,66.58167330677291,66.72509960159363,66.86852589641434,67.01195219123505,67.15537848605578,67.2988047808765,67.44223107569721,67.58565737051792,67.72908366533865,67.87250996015936,68.01593625498008,68.1593625498008,68.30278884462152,68.44621513944223,68.58964143426294,68.73306772908367,68.87649402390439,69.0199203187251,69.16334661354581,69.30677290836654,69.45019920318725,69.59362549800797,69.73705179282868,69.88047808764941,70.02390438247012,70.16733067729083,70.31075697211155,70.45418326693228,70.59760956175299,70.7410358565737,70.88446215139442,71.02788844621514,71.17131474103586,71.31474103585657,71.45816733067728,71.60159362549801,71.74501992031873,71.88844621513944,72.03187250996017,72.17529880478088,72.3187250996016,72.4621513944223,72.60557768924303,72.74900398406375,72.89243027888446,73.03585657370517,73.1792828685259,73.32270916334662,73.46613545816733,73.60956175298804,73.75298804780877,73.89641434262948,74.0398406374502,74.18326693227091,74.32669322709164,74.47011952191235,74.61354581673307,74.75697211155378,74.9003984063745,75.04382470119522,75.18725099601593,75.33067729083665,75.47410358565737,75.61752988047809,75.7609561752988,75.90438247011951,76.04780876494024,76.19123505976096,76.33466135458167,76.4780876494024,76.62151394422311,76.76494023904382,76.90836653386454,77.05179282868527,77.19521912350598,77.33864541832669,77.4820717131474,77.62549800796813,77.76892430278885,77.91235059760956,78.05577689243027,78.199203187251,78.34262948207171,78.48605577689243,78.62948207171314,78.77290836653387,78.91633466135458,79.0597609561753,79.20318725099601,79.34661354581674,79.49003984063745,79.63346613545816,79.77689243027888,79.9203187250996,80.06374501992032,80.20717131474103,80.35059760956176,80.49402390438247,80.63745019920319,80.7808764940239,80.92430278884463,81.06772908366534,81.21115537848605,81.35458167330677,81.4980079681275,81.64143426294821,81.78486055776892,81.92828685258964,82.07171314741036,82.21513944223108,82.35856573705179,82.5019920318725,82.64541832669323,82.78884462151395,82.93227091633466,83.07569721115537,83.2191235059761,83.36254980079681,83.50597609561753,83.64940239043824,83.79282868525897,83.93625498007968,84.0796812749004,84.22310756972112,84.36653386454184,84.50996015936255,84.65338645418326,84.79681274900399,84.9402390438247,85.08366533864542,85.22709163346613,85.37051792828686,85.51394422310757,85.65737051792829,85.800796812749,85.94422310756973,86.08764940239044,86.23107569721115,86.37450199203187,86.5179282868526,86.66135458167331,86.80478087649402,86.94820717131473,87.09163346613546,87.23505976095618,87.37848605577689,87.5219123505976,87.66533864541833,87.80876494023904,87.95219123505976,88.09561752988049,88.2390438247012,88.38247011952191,88.52589641434263,88.66932270916335,88.81274900398407,88.95617529880478,89.0996015936255,89.24302788844622,89.38645418326693,89.52988047808765,89.67330677290836,89.81673306772909,89.9601593625498,90.10358565737052,90.24701195219123,90.39043824701196,90.53386454183267,90.67729083665338,90.8207171314741,90.96414342629483,91.10756972111554,91.25099601593625,91.39442231075697,91.5378486055777,91.6812749003984,91.82470119521912,91.96812749003983,92.11155378486056,92.25498007968127,92.39840637450199,92.54183266932272,92.68525896414343,92.82868525896414,92.97211155378486,93.11553784860558,93.2589641434263,93.40239043824701,93.54581673306772,93.68924302788845,93.83266932270917,93.97609561752988,94.11952191235059,94.26294820717132,94.40637450199203,94.54980079681275,94.69322709163346,94.83665338645419,94.9800796812749,95.12350597609561,95.26693227091633,95.41035856573706,95.55378486055777,95.69721115537848,95.8406374501992,95.98406374501992,96.12749003984064,96.27091633466135,96.41434262948208,96.55776892430279,96.7011952191235,96.84462151394422,96.98804780876495,97.13147410358566,97.27490039840637,97.41832669322709,97.56175298804781,97.70517928286853,97.84860557768924,97.99203187250995,98.13545816733068,98.2788844621514,98.42231075697211,98.56573705179282,98.70916334661355,98.85258964143426,98.99601593625498,99.13944223107569,99.28286852589642,99.42629482071713,99.56972111553785,99.71314741035856,99.85657370517929,100.0]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/medium_negative.json b/base/special/acotf/test/fixtures/julia/medium_negative.json new file mode 100644 index 000000000..4c5e79e5d --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/medium_negative.json @@ -0,0 +1 @@ +{"expected":[-0.7378150601204649,-0.7361056754550979,-0.7344027170432255,-0.7327061585364671,-0.7310159736367406,-0.7293321360975216,-0.7276546197250732,-0.7259833983796455,-0.7243184459766473,-0.7226597364877866,-0.7210072439421855,-0.7193609424274653,-0.717720806090805,-0.7160868091399732,-0.7144589258443317,-0.7128371305358143,-0.7112213976098805,-0.7096117015264408,-0.7080080168107608,-0.7064103180543367,-0.7048185799157509,-0.7032327771214993,-0.7016528844667989,-0.7000788768163694,-0.6985107291051944,-0.6969484163392584,-0.6953919135962627,-0.6938411960263199,-0.6922962388526266,-0.6907570173721149,-0.6892235069560844,-0.6876956830508126,-0.6861735211781471,-0.6846569969360763,-0.6831460859992823,-0.6816407641196744,-0.6801410071269042,-0.6786467909288618,-0.6771580915121557,-0.6756748849425723,-0.6741971473655217,-0.6727248550064631,-0.6712579841713158,-0.6697965112468522,-0.6683404127010766,-0.6668896650835858,-0.6654442450259164,-0.6640041292418751,-0.6625692945278554,-0.6611397177631388,-0.6597153759101816,-0.6582962460148875,-0.6568823052068675,-0.6554735306996842,-0.6540698997910842,-0.6526713898632168,-0.65127797838284,-0.6498896429015135,-0.6485063610557804,-0.6471281105673351,-0.6457548692431807,-0.6443866149757747,-0.6430233257431612,-0.6416649796090956,-0.6403115547231546,-0.6389630293208375,-0.637619381723657,-0.6362805903392181,-0.634946633661289,-0.63361749026986,-0.6322931388311946,-0.6309735580978693,-0.6296587269088055,-0.6283486241892914,-0.6270432289509956,-0.6257425202919713,-0.6244464773966524,-0.6231550795358413,-0.6218683060666879,-0.6205861364326614,-0.6193085501635136,-0.6180355268752351,-0.6167670462700033,-0.615503088136124,-0.6142436323479643,-0.6129886588658808,-0.6117381477361389,-0.6104920790908257,-0.6092504331477582,-0.6080131902103822,-0.6067803306676677,-0.6055518349939962,-0.6043276837490433,-0.603107857577655,-0.601892337209718,-0.6006811034600255,-0.5994741372281365,-0.5982714194982302,-0.5970729313389561,-0.5958786539032774,-0.5946885684283113,-0.5935026562351632,-0.5923208987287572,-0.5911432773976609,-0.589969773813908,-0.588800369632814,-0.587635046592789,-0.5864737865151474,-0.5853165713039113,-0.5841633829456123,-0.5830142035090886,-0.5818690151452781,-0.5807278000870089,-0.5795905406487851,-0.5784572192265715,-0.5773278182975716,-0.5762023204200064,-0.5750807082328872,-0.5739629644557862,-0.5728490718886059,-0.5717390134113426,-0.5706327719838499,-0.569530330645599,-0.5684316725154349,-0.5673367807913328,-0.5662456387501493,-0.5651582297473738,-0.5640745372168765,-0.5629945446706536,-0.5619182356985722,-0.5608455939681118,-0.5597766032241043,-0.5587112472884722,-0.5576495100599655,-0.5565913755138963,-0.555536827701871,-0.554485850751523,-0.5534384288662424,-0.552394546324904,-0.5513541874815956,-0.5503173367653424,-0.5492839786798329,-0.5482540978031419,-0.5472276787874524,-0.5462047063587768,-0.5451851653166775,-0.5441690405339856,-0.5431563169565189,-0.5421469796028001,-0.5411410135637718,-0.5401384040025135,-0.5391391361539556,-0.5381431953245944,-0.5371505668922051,-0.5361612363055549,-0.5351751890841157,-0.5341924108177756,-0.5332128871665506,-0.5322366038602957,-0.5312635466984152,-0.5302937015495736,-0.5293270543514041,-0.5283635911102204,-0.5274032979007242,-0.5264461608657155,-0.5254921662158017,-0.524541300229106,-0.5235935492509765,-0.5226488996936951,-0.5217073380361861,-0.520768850823725,-0.5198334246676473,-0.5189010462450573,-0.5179717022985372,-0.5170453796358556,-0.5161220651296776,-0.5152017457172735,-0.5142844084002286,-0.5133700402441527,-0.5124586283783908,-0.511550159995733,-0.5106446223521248,-0.5097420027663793,-0.5088422886198867,-0.507945467356328,-0.5070515264813853,-0.5061604535624554,-0.5052722362283627,-0.5043868621690718,-0.5035043191354025,-0.5026245949387429,-0.5017476774507657,-0.5008735546031425,-0.5000022143872602,-0.49913364485393796,-0.4982678341131435,-0.4974047703337115,-0.49654444174306156,-0.49568683662691776,-0.4948319433290276,-0.4939797502508828,-0.49313024585144033,-0.49228341864684366,-0.4914392572101457,-0.4905977501710316,-0.4897588862155426,-0.48892265408580093,-0.4880890425797346,-0.48725804055080457,-0.4864296369077302,-0.48560382061421853,-0.4847805806886915,-0.4839599062040161,-0.48314178628723414,-0.48232621011929344,-0.4815131669347793,-0.480702646021648,-0.479894636720959,-0.479089128426611,-0.47828611058507575,-0.4774855726951352,-0.476687504307618,-0.4758918950251379,-0.4750987345018323,-0.4743080124431022,-0.473519718605353,-0.47273384279573594,-0.47195037487189057,-0.47116930474168883,-0.47039062236297874,-0.4696143177433307,-0.4688403809397828,-0.46806880205858903,-0.46729957125496707,-0.4665326787328478,-0.46576811474462554,-0.4650058695909088,-0.46424593362027317,-0.4634882972290139,-0.4627329508609003,-0.46197988500693116,-0.4612290902050903,-0.46048055704010393,-0.45973427614319917,-0.45899023819186285,-0.45824843390960146,-0.4575088540657028,-0.45677148947499774,-0.4560363309976237,-0.45530336953878825,-0.4545725960485352,-0.45384400152151017,-0.4531175769967277,-0.45239331355734014,-0.45167120233040636,-0.45095123448666224,-0.4502334012402918,-0.4495176938487,-0.4488041036122854,-0.4480926218742149,-0.44738324002019925,-0.4466759494782692,-0.445970741718553,-0.4452676082530548,-0.4445665406354342,-0.44386753046078703,-0.44317056936542587,-0.4424756490266638,-0.44178276116259735,-0.44109189753189065,-0.4404030499335619,-0.4397162102067693,-0.4390313702305992,-0.4383485219238539,-0.437667657244842,-0.43698876819116916,-0.43631184679952884,-0.435636885145496,-0.4349638753433201,-0.43429280954572025,-0.4336236799436802,-0.4329564787662457,-0.4322911982803222,-0.43162783079047273,-0.43096636863871846,-0.430306804204339,-0.4296491299036737,-0.42899333818992513,-0.428339421552962,-0.4276873725191242,-0.42703718365102783,-0.42638884754737255,-0.42574235684274875,-0.42509770420744564,-0.42445488234726175,-0.42381388400331466,-0.42317470195185264,-0.4225373290040669,-0.4219017580059053,-0.42126798183788655,-0.42063599341491514,-0.4200057856860982,-0.41937735163456213,-0.418750684277271,-0.41812577666484574,-0.41750262188138365,-0.4168812130442803,-0.41626154330405,-0.4156436058441502,-0.41502739388080423,-0.414412900662826,-0.41380011947144624,-0.41318904362013836,-0.4125796664544463,-0.4119719813518126,-0.4113659817214079,-0.4107616610039609,-0.4101590126715895,-0.4095580302276329,-0.40895870720648414,-0.4083610371734243,-0.4077650137244567,-0.40717063048614277,-0.40657788111543813,-0.4059867592995302,-0.4053972587556762,-0.40480937323104227,-0.40422309650254307,-0.4036384223766831,-0.40305534468939785,-0.40247385730589663,-0.4018939541205054,-0.40131562905651147,-0.40073887606600866,-0.40016368912974226,-0.3995900622569569,-0.39901798948524336,-0.3984474648803872,-0.3978784825362179,-0.39731103657445893,-0.39674512114457877,-0.39618073042364216,-0.39561785861616316,-0.3950564999539581,-0.3944966486959995,-0.3939382991282715,-0.39338144556362514,-0.39282608234163524,-0.3922722038284572,-0.3917198044166854,-0.3911688785252124,-0.39061942059908766,-0.39007142510937887,-0.3895248865530327,-0.3889797994527371,-0.3884361583567833,-0.38789395783893027,-0.3873531924982684,-0.38681385695908455,-0.38627594587072794,-0.38573945390747655,-0.38520437576840466,-0.38467070617725024,-0.3841384398822843,-0.3836075716561801,-0.3830780962958833,-0.38255000862248284,-0.3820233034810829,-0.3814979757406746,-0.38097402029401006,-0.38045143205747506,-0.3799302059709646,-0.37941033699775706,-0.37889182012439093,-0.37837465036054113,-0.377858822738896,-0.3773443323150357,-0.3768311741673107,-0.3763193433967211,-0.37580883512679647,-0.3752996445034771,-0.3747917666949947,-0.3742851968917548,-0.37377993030621964,-0.373275962172791,-0.37277328774769475,-0.372271902308865,-0.37177180115583,-0.3712729796095977,-0.3707754330125424,-0.3702791567282923,-0.3697841461416171,-0.36929039665831653,-0.3687979037051098,-0.36830666272952495,-0.3678166691997898,-0.3673279186047223,-0.3668404064536228,-0.3663541282761662,-0.3658690796222942,-0.3653852560621097,-0.36490265318577025,-0.3644212666033829,-0.36394109194489954,-0.3634621248600127,-0.3629843610180521,-0.3625077961078814,-0.3620324258377963,-0.36155824593542246,-0.3610852521476141,-0.3606134402403539,-0.3601428059986526,-0.35967334522644934,-0.359205053746513,-0.3587379274003439,-0.3582719620480756,-0.35780715356837794,-0.35734349785836034,-0.3568809908334755,-0.35641962842742403,-0.3559594065920588,-0.3555003212972912,-0.3550423685309967,-0.35458554429892125,-0.3541298446245887,-0.3536752655492083,-0.3532218031315828,-0.3527694534480168,-0.3523182125922265,-0.351868076675249,-0.35141904182535233,-0.3509711041879467,-0.3505242599254952,-0.3500785052174258,-0.3496338362600433,-0.34919024926644243,-0.3487477404664208,-0.3483063061063925,-0.3478659424493026,-0.34742664577454163,-0.3469884123778606,-0.34655123857128706,-0.34611512068304084,-0.34568005505745086,-0.3452460380548721,-0.3448130660516031,-0.34438113543980436,-0.34395024262741597,-0.34352038403807744,-0.34309155611104675,-0.34266375530112,-0.3422369780785519,-0.34181122092897676,-0.3413864803533293,-0.34096275286776645,-0.3405400350035895,-0.3401183233071667,-0.3396976143398559,-0.3392779046779285,-0.33885919091249295,-0.33844146964941896,-0.3380247375092623,-0.3376089911271902,-0.33719422715290664,-0.33678044225057796,-0.33636763309876017,-0.33595579639032497,-0.3355449288323874,-0.3351350271462332,-0.3347260880672471,-0.334318108344841,-0.3339110847423831,-0.3335050140371271,-0.33309989302014176,-0.3326957184962408,-0.3322924872839138,-0.3318901962152567,-0.33148884213590313,-0.33108842190495585,-0.3306889323949192,-0.3302903704916309,-0.3298927330941953,-0.32949601711491633,-0.32910021947923096,-0.3287053371256433,-0.3283113670056585,-0.3279183060837179,-0.32752615133713364,-0.3271348997560241,-0.32674454834324984,-0.3263550941143493,-0.3259665340974758,-0.3255788653333337,-0.32519208487511625,-0.3248061897884426,-0.32442117715129576,-0.32403704405396105,-0.3236537875989644,-0.32327140490101147,-0.32288989308692656,-0.32250924929559277,-0.3221294706778913,-0.3217505543966422],"x":[-1.1,-1.103784860557769,-1.1075697211155378,-1.1113545816733068,-1.1151394422310756,-1.1189243027888447,-1.1227091633466135,-1.1264940239043826,-1.1302788844621514,-1.1340637450199202,-1.1378486055776893,-1.1416334661354581,-1.1454183266932272,-1.149203187250996,-1.1529880478087648,-1.156772908366534,-1.1605577689243027,-1.1643426294820718,-1.1681274900398406,-1.1719123505976095,-1.1756972111553785,-1.1794820717131473,-1.1832669322709164,-1.1870517928286852,-1.1908366533864543,-1.1946215139442231,-1.198406374501992,-1.202191235059761,-1.2059760956175298,-1.2097609561752989,-1.2135458167330677,-1.2173306772908365,-1.2211155378486056,-1.2249003984063744,-1.2286852589641435,-1.2324701195219123,-1.2362549800796814,-1.2400398406374502,-1.243824701195219,-1.247609561752988,-1.251394422310757,-1.255179282868526,-1.2589641434262948,-1.2627490039840636,-1.2665338645418327,-1.2703187250996015,-1.2741035856573706,-1.2778884462151394,-1.2816733067729085,-1.2854581673306773,-1.2892430278884461,-1.2930278884462152,-1.296812749003984,-1.300597609561753,-1.304382470119522,-1.3081673306772907,-1.3119521912350598,-1.3157370517928286,-1.3195219123505977,-1.3233067729083665,-1.3270916334661356,-1.3308764940239044,-1.3346613545816732,-1.3384462151394423,-1.3422310756972111,-1.3460159362549802,-1.349800796812749,-1.3535856573705178,-1.357370517928287,-1.3611553784860557,-1.3649402390438248,-1.3687250996015936,-1.3725099601593624,-1.3762948207171315,-1.3800796812749003,-1.3838645418326694,-1.3876494023904382,-1.3914342629482073,-1.395219123505976,-1.399003984063745,-1.402788844621514,-1.4065737051792828,-1.4103585657370519,-1.4141434262948207,-1.4179282868525895,-1.4217131474103586,-1.4254980079681274,-1.4292828685258965,-1.4330677290836653,-1.4368525896414344,-1.4406374501992032,-1.444422310756972,-1.448207171314741,-1.45199203187251,-1.455776892430279,-1.4595617529880478,-1.4633466135458166,-1.4671314741035857,-1.4709163346613545,-1.4747011952191236,-1.4784860557768924,-1.4822709163346615,-1.4860557768924303,-1.4898406374501991,-1.4936254980079682,-1.497410358565737,-1.501195219123506,-1.504980079681275,-1.5087649402390437,-1.5125498007968128,-1.5163346613545816,-1.5201195219123507,-1.5239043824701195,-1.5276892430278886,-1.5314741035856574,-1.5352589641434262,-1.5390438247011953,-1.542828685258964,-1.5466135458167332,-1.550398406374502,-1.5541832669322708,-1.5579681274900399,-1.5617529880478087,-1.5655378486055778,-1.5693227091633466,-1.5731075697211154,-1.5768924302788845,-1.5806772908366533,-1.5844621513944224,-1.5882470119521912,-1.5920318725099603,-1.595816733067729,-1.599601593625498,-1.603386454183267,-1.6071713147410358,-1.6109561752988049,-1.6147410358565737,-1.6185258964143425,-1.6223107569721116,-1.6260956175298804,-1.6298804780876495,-1.6336653386454183,-1.6374501992031874,-1.6412350597609562,-1.645019920318725,-1.648804780876494,-1.652589641434263,-1.656374501992032,-1.6601593625498008,-1.6639442231075696,-1.6677290836653387,-1.6715139442231075,-1.6752988047808766,-1.6790836653386454,-1.6828685258964144,-1.6866533864541833,-1.690438247011952,-1.6942231075697212,-1.69800796812749,-1.701792828685259,-1.7055776892430279,-1.7093625498007967,-1.7131474103585658,-1.7169322709163346,-1.7207171314741037,-1.7245019920318725,-1.7282868525896415,-1.7320717131474104,-1.7358565737051792,-1.7396414342629483,-1.743426294820717,-1.7472111553784861,-1.750996015936255,-1.7547808764940238,-1.7585657370517929,-1.7623505976095617,-1.7661354581673308,-1.7699203187250996,-1.7737051792828684,-1.7774900398406375,-1.7812749003984063,-1.7850597609561754,-1.7888446215139442,-1.7926294820717132,-1.796414342629482,-1.800199203187251,-1.80398406374502,-1.8077689243027888,-1.8115537848605578,-1.8153386454183267,-1.8191235059760955,-1.8229083665338646,-1.8266932270916334,-1.8304780876494025,-1.8342629482071713,-1.8380478087649403,-1.8418326693227092,-1.845617529880478,-1.849402390438247,-1.853187250996016,-1.856972111553785,-1.8607569721115538,-1.8645418326693226,-1.8683266932270917,-1.8721115537848605,-1.8758964143426295,-1.8796812749003984,-1.8834661354581674,-1.8872509960159363,-1.891035856573705,-1.8948207171314742,-1.898605577689243,-1.902390438247012,-1.9061752988047809,-1.9099601593625497,-1.9137450199203188,-1.9175298804780876,-1.9213147410358566,-1.9250996015936255,-1.9288844621513945,-1.9326693227091634,-1.9364541832669322,-1.9402390438247012,-1.94402390438247,-1.9478087649402391,-1.951593625498008,-1.9553784860557768,-1.9591633466135459,-1.9629482071713147,-1.9667330677290837,-1.9705179282868526,-1.9743027888446214,-1.9780876494023905,-1.9818725099601593,-1.9856573705179283,-1.9894422310756972,-1.9932270916334662,-1.997011952191235,-2.000796812749004,-2.004581673306773,-2.008366533864542,-2.0121513944223106,-2.0159362549800797,-2.0197211155378487,-2.0235059760956173,-2.0272908366533864,-2.0310756972111554,-2.0348605577689245,-2.038645418326693,-2.042430278884462,-2.046215139442231,-2.05,-2.053784860557769,-2.057569721115538,-2.061354581673307,-2.0651394422310756,-2.0689243027888446,-2.0727091633466137,-2.0764940239043823,-2.0802788844621514,-2.0840637450199204,-2.087848605577689,-2.091633466135458,-2.095418326693227,-2.099203187250996,-2.102988047808765,-2.106772908366534,-2.110557768924303,-2.1143426294820715,-2.1181274900398406,-2.1219123505976096,-2.1256972111553787,-2.1294820717131473,-2.1332669322709163,-2.1370517928286854,-2.140836653386454,-2.144621513944223,-2.148406374501992,-2.152191235059761,-2.15597609561753,-2.159760956175299,-2.163545816733068,-2.1673306772908365,-2.1711155378486056,-2.1749003984063746,-2.1786852589641432,-2.1824701195219123,-2.1862549800796813,-2.1900398406374504,-2.193824701195219,-2.197609561752988,-2.201394422310757,-2.2051792828685257,-2.2089641434262948,-2.212749003984064,-2.216533864541833,-2.2203187250996015,-2.2241035856573705,-2.2278884462151396,-2.231673306772908,-2.2354581673306773,-2.2392430278884463,-2.243027888446215,-2.246812749003984,-2.250597609561753,-2.254382470119522,-2.2581673306772907,-2.2619521912350598,-2.265737051792829,-2.2695219123505974,-2.2733067729083665,-2.2770916334661355,-2.2808764940239046,-2.284661354581673,-2.2884462151394422,-2.2922310756972113,-2.29601593625498,-2.299800796812749,-2.303585657370518,-2.307370517928287,-2.3111553784860557,-2.3149402390438247,-2.318725099601594,-2.3225099601593624,-2.3262948207171315,-2.3300796812749005,-2.333864541832669,-2.337649402390438,-2.3414342629482072,-2.3452191235059763,-2.349003984063745,-2.352788844621514,-2.356573705179283,-2.3603585657370516,-2.3641434262948207,-2.3679282868525897,-2.3717131474103588,-2.3754980079681274,-2.3792828685258964,-2.3830677290836655,-2.386852589641434,-2.390637450199203,-2.394422310756972,-2.398207171314741,-2.40199203187251,-2.405776892430279,-2.409561752988048,-2.4133466135458166,-2.4171314741035856,-2.4209163346613547,-2.4247011952191233,-2.4284860557768924,-2.4322709163346614,-2.4360557768924305,-2.439840637450199,-2.443625498007968,-2.447410358565737,-2.451195219123506,-2.454980079681275,-2.458764940239044,-2.462549800796813,-2.4663346613545816,-2.4701195219123506,-2.4739043824701197,-2.4776892430278883,-2.4814741035856573,-2.4852589641434264,-2.489043824701195,-2.492828685258964,-2.496613545816733,-2.500398406374502,-2.504183266932271,-2.50796812749004,-2.511752988047809,-2.5155378486055775,-2.5193227091633466,-2.5231075697211156,-2.5268924302788847,-2.5306772908366533,-2.5344621513944223,-2.5382470119521914,-2.54203187250996,-2.545816733067729,-2.549601593625498,-2.553386454183267,-2.5571713147410358,-2.560956175298805,-2.564741035856574,-2.5685258964143425,-2.5723107569721115,-2.5760956175298806,-2.579880478087649,-2.5836653386454183,-2.5874501992031873,-2.5912350597609564,-2.595019920318725,-2.598804780876494,-2.602589641434263,-2.6063745019920317,-2.6101593625498007,-2.61394422310757,-2.617729083665339,-2.6215139442231075,-2.6252988047808765,-2.6290836653386456,-2.632868525896414,-2.6366533864541832,-2.6404382470119523,-2.644223107569721,-2.64800796812749,-2.651792828685259,-2.655577689243028,-2.6593625498007967,-2.6631474103585657,-2.666932270916335,-2.6707171314741034,-2.6745019920318724,-2.6782868525896415,-2.6820717131474106,-2.685856573705179,-2.689641434262948,-2.6934262948207173,-2.697211155378486,-2.700996015936255,-2.704780876494024,-2.708565737051793,-2.7123505976095617,-2.7161354581673307,-2.7199203187250998,-2.7237051792828684,-2.7274900398406374,-2.7312749003984065,-2.735059760956175,-2.738844621513944,-2.742629482071713,-2.7464143426294823,-2.750199203187251,-2.75398406374502,-2.757768924302789,-2.7615537848605576,-2.7653386454183266,-2.7691235059760957,-2.7729083665338647,-2.7766932270916334,-2.7804780876494024,-2.7842629482071715,-2.78804780876494,-2.791832669322709,-2.795617529880478,-2.799402390438247,-2.803187250996016,-2.806972111553785,-2.810756972111554,-2.8145418326693226,-2.8183266932270916,-2.8221115537848607,-2.8258964143426293,-2.8296812749003983,-2.8334661354581674,-2.8372509960159364,-2.841035856573705,-2.844820717131474,-2.848605577689243,-2.8523904382470118,-2.856175298804781,-2.85996015936255,-2.863745019920319,-2.8675298804780875,-2.8713147410358566,-2.8750996015936257,-2.8788844621513943,-2.8826693227091633,-2.8864541832669324,-2.890239043824701,-2.89402390438247,-2.897808764940239,-2.901593625498008,-2.9053784860557768,-2.909163346613546,-2.912948207171315,-2.9167330677290835,-2.9205179282868525,-2.9243027888446216,-2.9280876494023906,-2.9318725099601592,-2.9356573705179283,-2.9394422310756974,-2.943227091633466,-2.947011952191235,-2.950796812749004,-2.954581673306773,-2.9583665338645417,-2.962151394422311,-2.96593625498008,-2.9697211155378485,-2.9735059760956175,-2.9772908366533866,-2.981075697211155,-2.9848605577689242,-2.9886454183266933,-2.9924302788844623,-2.996215139442231,-3.0]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/medium_positive.json b/base/special/acotf/test/fixtures/julia/medium_positive.json new file mode 100644 index 000000000..3ce6c03f8 --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/medium_positive.json @@ -0,0 +1 @@ +{"expected":[0.7378150601204649,0.7361056754550979,0.7344027170432255,0.7327061585364671,0.7310159736367406,0.7293321360975216,0.7276546197250732,0.7259833983796455,0.7243184459766473,0.7226597364877866,0.7210072439421855,0.7193609424274653,0.717720806090805,0.7160868091399732,0.7144589258443317,0.7128371305358143,0.7112213976098805,0.7096117015264408,0.7080080168107608,0.7064103180543367,0.7048185799157509,0.7032327771214993,0.7016528844667989,0.7000788768163694,0.6985107291051944,0.6969484163392584,0.6953919135962627,0.6938411960263199,0.6922962388526266,0.6907570173721149,0.6892235069560844,0.6876956830508126,0.6861735211781471,0.6846569969360763,0.6831460859992823,0.6816407641196744,0.6801410071269042,0.6786467909288618,0.6771580915121557,0.6756748849425723,0.6741971473655217,0.6727248550064631,0.6712579841713158,0.6697965112468522,0.6683404127010766,0.6668896650835858,0.6654442450259164,0.6640041292418751,0.6625692945278554,0.6611397177631388,0.6597153759101816,0.6582962460148875,0.6568823052068675,0.6554735306996842,0.6540698997910842,0.6526713898632168,0.65127797838284,0.6498896429015135,0.6485063610557804,0.6471281105673351,0.6457548692431807,0.6443866149757747,0.6430233257431612,0.6416649796090956,0.6403115547231546,0.6389630293208375,0.637619381723657,0.6362805903392181,0.634946633661289,0.63361749026986,0.6322931388311946,0.6309735580978693,0.6296587269088055,0.6283486241892914,0.6270432289509956,0.6257425202919713,0.6244464773966524,0.6231550795358413,0.6218683060666879,0.6205861364326614,0.6193085501635136,0.6180355268752351,0.6167670462700033,0.615503088136124,0.6142436323479643,0.6129886588658808,0.6117381477361389,0.6104920790908257,0.6092504331477582,0.6080131902103822,0.6067803306676677,0.6055518349939962,0.6043276837490433,0.603107857577655,0.601892337209718,0.6006811034600255,0.5994741372281365,0.5982714194982302,0.5970729313389561,0.5958786539032774,0.5946885684283113,0.5935026562351632,0.5923208987287572,0.5911432773976609,0.589969773813908,0.588800369632814,0.587635046592789,0.5864737865151474,0.5853165713039113,0.5841633829456123,0.5830142035090886,0.5818690151452781,0.5807278000870089,0.5795905406487851,0.5784572192265715,0.5773278182975716,0.5762023204200064,0.5750807082328872,0.5739629644557862,0.5728490718886059,0.5717390134113426,0.5706327719838499,0.569530330645599,0.5684316725154349,0.5673367807913328,0.5662456387501493,0.5651582297473738,0.5640745372168765,0.5629945446706536,0.5619182356985722,0.5608455939681118,0.5597766032241043,0.5587112472884722,0.5576495100599655,0.5565913755138963,0.555536827701871,0.554485850751523,0.5534384288662424,0.552394546324904,0.5513541874815956,0.5503173367653424,0.5492839786798329,0.5482540978031419,0.5472276787874524,0.5462047063587768,0.5451851653166775,0.5441690405339856,0.5431563169565189,0.5421469796028001,0.5411410135637718,0.5401384040025135,0.5391391361539556,0.5381431953245944,0.5371505668922051,0.5361612363055549,0.5351751890841157,0.5341924108177756,0.5332128871665506,0.5322366038602957,0.5312635466984152,0.5302937015495736,0.5293270543514041,0.5283635911102204,0.5274032979007242,0.5264461608657155,0.5254921662158017,0.524541300229106,0.5235935492509765,0.5226488996936951,0.5217073380361861,0.520768850823725,0.5198334246676473,0.5189010462450573,0.5179717022985372,0.5170453796358556,0.5161220651296776,0.5152017457172735,0.5142844084002286,0.5133700402441527,0.5124586283783908,0.511550159995733,0.5106446223521248,0.5097420027663793,0.5088422886198867,0.507945467356328,0.5070515264813853,0.5061604535624554,0.5052722362283627,0.5043868621690718,0.5035043191354025,0.5026245949387429,0.5017476774507657,0.5008735546031425,0.5000022143872602,0.49913364485393796,0.4982678341131435,0.4974047703337115,0.49654444174306156,0.49568683662691776,0.4948319433290276,0.4939797502508828,0.49313024585144033,0.49228341864684366,0.4914392572101457,0.4905977501710316,0.4897588862155426,0.48892265408580093,0.4880890425797346,0.48725804055080457,0.4864296369077302,0.48560382061421853,0.4847805806886915,0.4839599062040161,0.48314178628723414,0.48232621011929344,0.4815131669347793,0.480702646021648,0.479894636720959,0.479089128426611,0.47828611058507575,0.4774855726951352,0.476687504307618,0.4758918950251379,0.4750987345018323,0.4743080124431022,0.473519718605353,0.47273384279573594,0.47195037487189057,0.47116930474168883,0.47039062236297874,0.4696143177433307,0.4688403809397828,0.46806880205858903,0.46729957125496707,0.4665326787328478,0.46576811474462554,0.4650058695909088,0.46424593362027317,0.4634882972290139,0.4627329508609003,0.46197988500693116,0.4612290902050903,0.46048055704010393,0.45973427614319917,0.45899023819186285,0.45824843390960146,0.4575088540657028,0.45677148947499774,0.4560363309976237,0.45530336953878825,0.4545725960485352,0.45384400152151017,0.4531175769967277,0.45239331355734014,0.45167120233040636,0.45095123448666224,0.4502334012402918,0.4495176938487,0.4488041036122854,0.4480926218742149,0.44738324002019925,0.4466759494782692,0.445970741718553,0.4452676082530548,0.4445665406354342,0.44386753046078703,0.44317056936542587,0.4424756490266638,0.44178276116259735,0.44109189753189065,0.4404030499335619,0.4397162102067693,0.4390313702305992,0.4383485219238539,0.437667657244842,0.43698876819116916,0.43631184679952884,0.435636885145496,0.4349638753433201,0.43429280954572025,0.4336236799436802,0.4329564787662457,0.4322911982803222,0.43162783079047273,0.43096636863871846,0.430306804204339,0.4296491299036737,0.42899333818992513,0.428339421552962,0.4276873725191242,0.42703718365102783,0.42638884754737255,0.42574235684274875,0.42509770420744564,0.42445488234726175,0.42381388400331466,0.42317470195185264,0.4225373290040669,0.4219017580059053,0.42126798183788655,0.42063599341491514,0.4200057856860982,0.41937735163456213,0.418750684277271,0.41812577666484574,0.41750262188138365,0.4168812130442803,0.41626154330405,0.4156436058441502,0.41502739388080423,0.414412900662826,0.41380011947144624,0.41318904362013836,0.4125796664544463,0.4119719813518126,0.4113659817214079,0.4107616610039609,0.4101590126715895,0.4095580302276329,0.40895870720648414,0.4083610371734243,0.4077650137244567,0.40717063048614277,0.40657788111543813,0.4059867592995302,0.4053972587556762,0.40480937323104227,0.40422309650254307,0.4036384223766831,0.40305534468939785,0.40247385730589663,0.4018939541205054,0.40131562905651147,0.40073887606600866,0.40016368912974226,0.3995900622569569,0.39901798948524336,0.3984474648803872,0.3978784825362179,0.39731103657445893,0.39674512114457877,0.39618073042364216,0.39561785861616316,0.3950564999539581,0.3944966486959995,0.3939382991282715,0.39338144556362514,0.39282608234163524,0.3922722038284572,0.3917198044166854,0.3911688785252124,0.39061942059908766,0.39007142510937887,0.3895248865530327,0.3889797994527371,0.3884361583567833,0.38789395783893027,0.3873531924982684,0.38681385695908455,0.38627594587072794,0.38573945390747655,0.38520437576840466,0.38467070617725024,0.3841384398822843,0.3836075716561801,0.3830780962958833,0.38255000862248284,0.3820233034810829,0.3814979757406746,0.38097402029401006,0.38045143205747506,0.3799302059709646,0.37941033699775706,0.37889182012439093,0.37837465036054113,0.377858822738896,0.3773443323150357,0.3768311741673107,0.3763193433967211,0.37580883512679647,0.3752996445034771,0.3747917666949947,0.3742851968917548,0.37377993030621964,0.373275962172791,0.37277328774769475,0.372271902308865,0.37177180115583,0.3712729796095977,0.3707754330125424,0.3702791567282923,0.3697841461416171,0.36929039665831653,0.3687979037051098,0.36830666272952495,0.3678166691997898,0.3673279186047223,0.3668404064536228,0.3663541282761662,0.3658690796222942,0.3653852560621097,0.36490265318577025,0.3644212666033829,0.36394109194489954,0.3634621248600127,0.3629843610180521,0.3625077961078814,0.3620324258377963,0.36155824593542246,0.3610852521476141,0.3606134402403539,0.3601428059986526,0.35967334522644934,0.359205053746513,0.3587379274003439,0.3582719620480756,0.35780715356837794,0.35734349785836034,0.3568809908334755,0.35641962842742403,0.3559594065920588,0.3555003212972912,0.3550423685309967,0.35458554429892125,0.3541298446245887,0.3536752655492083,0.3532218031315828,0.3527694534480168,0.3523182125922265,0.351868076675249,0.35141904182535233,0.3509711041879467,0.3505242599254952,0.3500785052174258,0.3496338362600433,0.34919024926644243,0.3487477404664208,0.3483063061063925,0.3478659424493026,0.34742664577454163,0.3469884123778606,0.34655123857128706,0.34611512068304084,0.34568005505745086,0.3452460380548721,0.3448130660516031,0.34438113543980436,0.34395024262741597,0.34352038403807744,0.34309155611104675,0.34266375530112,0.3422369780785519,0.34181122092897676,0.3413864803533293,0.34096275286776645,0.3405400350035895,0.3401183233071667,0.3396976143398559,0.3392779046779285,0.33885919091249295,0.33844146964941896,0.3380247375092623,0.3376089911271902,0.33719422715290664,0.33678044225057796,0.33636763309876017,0.33595579639032497,0.3355449288323874,0.3351350271462332,0.3347260880672471,0.334318108344841,0.3339110847423831,0.3335050140371271,0.33309989302014176,0.3326957184962408,0.3322924872839138,0.3318901962152567,0.33148884213590313,0.33108842190495585,0.3306889323949192,0.3302903704916309,0.3298927330941953,0.32949601711491633,0.32910021947923096,0.3287053371256433,0.3283113670056585,0.3279183060837179,0.32752615133713364,0.3271348997560241,0.32674454834324984,0.3263550941143493,0.3259665340974758,0.3255788653333337,0.32519208487511625,0.3248061897884426,0.32442117715129576,0.32403704405396105,0.3236537875989644,0.32327140490101147,0.32288989308692656,0.32250924929559277,0.3221294706778913,0.3217505543966422],"x":[1.1,1.103784860557769,1.1075697211155378,1.1113545816733068,1.1151394422310756,1.1189243027888447,1.1227091633466135,1.1264940239043826,1.1302788844621514,1.1340637450199202,1.1378486055776893,1.1416334661354581,1.1454183266932272,1.149203187250996,1.1529880478087648,1.156772908366534,1.1605577689243027,1.1643426294820718,1.1681274900398406,1.1719123505976095,1.1756972111553785,1.1794820717131473,1.1832669322709164,1.1870517928286852,1.1908366533864543,1.1946215139442231,1.198406374501992,1.202191235059761,1.2059760956175298,1.2097609561752989,1.2135458167330677,1.2173306772908365,1.2211155378486056,1.2249003984063744,1.2286852589641435,1.2324701195219123,1.2362549800796814,1.2400398406374502,1.243824701195219,1.247609561752988,1.251394422310757,1.255179282868526,1.2589641434262948,1.2627490039840636,1.2665338645418327,1.2703187250996015,1.2741035856573706,1.2778884462151394,1.2816733067729085,1.2854581673306773,1.2892430278884461,1.2930278884462152,1.296812749003984,1.300597609561753,1.304382470119522,1.3081673306772907,1.3119521912350598,1.3157370517928286,1.3195219123505977,1.3233067729083665,1.3270916334661356,1.3308764940239044,1.3346613545816732,1.3384462151394423,1.3422310756972111,1.3460159362549802,1.349800796812749,1.3535856573705178,1.357370517928287,1.3611553784860557,1.3649402390438248,1.3687250996015936,1.3725099601593624,1.3762948207171315,1.3800796812749003,1.3838645418326694,1.3876494023904382,1.3914342629482073,1.395219123505976,1.399003984063745,1.402788844621514,1.4065737051792828,1.4103585657370519,1.4141434262948207,1.4179282868525895,1.4217131474103586,1.4254980079681274,1.4292828685258965,1.4330677290836653,1.4368525896414344,1.4406374501992032,1.444422310756972,1.448207171314741,1.45199203187251,1.455776892430279,1.4595617529880478,1.4633466135458166,1.4671314741035857,1.4709163346613545,1.4747011952191236,1.4784860557768924,1.4822709163346615,1.4860557768924303,1.4898406374501991,1.4936254980079682,1.497410358565737,1.501195219123506,1.504980079681275,1.5087649402390437,1.5125498007968128,1.5163346613545816,1.5201195219123507,1.5239043824701195,1.5276892430278886,1.5314741035856574,1.5352589641434262,1.5390438247011953,1.542828685258964,1.5466135458167332,1.550398406374502,1.5541832669322708,1.5579681274900399,1.5617529880478087,1.5655378486055778,1.5693227091633466,1.5731075697211154,1.5768924302788845,1.5806772908366533,1.5844621513944224,1.5882470119521912,1.5920318725099603,1.595816733067729,1.599601593625498,1.603386454183267,1.6071713147410358,1.6109561752988049,1.6147410358565737,1.6185258964143425,1.6223107569721116,1.6260956175298804,1.6298804780876495,1.6336653386454183,1.6374501992031874,1.6412350597609562,1.645019920318725,1.648804780876494,1.652589641434263,1.656374501992032,1.6601593625498008,1.6639442231075696,1.6677290836653387,1.6715139442231075,1.6752988047808766,1.6790836653386454,1.6828685258964144,1.6866533864541833,1.690438247011952,1.6942231075697212,1.69800796812749,1.701792828685259,1.7055776892430279,1.7093625498007967,1.7131474103585658,1.7169322709163346,1.7207171314741037,1.7245019920318725,1.7282868525896415,1.7320717131474104,1.7358565737051792,1.7396414342629483,1.743426294820717,1.7472111553784861,1.750996015936255,1.7547808764940238,1.7585657370517929,1.7623505976095617,1.7661354581673308,1.7699203187250996,1.7737051792828684,1.7774900398406375,1.7812749003984063,1.7850597609561754,1.7888446215139442,1.7926294820717132,1.796414342629482,1.800199203187251,1.80398406374502,1.8077689243027888,1.8115537848605578,1.8153386454183267,1.8191235059760955,1.8229083665338646,1.8266932270916334,1.8304780876494025,1.8342629482071713,1.8380478087649403,1.8418326693227092,1.845617529880478,1.849402390438247,1.853187250996016,1.856972111553785,1.8607569721115538,1.8645418326693226,1.8683266932270917,1.8721115537848605,1.8758964143426295,1.8796812749003984,1.8834661354581674,1.8872509960159363,1.891035856573705,1.8948207171314742,1.898605577689243,1.902390438247012,1.9061752988047809,1.9099601593625497,1.9137450199203188,1.9175298804780876,1.9213147410358566,1.9250996015936255,1.9288844621513945,1.9326693227091634,1.9364541832669322,1.9402390438247012,1.94402390438247,1.9478087649402391,1.951593625498008,1.9553784860557768,1.9591633466135459,1.9629482071713147,1.9667330677290837,1.9705179282868526,1.9743027888446214,1.9780876494023905,1.9818725099601593,1.9856573705179283,1.9894422310756972,1.9932270916334662,1.997011952191235,2.000796812749004,2.004581673306773,2.008366533864542,2.0121513944223106,2.0159362549800797,2.0197211155378487,2.0235059760956173,2.0272908366533864,2.0310756972111554,2.0348605577689245,2.038645418326693,2.042430278884462,2.046215139442231,2.05,2.053784860557769,2.057569721115538,2.061354581673307,2.0651394422310756,2.0689243027888446,2.0727091633466137,2.0764940239043823,2.0802788844621514,2.0840637450199204,2.087848605577689,2.091633466135458,2.095418326693227,2.099203187250996,2.102988047808765,2.106772908366534,2.110557768924303,2.1143426294820715,2.1181274900398406,2.1219123505976096,2.1256972111553787,2.1294820717131473,2.1332669322709163,2.1370517928286854,2.140836653386454,2.144621513944223,2.148406374501992,2.152191235059761,2.15597609561753,2.159760956175299,2.163545816733068,2.1673306772908365,2.1711155378486056,2.1749003984063746,2.1786852589641432,2.1824701195219123,2.1862549800796813,2.1900398406374504,2.193824701195219,2.197609561752988,2.201394422310757,2.2051792828685257,2.2089641434262948,2.212749003984064,2.216533864541833,2.2203187250996015,2.2241035856573705,2.2278884462151396,2.231673306772908,2.2354581673306773,2.2392430278884463,2.243027888446215,2.246812749003984,2.250597609561753,2.254382470119522,2.2581673306772907,2.2619521912350598,2.265737051792829,2.2695219123505974,2.2733067729083665,2.2770916334661355,2.2808764940239046,2.284661354581673,2.2884462151394422,2.2922310756972113,2.29601593625498,2.299800796812749,2.303585657370518,2.307370517928287,2.3111553784860557,2.3149402390438247,2.318725099601594,2.3225099601593624,2.3262948207171315,2.3300796812749005,2.333864541832669,2.337649402390438,2.3414342629482072,2.3452191235059763,2.349003984063745,2.352788844621514,2.356573705179283,2.3603585657370516,2.3641434262948207,2.3679282868525897,2.3717131474103588,2.3754980079681274,2.3792828685258964,2.3830677290836655,2.386852589641434,2.390637450199203,2.394422310756972,2.398207171314741,2.40199203187251,2.405776892430279,2.409561752988048,2.4133466135458166,2.4171314741035856,2.4209163346613547,2.4247011952191233,2.4284860557768924,2.4322709163346614,2.4360557768924305,2.439840637450199,2.443625498007968,2.447410358565737,2.451195219123506,2.454980079681275,2.458764940239044,2.462549800796813,2.4663346613545816,2.4701195219123506,2.4739043824701197,2.4776892430278883,2.4814741035856573,2.4852589641434264,2.489043824701195,2.492828685258964,2.496613545816733,2.500398406374502,2.504183266932271,2.50796812749004,2.511752988047809,2.5155378486055775,2.5193227091633466,2.5231075697211156,2.5268924302788847,2.5306772908366533,2.5344621513944223,2.5382470119521914,2.54203187250996,2.545816733067729,2.549601593625498,2.553386454183267,2.5571713147410358,2.560956175298805,2.564741035856574,2.5685258964143425,2.5723107569721115,2.5760956175298806,2.579880478087649,2.5836653386454183,2.5874501992031873,2.5912350597609564,2.595019920318725,2.598804780876494,2.602589641434263,2.6063745019920317,2.6101593625498007,2.61394422310757,2.617729083665339,2.6215139442231075,2.6252988047808765,2.6290836653386456,2.632868525896414,2.6366533864541832,2.6404382470119523,2.644223107569721,2.64800796812749,2.651792828685259,2.655577689243028,2.6593625498007967,2.6631474103585657,2.666932270916335,2.6707171314741034,2.6745019920318724,2.6782868525896415,2.6820717131474106,2.685856573705179,2.689641434262948,2.6934262948207173,2.697211155378486,2.700996015936255,2.704780876494024,2.708565737051793,2.7123505976095617,2.7161354581673307,2.7199203187250998,2.7237051792828684,2.7274900398406374,2.7312749003984065,2.735059760956175,2.738844621513944,2.742629482071713,2.7464143426294823,2.750199203187251,2.75398406374502,2.757768924302789,2.7615537848605576,2.7653386454183266,2.7691235059760957,2.7729083665338647,2.7766932270916334,2.7804780876494024,2.7842629482071715,2.78804780876494,2.791832669322709,2.795617529880478,2.799402390438247,2.803187250996016,2.806972111553785,2.810756972111554,2.8145418326693226,2.8183266932270916,2.8221115537848607,2.8258964143426293,2.8296812749003983,2.8334661354581674,2.8372509960159364,2.841035856573705,2.844820717131474,2.848605577689243,2.8523904382470118,2.856175298804781,2.85996015936255,2.863745019920319,2.8675298804780875,2.8713147410358566,2.8750996015936257,2.8788844621513943,2.8826693227091633,2.8864541832669324,2.890239043824701,2.89402390438247,2.897808764940239,2.901593625498008,2.9053784860557768,2.909163346613546,2.912948207171315,2.9167330677290835,2.9205179282868525,2.9243027888446216,2.9280876494023906,2.9318725099601592,2.9356573705179283,2.9394422310756974,2.943227091633466,2.947011952191235,2.950796812749004,2.954581673306773,2.9583665338645417,2.962151394422311,2.96593625498008,2.9697211155378485,2.9735059760956175,2.9772908366533866,2.981075697211155,2.9848605577689242,2.9886454183266933,2.9924302788844623,2.996215139442231,3.0]} \ No newline at end of file diff --git a/base/special/acotf/test/fixtures/julia/runner.jl b/base/special/acotf/test/fixtures/julia/runner.jl new file mode 100644 index 000000000..145acb838 --- /dev/null +++ b/base/special/acotf/test/fixtures/julia/runner.jl @@ -0,0 +1,93 @@ +#!/usr/bin/env julia +# +# @license Apache-2.0 +# +# Copyright (c) 2024 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> domain = range( -1000.0, 1000.0, 2001 ); +julia> gen( x, \"data.json\" ); +``` +""" +function gen( domain, name ) + x = collect( domain ); + y = acot.( 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) ); + 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.1, stop=3.0, length=503 ); +gen( x, "medium_positive.json" ); + +# Large positive values: +x = range( 3.0, stop=28.0, length=503 ); +gen( x, "large_positive.json" ); + +# Larger positive values: +x = range( 28.0, stop=100.0, length=503 ); +gen( x, "larger_positive.json" ); + +# Huge positive values: +x = range( 1.0e30, stop=1.0e38, length=1003 ); +gen( x, "huge_positive.json" ); + +# Negative medium values: +x = range( -1.1, stop=-3.0, length=503 ); +gen( x, "medium_negative.json" ); + +# Large negative values: +x = range( -3.0, stop=-28.0, length=503 ); +gen( x, "large_negative.json" ); + +# Larger negative values: +x = range( -28.0, stop=-100.0, length=503 ); +gen( x, "larger_negative.json" ); + +# Huge negative values: +x = range( -1.0e30, stop=-1.0e38, length=1003 ); +gen( x, "huge_negative.json" ); diff --git a/base/special/acotf/test/test.js b/base/special/acotf/test/test.js new file mode 100644 index 000000000..ecbf55042 --- /dev/null +++ b/base/special/acotf/test/test.js @@ -0,0 +1,271 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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( './../../../../base/assert/is-nanf' ); +var isNegativeZerof = require( './../../../../base/assert/is-negative-zerof' ); +var isPositiveZerof = require( './../../../../base/assert/is-positive-zerof' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var EPS = require( '@stdlib/constants/float32/eps' ); +var abs = require( './../../../../base/special/abs' ); +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); +var acotf = 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' ); +var largerNegative = require( './fixtures/julia/larger_negative.json' ); +var largeNegative = require( './fixtures/julia/large_negative.json' ); +var mediumNegative = require( './fixtures/julia/medium_negative.json' ); +var hugeNegative = require( './fixtures/julia/huge_negative.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.true( typeof acotf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the inverse cotangent for medium positive values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = mediumPositive.x; + expected = mediumPositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.9 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for medium negative values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = mediumNegative.x; + expected = mediumNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.9 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for large positive values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largePositive.x; + expected = largePositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for large negative values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largeNegative.x; + expected = largeNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for larger positive values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largerPositive.x; + expected = largerPositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for larger negative values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largerNegative.x; + expected = largerNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for huge positive values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = hugePositive.x; + expected = hugePositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for huge negative values', function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = hugeNegative.x; + expected = hugeNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided `NaN`', function test( t ) { + var v = acotf( NaN ); + t.equal( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `+0` if provided `+infinity`', function test( t ) { + var v = acotf( PINF ); + t.equal( isPositiveZerof( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `-0` if provided `-infinity`', function test( t ) { + var v = acotf( NINF ); + t.equal( isNegativeZerof( v ), true, 'returns expected value' ); + t.end(); +}); diff --git a/base/special/acotf/test/test.native.js b/base/special/acotf/test/test.native.js new file mode 100644 index 000000000..a9d7eb3ef --- /dev/null +++ b/base/special/acotf/test/test.native.js @@ -0,0 +1,280 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2024 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( './../../../../base/assert/is-nanf' ); +var isNegativeZerof = require( './../../../../base/assert/is-negative-zerof' ); +var isPositiveZerof = require( './../../../../base/assert/is-positive-zerof' ); +var PINF = require( '@stdlib/constants/float32/pinf' ); +var NINF = require( '@stdlib/constants/float32/ninf' ); +var EPS = require( '@stdlib/constants/float32/eps' ); +var abs = require( './../../../../base/special/abs' ); +var float64ToFloat32 = require( '@stdlib/number/float64/base/to-float32' ); +var tryRequire = require( '@stdlib/utils/try-require' ); + + +// 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' ); +var largerNegative = require( './fixtures/julia/larger_negative.json' ); +var largeNegative = require( './fixtures/julia/large_negative.json' ); +var mediumNegative = require( './fixtures/julia/medium_negative.json' ); +var hugeNegative = require( './fixtures/julia/huge_negative.json' ); + + +// VARIABLES // + +var acotf = tryRequire( resolve( __dirname, './../lib/native.js' ) ); +var opts = { + 'skip': ( acotf instanceof Error ) +}; + + +// TESTS // + +tape( 'main export is a function', opts, function test( t ) { + t.ok( true, __filename ); + t.true( typeof acotf, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'the function computes the inverse cotangent for medium positive values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = mediumPositive.x; + expected = mediumPositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.9 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for medium negative values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = mediumNegative.x; + expected = mediumNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.9 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for large positive values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largePositive.x; + expected = largePositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for large negative values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largeNegative.x; + expected = largeNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for larger positive values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largerPositive.x; + expected = largerPositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for larger negative values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = largerNegative.x; + expected = largerNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for huge positive values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = hugePositive.x; + expected = hugePositive.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function computes the inverse cotangent for huge negative values', opts, function test( t ) { + var expected; + var delta; + var tol; + var x; + var y; + var i; + var e; + + x = hugeNegative.x; + expected = hugeNegative.expected; + for ( i = 0; i < x.length; i++ ) { + y = acotf( x[ i ] ); + e = float64ToFloat32( expected[ i ] ); + if ( y === e ) { + t.equal( y, e, 'x: '+x[ i ]+'. E: '+e+'.' ); + } else { + delta = abs( y - e ); + tol = 1.2 * EPS * abs( e ); + t.ok( delta <= tol, 'within tolerance. x: '+x[ i ]+'. y: '+y+'. E: '+e+'. tol: '+tol+'. Δ: '+delta+'.' ); + } + } + t.end(); +}); + +tape( 'the function returns `NaN` if provided `NaN`', opts, function test( t ) { + var v = acotf( NaN ); + t.equal( isnanf( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `+0` if provided `+infinity`', opts, function test( t ) { + var v = acotf( PINF ); + t.equal( isPositiveZerof( v ), true, 'returns expected value' ); + t.end(); +}); + +tape( 'the function returns `-0` if provided `-infinity`', opts, function test( t ) { + var v = acotf( NINF ); + t.equal( isNegativeZerof( v ), true, 'returns expected value' ); + t.end(); +});