diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/README.md b/lib/node_modules/@stdlib/number/float16/base/to-word/README.md new file mode 100644 index 000000000000..49ed72e445bb --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/README.md @@ -0,0 +1,106 @@ + + +# toWord + +> Return an unsigned 16-bit integer corresponding to the [IEEE 754][ieee754] binary representation of a [half-precision floating-point number][ieee754]. + +
+ +## Usage + +```javascript +var toWord = require( '@stdlib/number/float16/base/to-word' ); +``` + +#### toWord( x ) + +Returns an unsigned 16-bit `integer` corresponding to the [IEEE 754][ieee754] binary representation of a [half-precision floating-point number][ieee754]. + +```javascript +var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' ); + +var f16 = float64ToFloat16( 1.05 ); +// returns 1.0498046875 + +var w = toWord( f16 ); // => 0 01111 0000110011 +// returns 15411 +``` + +
+ + + +
+ +
+ + + +
+ +## Examples + + + +```javascript +var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' ); +var randu = require( '@stdlib/random/base/randu' ); +var toWord = require( '@stdlib/number/float16/base/to-word' ); + +var word; +var f64; +var f16; +var i; + +// Convert half-precision floating-point numbers to integers representing the binary literal... +for ( i = 0; i < 1000; i++ ) { + f64 = (randu()*100.0) - 50.0; + f16 = float64ToFloat16( f64 ); + word = toWord( f16 ); + console.log( 'float64: %d => float16: %d => word: %d', f64, f16, word ); +} +``` + +
+ + + + + + + + + + + + + + diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/benchmark/benchmark.js b/lib/node_modules/@stdlib/number/float16/base/to-word/benchmark/benchmark.js new file mode 100644 index 000000000000..d688dbd0fcf7 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/benchmark/benchmark.js @@ -0,0 +1,52 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var bench = require( '@stdlib/bench' ); +var randu = require( '@stdlib/random/base/randu' ); +var isnan = require( '@stdlib/math/base/assert/is-nan' ); +var toFloat16 = require( '@stdlib/number/float64/base/to-float16' ); +var pkg = require( './../package.json' ).name; +var toWord = 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()*1.0e7 ) - 5.0e6; + y = toWord( toFloat16( x ) ); + if ( isnan( y ) ) { + b.fail( 'should not return NaN' ); + } + } + b.toc(); + if ( isnan( y ) ) { + b.fail( 'should not return NaN' ); + } + b.pass( 'benchmark finished' ); + b.end(); +}); diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/docs/repl.txt b/lib/node_modules/@stdlib/number/float16/base/to-word/docs/repl.txt new file mode 100644 index 000000000000..ae9ce1948293 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/docs/repl.txt @@ -0,0 +1,25 @@ + +{{alias}}( x ) + Returns an unsigned 16-bit integer corresponding to the IEEE 754 binary + representation of a half-precision floating-point number. + + Parameters + ---------- + x: float + half-precision floating-point number. + + Returns + ------- + out: integer + Unsigned 16-bit integer. + + Examples + -------- + > var f16 = {{alias:@stdlib/number/float64/base/to-float16}}( 1.05 ) + 1.0498046875 + > var w = {{alias}}( f16 ) + 15411 + + See Also + -------- + diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/docs/types/index.d.ts b/lib/node_modules/@stdlib/number/float16/base/to-word/docs/types/index.d.ts new file mode 100644 index 000000000000..66889501178f --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/docs/types/index.d.ts @@ -0,0 +1,41 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +// TypeScript Version: 4.1 + +/** +* Returns an unsigned 16-bit integer corresponding to the IEEE 754 binary representation of a half-precision floating-point number. +* +* @param x - half-precision floating-point number +* @returns unsigned 16-bit integer +* +* @example +* var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' ); +* +* var f16 = float64ToFloat16( 1.05 ); +* // returns 1.0498046875 +* +* var w = toWord( f16 ); // => 0 01111 0000110011 +* // returns 15411 +*/ +declare function toWord( x: number ): number; + + +// EXPORTS // + +export = toWord; diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/docs/types/test.ts b/lib/node_modules/@stdlib/number/float16/base/to-word/docs/types/test.ts new file mode 100644 index 000000000000..e5bbc43a9138 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/docs/types/test.ts @@ -0,0 +1,43 @@ +/* +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +import toWordf = require( './index' ); + + +// TESTS // + +// The function returns a number... +{ + toWordf( 3.14 ); // $ExpectType number + toWordf( -3.14 ); // $ExpectType number +} + +// The compiler throws an error if the function is provided a value other than a number... +{ + toWordf( true ); // $ExpectError + toWordf( false ); // $ExpectError + toWordf( 'abc' ); // $ExpectError + toWordf( [] ); // $ExpectError + toWordf( {} ); // $ExpectError + toWordf( ( x: number ): number => x ); // $ExpectError +} + +// The compiler throws an error if the function is provided insufficient arguments... +{ + toWordf(); // $ExpectError +} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/examples/index.js b/lib/node_modules/@stdlib/number/float16/base/to-word/examples/index.js new file mode 100644 index 000000000000..36a5aed1033e --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/examples/index.js @@ -0,0 +1,36 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' ); +var randu = require( '@stdlib/random/base/randu' ); +var toWord = require( './../lib' ); + +var word; +var f64; +var f16; +var i; + +// Convert half-precision floating-point numbers to integers representing the binary literal... +for ( i = 0; i < 1000; i++ ) { + f64 = (randu()*100.0) - 50.0; + f16 = float64ToFloat16( f64 ); + word = toWord( f16 ); + console.log( 'float64: %d => float16: %d => word: %d', f64, f16, word ); +} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/lib/float32.js b/lib/node_modules/@stdlib/number/float16/base/to-word/lib/float32.js new file mode 100644 index 000000000000..fa9e7f79447f --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/lib/float32.js @@ -0,0 +1,180 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var NINF = require( '@stdlib/constants/float16/ninf' ); +var PINF = require( '@stdlib/constants/float16/pinf' ); +var isnan = require( '@stdlib/assert/is-nan' ); +var abs = require( '@stdlib/math/base/special/abs' ); +var exponent = require( '@stdlib/number/float64/base/exponent' ); +var isNegativeZero = require( '@stdlib/assert/is-negative-zero' ); +var toWordf = require( '@stdlib/number/float32/base/to-word' ); + + +// MAIN // + +/** +* Returns an unsigned 16-bit integer corresponding to the IEEE 754 binary representation of a half-precision floating-point number. +* +* @param {number} x - half-precision floating-point number +* @returns {unsigned16} unsigned 16-bit integer +* +* @example +* var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' ); +* +* var f16 = float64ToFloat16( 1.05 ); +* // returns 1.0498046875 +* +* var w = toWord( f16 ); // => 0 01111 0000110011 +* // returns 15411 +*/ +function toWord( x ) { + var f32Exponent; + var f16Exponent; + var stickyBits; + var mantissa; + var roundBit; + var shift; + var bits; + var mant; + var sign; + + // Handle special cases + if ( isnan( x ) ) { // NaN + return 0x7E00; + } + if ( x === PINF ) { + return 0x7C00; // +Infinity + } + if ( x === NINF ) { + return 0xFC00; // -Infinity + } + if ( x === 0 ) { + if ( isNegativeZero( x ) ) { + return 0x8000; + } + return 0x0000; + } + + if ( x < 0 ) { + sign = 1; + } else { + sign = 0; + } + x = abs( x ); + bits = toWordf( x ); + + mant = bits & 0x7FFFFF; // 23-bit mantissa + + // Store unbiased exponent of a 32-bit floating-point number. + f32Exponent = exponent( x ); + + // Calculate exponent of a 16-bit floating-point number. + f16Exponent = f32Exponent + 15; + + // Handle overflow (infinity in float16) + if ( f16Exponent >= 31 ) { + if ( sign ) { + return 0xFC00; // -Infinity + } + return 0x7C00; // +Infinity + } + + // Handle underflow (subnormal or zero in float16) + if ( f16Exponent <= 0 ) { + // Check if the value is too small to be represented even as a subnormal float16 number: + if ( f16Exponent < -10 ) { + return sign << 15; // Return zero with the appropriate sign bit + } + + // Calculate the amount of right shift needed to denormalize the mantissa for subnormal representation: + shift = 1 - f16Exponent; + + // Create an 11-bit mantissa by adding the implicit leading 1 bit and extracting the top 10 bits from mantissa: + mantissa = ( 0x800000 | mant ) >>> 13; + + // Determine the round bit and sticky bits based on the shift amount to apply correct rounding: + if ( shift < 11 ) { + // Extract the round bit at the position that will be truncated after the shift: + roundBit = ( mantissa >>> ( shift - 1 ) ) & 1; + + // Check if any bits below the round bit position are set (sticky bits): + stickyBits = ( mantissa & ( ( 1 << ( shift - 1 ) ) - 1 ) ) !== 0; + + // If no sticky bits found in the 11-bit mantissa, check the remaining bits from the original mantissa: + if ( !stickyBits ) { + stickyBits = ( mant & 0x1FFF ) !== 0; + } + } else { + // When the shift is 11 or greater, the round bit comes from original mantissa + roundBit = ( mant >>> ( 13 - ( shift - 11 ) - 1 ) ) & 1; + + // Check if any bits below the round bit position in mantissa are set: + stickyBits = ( mant & ( ( 1 << ( 13 - ( shift - 11 ) - 1 ) ) - 1 ) ) !== 0; // eslint-disable-line max-len + } + + // Apply the denormalization shift to the mantissa: + mantissa = mantissa >>> shift; + + // Round to nearest even + if ( roundBit && ( stickyBits || ( mantissa & 1 ) ) ) { + mantissa += 1; + } + + return ( sign << 15 ) | mantissa; + } + + // Extract the top 10 bits of the mantissa from 23 bits + mantissa = mant >>> 13; + + // Extract the round bit (the first bit that will be truncated): + roundBit = ( mant >>> 12 ) & 1; + + // Check sticky bits (all bits below bit 12) + stickyBits = ( mant & 0xFFF ) !== 0; + + // Round up if roundBit is 1 AND (sticky bits OR mantissa is odd) + if ( roundBit && ( stickyBits || ( mantissa & 1 ) ) ) { + mantissa += 1; + + // Check for mantissa overflow (carries into exponent) + if ( mantissa > 0x3FF ) { + f16Exponent += 1; + mantissa = 0; + + // Check for exponent overflow + if ( f16Exponent >= 31 ) { + if ( sign ) { + return 0xFC00; // -Infinity + } + return 0x7C00; // +Infinity + } + } + } + + // Combine sign (1 bit), exponent (5 bits), and mantissa (10 bits) + return ( sign << 15 ) | ( f16Exponent << 10 ) | mantissa; +} + + +// EXPORTS // + +module.exports = toWord; diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/lib/index.js b/lib/node_modules/@stdlib/number/float16/base/to-word/lib/index.js new file mode 100644 index 000000000000..6f44f324e702 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/lib/index.js @@ -0,0 +1,44 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +/** +* Return an unsigned 16-bit integer corresponding to the IEEE 754 binary representation of a half-precision floating-point number. +* +* @module @stdlib/number/float16/base/to-word +* +* @example +* var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' ); +* var toWord = require( '@stdlib/number/float16/base/to-word' ); +* +* var f16 = float64ToFloat16( 1.05 ); +* // returns 1.0498046875 +* +* var w = toWord( f16 ); // => 0 01111 0000110011 +* // returns 15411 +*/ + +// MODULES // + +var main = require( './main.js' ); + + +// EXPORTS // + +module.exports = main; diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/lib/main.js b/lib/node_modules/@stdlib/number/float16/base/to-word/lib/main.js new file mode 100644 index 000000000000..91b372fac037 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/lib/main.js @@ -0,0 +1,187 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var NINF = require( '@stdlib/constants/float16/ninf' ); +var PINF = require( '@stdlib/constants/float16/pinf' ); +var isnan = require( '@stdlib/assert/is-nan' ); +var abs = require( '@stdlib/math/base/special/abs' ); +var exponent = require( '@stdlib/number/float64/base/exponent' ); +var isNegativeZero = require( '@stdlib/assert/is-negative-zero' ); +var toWords = require( '@stdlib/number/float64/base/to-words' ); + + +// MAIN // + +/** +* Returns an unsigned 16-bit integer corresponding to the IEEE 754 binary representation of a half-precision floating-point number. +* +* @param {number} x - half-precision floating-point number +* @returns {unsigned16} unsigned 16-bit integer +* +* @example +* var float64ToFloat16 = require( '@stdlib/number/float64/base/to-float16' ); +* +* var f16 = float64ToFloat16( 1.05 ); +* // returns 1.0498046875 +* +* var w = toWord( f16 ); // => 0 01111 0000110011 +* // returns 15411 +*/ +function toWord( x ) { + var mantissaHigh; + var mantissaLow; + var f64Exponent; + var f16Exponent; + var stickyBits; + var mantissa; + var roundBit; + var shift; + var sign; + var high; + var low; + var w; + + // Handle special cases + if ( isnan( x ) ) { // NaN + return 0x7E00; + } + if ( x === PINF ) { + return 0x7C00; // +Infinity + } + if ( x === NINF ) { + return 0xFC00; // -Infinity + } + if ( x === 0 ) { + if ( isNegativeZero( x ) ) { + return 0x8000; + } + return 0x0000; + } + + if ( x < 0 ) { + sign = 1; + } else { + sign = 0; + } + x = abs( x ); + + w = toWords( x ); + high = w[ 0 ]; // high 32 bits + low = w[ 1 ]; // low 32 bits + + mantissaHigh = high & 0xFFFFF; // 20 bits: mantissa[51:32] + mantissaLow = low; // 32 bits: mantissa[31:0] + + // Store unbiased exponent of a 64-bit floating-point number. + f64Exponent = exponent( x ); + + // Calculate exponent of a 16-bit floating-point number. + f16Exponent = f64Exponent + 15; + + // Handle overflow (infinity in float16) + if ( f16Exponent >= 31 ) { + if ( sign ) { + return 0xFC00; // -Infinity + } + return 0x7C00; // +Infinity + } + + // Handle underflow (subnormal or zero in float16) + if ( f16Exponent <= 0 ) { + // Check if the value is too small to be represented even as a subnormal float16 number: + if ( f16Exponent < -10 ) { + return sign << 15; // Return zero with the appropriate sign bit + } + + // Calculate the amount of right shift needed to denormalize the mantissa for subnormal representation: + shift = 1 - f16Exponent; + + // Create an 11-bit mantissa by adding the implicit leading 1 bit and extracting the top 10 bits from mantissaHigh: + mantissa = 0x400 | ( mantissaHigh >>> 10 ); + + // Determine the round bit and sticky bits based on the shift amount to apply correct rounding: + if ( shift < 11 ) { + // Extract the round bit at the position that will be truncated after the shift: + roundBit = ( mantissa >>> ( shift - 1 ) ) & 1; + + // Check if any bits below the round bit position are set (sticky bits): + stickyBits = ( mantissa & ( ( 1 << ( shift - 1 ) ) - 1 ) ) !== 0; + + // If no sticky bits found in the 11-bit mantissa, check the remaining bits from the original float64 mantissa: + if ( !stickyBits ) { + stickyBits = ( ( mantissaHigh & 0x3FF ) !== 0 ) || ( mantissaLow !== 0 ); // eslint-disable-line max-len + } + } else { + // When the shift is 11 or greater, the round bit comes from the lower bits of mantissaHigh: + roundBit = ( mantissaHigh >>> ( 10 - ( shift - 11 ) - 1 ) ) & 1; + + // Check if any bits below the round bit position in mantissaHigh or any bits in mantissaLow are set: + stickyBits = ( ( mantissaHigh & ( ( 1 << ( 10 - ( shift - 11 ) - 1 ) ) - 1 ) ) !== 0 ) || ( mantissaLow !== 0 ); // eslint-disable-line max-len + } + + // Apply the denormalization shift to the mantissa: + mantissa = mantissa >>> shift; + + // Round to nearest even + if ( roundBit && ( stickyBits || ( mantissa & 1 ) ) ) { + mantissa += 1; + } + + return ( sign << 15 ) | mantissa; + } + + // Extract the top 10 bits of the mantissa for normal float16 representation: + mantissa = mantissaHigh >>> 10; + + // Extract the round bit (the first bit that will be truncated): + roundBit = ( mantissaHigh >>> 9 ) & 1; + + // Check sticky bits (all bits below bit 41) + stickyBits = ( ( mantissaHigh & 0x1FF ) !== 0 ) || ( mantissaLow !== 0 ); + + // Round up if roundBit is 1 AND (sticky bits OR mantissa is odd) + if ( roundBit && ( stickyBits || ( mantissa & 1 ) ) ) { + mantissa += 1; + + // Check for mantissa overflow (carries into exponent) + if ( mantissa > 0x3FF ) { + f16Exponent += 1; + mantissa = 0; + + // Check for exponent overflow + if ( f16Exponent >= 31 ) { + if ( sign ) { + return 0xFC00; // -Infinity + } + return 0x7C00; // +Infinity + } + } + } + + // Combine sign (1 bit), exponent (5 bits), and mantissa (10 bits) + return ( sign << 15 ) | ( f16Exponent << 10 ) | mantissa; +} + + +// EXPORTS // + +module.exports = toWord; diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/package.json b/lib/node_modules/@stdlib/number/float16/base/to-word/package.json new file mode 100644 index 000000000000..0f7ab169e501 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/package.json @@ -0,0 +1,77 @@ +{ + "name": "@stdlib/number/float16/base/to-word", + "version": "0.0.0", + "description": "Return an unsigned 16-bit integer corresponding to the IEEE 754 binary representation of a half-precision floating-point number.", + "license": "Apache-2.0", + "author": { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + }, + "contributors": [ + { + "name": "The Stdlib Authors", + "url": "https://github.com/stdlib-js/stdlib/graphs/contributors" + } + ], + "main": "./lib", + "directories": { + "benchmark": "./benchmark", + "doc": "./docs", + "example": "./examples", + "lib": "./lib", + "test": "./test" + }, + "types": "./docs/types", + "scripts": {}, + "homepage": "https://github.com/stdlib-js/stdlib", + "repository": { + "type": "git", + "url": "git://github.com/stdlib-js/stdlib.git" + }, + "bugs": { + "url": "https://github.com/stdlib-js/stdlib/issues" + }, + "dependencies": {}, + "devDependencies": {}, + "engines": { + "node": ">=0.10.0", + "npm": ">2.7.0" + }, + "os": [ + "aix", + "darwin", + "freebsd", + "linux", + "macos", + "openbsd", + "sunos", + "win32", + "windows" + ], + "keywords": [ + "stdlib", + "stdtypes", + "base", + "utilities", + "utility", + "utils", + "util", + "types", + "type", + "convert", + "floating-point", + "float16", + "half", + "to", + "bits", + "uint16", + "word", + "unsigned", + "16-bit", + "integer", + "literal", + "number", + "binary", + "ieee754" + ] +} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/REQUIRE b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/REQUIRE new file mode 100644 index 000000000000..308c3be89c85 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/REQUIRE @@ -0,0 +1,2 @@ +julia 1.5 +JSON 0.21 diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_large.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_large.json new file mode 100644 index 000000000000..cad0163f34fb --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_large.json @@ -0,0 +1 @@ +{"expected":["1110001111010000","1110010001101000","1110010011101001","1110010101101001","1110010111101001","1110011001101001","1110011011101010","1110011101101010","1110011111101010","1110100000110101","1110100001110101","1110100010110101","1110100011110110","1110100100110110","1110100101110110","1110100110110110","1110100111110110","1110101000110110","1110101001110110","1110101010110110","1110101011110111","1110101100110111","1110101101110111","1110101110110111","1110101111110111","1110110000011100","1110110000111100","1110110001011100","1110110001111100","1110110010011100","1110110010111100","1110110011011100","1110110011111100","1110110100011100","1110110100111100","1110110101011100","1110110101111100","1110110110011100","1110110110111100","1110110111011101","1110110111111101","1110111000011101","1110111000111101","1110111001011101","1110111001111101","1110111010011101","1110111010111101","1110111011011101","1110111011111101","1110111100011101","1110111100111101","1110111101011101","1110111101111101","1110111110011101","1110111110111101","1110111111011110","1110111111111110","1111000000001111","1111000000011111","1111000000101111","1111000000111111","1111000001001111","1111000001011111","1111000001101111","1111000001111111","1111000010001111","1111000010011111","1111000010101111","1111000010111111","1111000011001111","1111000011011111","1111000011101111","1111000011111111","1111000100001111","1111000100011111","1111000100101111","1111000100111111","1111000101001111","1111000101100000","1111000101110000","1111000110000000","1111000110010000","1111000110100000","1111000110110000","1111000111000000","1111000111010000","1111000111100000","1111000111110000","1111001000000000","1111001000010000","1111001000100000","1111001000110000","1111001001000000","1111001001010000","1111001001100000","1111001001110000","1111001010000000","1111001010010000","1111001010100000","1111001010110000","1111001011000000","1111001011010000","1111001011100000","1111001011110000","1111001100000000","1111001100010000","1111001100100000","1111001100110000","1111001101000000","1111001101010000","1111001101100001","1111001101110001","1111001110000001","1111001110010001","1111001110100001","1111001110110001","1111001111000001","1111001111010001","1111001111100001","1111001111110001","1111010000000000","1111010000001000","1111010000010000","1111010000011000","1111010000100000","1111010000101001","1111010000110001","1111010000111001","1111010001000001","1111010001001001","1111010001010001","1111010001011001","1111010001100001","1111010001101001","1111010001110001","1111010001111001","1111010010000001","1111010010001001","1111010010010001","1111010010011001","1111010010100001","1111010010101001","1111010010110001","1111010010111001","1111010011000001","1111010011001001","1111010011010001","1111010011011001","1111010011100001","1111010011101001","1111010011110001","1111010011111001","1111010100000001","1111010100001001","1111010100010001","1111010100011001","1111010100100001","1111010100101001","1111010100110001","1111010100111001","1111010101000001","1111010101001001","1111010101010001","1111010101011001","1111010101100001","1111010101101001","1111010101110001","1111010101111001","1111010110000001","1111010110001001","1111010110010001","1111010110011001","1111010110100001","1111010110101001","1111010110110001","1111010110111001","1111010111000001","1111010111001001","1111010111010001","1111010111011001","1111010111100001","1111010111101001","1111010111110001","1111010111111001","1111011000000001","1111011000001001","1111011000010001","1111011000011001","1111011000100010","1111011000101010","1111011000110010","1111011000111010","1111011001000010","1111011001001010","1111011001010010","1111011001011010","1111011001100010","1111011001101010","1111011001110010","1111011001111010","1111011010000010","1111011010001010","1111011010010010","1111011010011010","1111011010100010","1111011010101010","1111011010110010","1111011010111010","1111011011000010","1111011011001010","1111011011010010","1111011011011010","1111011011100010","1111011011101010","1111011011110010","1111011011111010","1111011100000010","1111011100001010","1111011100010010","1111011100011010","1111011100100010","1111011100101010","1111011100110010","1111011100111010","1111011101000010","1111011101001010","1111011101010010","1111011101011010","1111011101100010","1111011101101010","1111011101110010","1111011101111010","1111011110000010","1111011110001010","1111011110010010","1111011110011010","1111011110100010","1111011110101010","1111011110110010","1111011110111010","1111011111000010","1111011111001010","1111011111010010","1111011111011010","1111011111100010","1111011111101010","1111011111110010","1111011111111010","1111100000000001","1111100000000101","1111100000001001","1111100000001101","1111100000010001","1111100000010101","1111100000011001","1111100000011101","1111100000100001","1111100000100101","1111100000101001","1111100000101101","1111100000110001","1111100000110101","1111100000111001","1111100000111101","1111100001000001","1111100001000101","1111100001001001","1111100001001101","1111100001010001","1111100001010101","1111100001011001","1111100001011101","1111100001100001","1111100001100101","1111100001101001","1111100001101101","1111100001110001","1111100001110101","1111100001111001","1111100001111101","1111100010000001","1111100010000110","1111100010001010","1111100010001110","1111100010010010","1111100010010110","1111100010011010","1111100010011110","1111100010100010","1111100010100110","1111100010101010","1111100010101110","1111100010110010","1111100010110110","1111100010111010","1111100010111110","1111100011000010","1111100011000110","1111100011001010","1111100011001110","1111100011010010","1111100011010110","1111100011011010","1111100011011110","1111100011100010","1111100011100110","1111100011101010","1111100011101110","1111100011110010","1111100011110110","1111100011111010","1111100011111110","1111100100000010","1111100100000110","1111100100001010","1111100100001110","1111100100010010","1111100100010110","1111100100011010","1111100100011110","1111100100100010","1111100100100110","1111100100101010","1111100100101110","1111100100110010","1111100100110110","1111100100111010","1111100100111110","1111100101000010","1111100101000110","1111100101001010","1111100101001110","1111100101010010","1111100101010110","1111100101011010","1111100101011110","1111100101100010","1111100101100110","1111100101101010","1111100101101110","1111100101110010","1111100101110110","1111100101111010","1111100101111110","1111100110000010","1111100110000110","1111100110001010","1111100110001110","1111100110010010","1111100110010110","1111100110011010","1111100110011110","1111100110100010","1111100110100110","1111100110101010","1111100110101110","1111100110110010","1111100110110110","1111100110111010","1111100110111110","1111100111000010","1111100111000110","1111100111001010","1111100111001110","1111100111010010","1111100111010110","1111100111011010","1111100111011110","1111100111100010","1111100111100110","1111100111101010","1111100111101110","1111100111110010","1111100111110110","1111100111111010","1111100111111110","1111101000000010","1111101000000110","1111101000001010","1111101000001110","1111101000010010","1111101000010110","1111101000011010","1111101000011110","1111101000100010","1111101000100110","1111101000101010","1111101000101110","1111101000110010","1111101000110110","1111101000111010","1111101000111110","1111101001000010","1111101001000110","1111101001001010","1111101001001110","1111101001010010","1111101001010110","1111101001011010","1111101001011110","1111101001100010","1111101001100110","1111101001101010","1111101001101110","1111101001110010","1111101001110110","1111101001111011","1111101001111111","1111101010000011","1111101010000111","1111101010001011","1111101010001111","1111101010010011","1111101010010111","1111101010011011","1111101010011111","1111101010100011","1111101010100111","1111101010101011","1111101010101111","1111101010110011","1111101010110111","1111101010111011","1111101010111111","1111101011000011","1111101011000111","1111101011001011","1111101011001111","1111101011010011","1111101011010111","1111101011011011","1111101011011111","1111101011100011","1111101011100111","1111101011101011","1111101011101111","1111101011110011","1111101011110111","1111101011111011","1111101011111111","1111101100000011","1111101100000111","1111101100001011","1111101100001111","1111101100010011","1111101100010111","1111101100011011","1111101100011111","1111101100100011","1111101100100111","1111101100101011","1111101100101111","1111101100110011","1111101100110111","1111101100111011","1111101100111111","1111101101000011","1111101101000111","1111101101001011","1111101101001111","1111101101010011","1111101101010111","1111101101011011","1111101101011111","1111101101100011","1111101101100111","1111101101101011","1111101101101111","1111101101110011","1111101101110111","1111101101111011","1111101101111111","1111101110000011","1111101110000111","1111101110001011","1111101110001111","1111101110010011","1111101110010111","1111101110011011","1111101110011111","1111101110100011","1111101110100111","1111101110101011","1111101110101111","1111101110110011","1111101110110111","1111101110111011","1111101110111111","1111101111000011","1111101111000111","1111101111001011","1111101111001111","1111101111010011","1111101111010111","1111101111011011","1111101111011111","1111101111100011","1111101111100111","1111101111101011","1111101111101111"],"x":[-1000.0,-1128.256513026052,-1256.5130260521041,-1384.7695390781564,-1513.0260521042085,-1641.2825651302605,-1769.5390781563126,-1897.7955911823647,-2026.0521042084167,-2154.308617234469,-2282.565130260521,-2410.8216432865734,-2539.078156312625,-2667.3346693386775,-2795.5911823647293,-2923.8476953907816,-3052.1042084168334,-3180.3607214428857,-3308.617234468938,-3436.87374749499,-3565.130260521042,-3693.386773547094,-3821.6432865731463,-3949.8997995991986,-4078.1563126252504,-4206.412825651302,-4334.669338677355,-4462.925851703407,-4591.182364729459,-4719.438877755511,-4847.695390781563,-4975.951903807615,-5104.208416833667,-5232.46492985972,-5360.7214428857715,-5488.977955911823,-5617.234468937876,-5745.490981963928,-5873.74749498998,-6002.0040080160325,-6130.260521042084,-6258.517034068136,-6386.773547094188,-6515.030060120241,-6643.2865731462925,-6771.543086172344,-6899.799599198397,-7028.056112224449,-7156.312625250501,-7284.5691382765535,-7412.825651302605,-7541.082164328657,-7669.338677354709,-7797.595190380762,-7925.851703406814,-8054.108216432865,-8182.364729458918,-8310.62124248497,-8438.877755511023,-8567.134268537075,-8695.390781563126,-8823.647294589178,-8951.90380761523,-9080.160320641282,-9208.416833667334,-9336.673346693387,-9464.92985971944,-9593.186372745491,-9721.442885771543,-9849.699398797595,-9977.955911823647,-10106.2124248497,-10234.468937875752,-10362.725450901804,-10490.981963927856,-10619.238476953908,-10747.49498997996,-10875.751503006011,-11004.008016032065,-11132.264529058117,-11260.521042084169,-11388.77755511022,-11517.034068136272,-11645.290581162324,-11773.547094188376,-11901.80360721443,-12030.060120240481,-12158.316633266533,-12286.573146292585,-12414.829659318637,-12543.086172344689,-12671.34268537074,-12799.599198396794,-12927.855711422846,-13056.112224448898,-13184.36873747495,-13312.625250501002,-13440.881763527053,-13569.138276553107,-13697.394789579159,-13825.65130260521,-13953.907815631263,-14082.164328657314,-14210.420841683366,-14338.677354709418,-14466.933867735472,-14595.190380761524,-14723.446893787575,-14851.703406813627,-14979.959919839679,-15108.21643286573,-15236.472945891783,-15364.729458917836,-15492.985971943888,-15621.24248496994,-15749.498997995992,-15877.755511022044,-16006.012024048096,-16134.268537074147,-16262.525050100201,-16390.781563126253,-16519.038076152305,-16647.294589178357,-16775.55110220441,-16903.80761523046,-17032.064128256512,-17160.320641282564,-17288.577154308616,-17416.833667334668,-17545.090180360723,-17673.346693386775,-17801.603206412827,-17929.85971943888,-18058.11623246493,-18186.372745490982,-18314.629258517034,-18442.885771543086,-18571.142284569138,-18699.39879759519,-18827.65531062124,-18955.911823647293,-19084.168336673345,-19212.4248496994,-19340.681362725452,-19468.937875751504,-19597.194388777556,-19725.450901803608,-19853.70741482966,-19981.96392785571,-20110.220440881763,-20238.476953907815,-20366.733466933867,-20494.98997995992,-20623.24649298597,-20751.503006012023,-20879.759519038074,-21008.01603206413,-21136.27254509018,-21264.529058116234,-21392.785571142285,-21521.042084168337,-21649.29859719439,-21777.55511022044,-21905.811623246493,-22034.068136272545,-22162.324649298596,-22290.581162324648,-22418.8376753507,-22547.094188376752,-22675.350701402807,-22803.60721442886,-22931.86372745491,-23060.120240480963,-23188.376753507015,-23316.633266533066,-23444.88977955912,-23573.14629258517,-23701.402805611222,-23829.659318637274,-23957.915831663326,-24086.172344689377,-24214.42885771543,-24342.68537074148,-24470.941883767537,-24599.19839679359,-24727.45490981964,-24855.711422845692,-24983.967935871744,-25112.224448897796,-25240.480961923848,-25368.7374749499,-25496.99398797595,-25625.250501002003,-25753.507014028055,-25881.763527054107,-26010.02004008016,-26138.276553106214,-26266.533066132266,-26394.789579158318,-26523.04609218437,-26651.30260521042,-26779.559118236473,-26907.815631262525,-27036.072144288577,-27164.32865731463,-27292.58517034068,-27420.841683366732,-27549.098196392784,-27677.354709418836,-27805.611222444888,-27933.867735470943,-28062.124248496995,-28190.380761523047,-28318.6372745491,-28446.89378757515,-28575.150300601203,-28703.406813627254,-28831.663326653306,-28959.919839679358,-29088.17635270541,-29216.43286573146,-29344.689378757514,-29472.945891783565,-29601.20240480962,-29729.458917835673,-29857.715430861725,-29985.971943887776,-30114.22845691383,-30242.48496993988,-30370.741482965932,-30498.997995991984,-30627.254509018036,-30755.511022044087,-30883.76753507014,-31012.02404809619,-31140.280561122243,-31268.537074148295,-31396.79358717435,-31525.050100200402,-31653.306613226454,-31781.563126252506,-31909.819639278558,-32038.07615230461,-32166.33266533066,-32294.589178356713,-32422.845691382765,-32551.102204408817,-32679.35871743487,-32807.61523046092,-32935.871743486976,-33064.128256513024,-33192.38476953908,-33320.64128256513,-33448.89779559118,-33577.15430861723,-33705.41082164329,-33833.667334669335,-33961.92384769539,-34090.180360721446,-34218.436873747494,-34346.69338677355,-34474.9498997996,-34603.20641282565,-34731.4629258517,-34859.71943887776,-34987.975951903805,-35116.23246492986,-35244.48897795591,-35372.745490981964,-35501.00200400801,-35629.25851703407,-35757.51503006012,-35885.77154308617,-36014.02805611223,-36142.284569138275,-36270.54108216433,-36398.79759519038,-36527.054108216435,-36655.31062124248,-36783.56713426854,-36911.82364729459,-37040.08016032064,-37168.33667334669,-37296.593186372746,-37424.8496993988,-37553.10621242485,-37681.362725450905,-37809.61923847695,-37937.87575150301,-38066.13226452906,-38194.38877755511,-38322.64529058116,-38450.901803607216,-38579.158316633264,-38707.41482965932,-38835.67134268537,-38963.92785571142,-39092.18436873748,-39220.44088176353,-39348.69739478958,-39476.95390781563,-39605.210420841686,-39733.466933867734,-39861.72344689379,-39989.97995991984,-40118.23647294589,-40246.49298597194,-40374.749498998,-40503.006012024045,-40631.2625250501,-40759.51903807615,-40887.775551102204,-41016.03206412826,-41144.28857715431,-41272.54509018036,-41400.80160320641,-41529.05811623247,-41657.314629258515,-41785.57114228457,-41913.82765531062,-42042.084168336674,-42170.34068136272,-42298.59719438878,-42426.853707414826,-42555.11022044088,-42683.36673346694,-42811.623246492985,-42939.87975951904,-43068.13627254509,-43196.392785571144,-43324.64929859719,-43452.90581162325,-43581.162324649296,-43709.41883767535,-43837.6753507014,-43965.931863727455,-44094.188376753504,-44222.44488977956,-44350.701402805615,-44478.95791583166,-44607.21442885772,-44735.47094188377,-44863.72745490982,-44991.98396793587,-45120.240480961926,-45248.496993987974,-45376.75350701403,-45505.01002004008,-45633.26653306613,-45761.52304609218,-45889.77955911824,-46018.03607214429,-46146.29258517034,-46274.549098196396,-46402.805611222444,-46531.0621242485,-46659.31863727455,-46787.5751503006,-46915.83166332665,-47044.08817635271,-47172.344689378755,-47300.60120240481,-47428.85771543086,-47557.114228456914,-47685.37074148296,-47813.62725450902,-47941.88376753507,-48070.14028056112,-48198.39679358718,-48326.653306613225,-48454.90981963928,-48583.16633266533,-48711.422845691384,-48839.67935871743,-48967.93587174349,-49096.192384769536,-49224.44889779559,-49352.70541082164,-49480.961923847695,-49609.21843687375,-49737.4749498998,-49865.731462925854,-49993.9879759519,-50122.24448897796,-50250.501002004006,-50378.75751503006,-50507.01402805611,-50635.270541082165,-50763.52705410821,-50891.78356713427,-51020.04008016032,-51148.29659318637,-51276.55310621243,-51404.80961923848,-51533.06613226453,-51661.32264529058,-51789.579158316636,-51917.835671342684,-52046.09218436874,-52174.34869739479,-52302.60521042084,-52430.86172344689,-52559.11823647295,-52687.374749498995,-52815.63126252505,-52943.887775551106,-53072.144288577154,-53200.40080160321,-53328.65731462926,-53456.91382765531,-53585.17034068136,-53713.42685370742,-53841.683366733465,-53969.93987975952,-54098.19639278557,-54226.452905811624,-54354.70941883767,-54482.96593186373,-54611.222444889776,-54739.47895791583,-54867.73547094189,-54995.991983967935,-55124.24849699399,-55252.50501002004,-55380.761523046094,-55509.01803607214,-55637.2745490982,-55765.531062124246,-55893.7875751503,-56022.04408817635,-56150.300601202405,-56278.55711422845,-56406.81362725451,-56535.070140280564,-56663.32665330661,-56791.58316633267,-56919.839679358716,-57048.09619238477,-57176.35270541082,-57304.609218436875,-57432.86573146292,-57561.12224448898,-57689.37875751503,-57817.63527054108,-57945.89178356713,-58074.14829659319,-58202.40480961924,-58330.66132264529,-58458.917835671346,-58587.174348697394,-58715.43086172345,-58843.6873747495,-58971.94388777555,-59100.2004008016,-59228.45691382766,-59356.713426853705,-59484.96993987976,-59613.22645290581,-59741.482965931864,-59869.73947895792,-59997.99599198397,-60126.25250501002,-60254.50901803607,-60382.76553106213,-60511.022044088175,-60639.27855711423,-60767.53507014028,-60895.791583166334,-61024.04809619238,-61152.30460921844,-61280.561122244486,-61408.81763527054,-61537.07414829659,-61665.330661322645,-61793.5871743487,-61921.84368737475,-62050.100200400804,-62178.35671342685,-62306.61322645291,-62434.869739478956,-62563.12625250501,-62691.38276553106,-62819.639278557115,-62947.89579158316,-63076.15230460922,-63204.40881763527,-63332.66533066132,-63460.92184368738,-63589.178356713426,-63717.43486973948,-63845.69138276553,-63973.947895791585,-64102.20440881763,-64230.46092184369,-64358.71743486974,-64486.97394789579,-64615.23046092184,-64743.486973947896,-64871.743486973945,-65000.0]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_normal.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_normal.json new file mode 100644 index 000000000000..6fcc737cb4fe --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_normal.json @@ -0,0 +1 @@ +{"expected":["1110001111010010","1110001111001110","1110001111001010","1110001111000110","1110001111000010","1110001110111110","1110001110111010","1110001110110110","1110001110110010","1110001110101110","1110001110101010","1110001110100110","1110001110100010","1110001110011110","1110001110011010","1110001110010110","1110001110010010","1110001110001110","1110001110001010","1110001110000110","1110001110000010","1110001101111110","1110001101111010","1110001101110110","1110001101110010","1110001101101110","1110001101101010","1110001101100110","1110001101100010","1110001101011110","1110001101011010","1110001101010110","1110001101010010","1110001101001110","1110001101001010","1110001101000110","1110001101000010","1110001100111110","1110001100111010","1110001100110110","1110001100110010","1110001100101110","1110001100101001","1110001100100101","1110001100100001","1110001100011101","1110001100011001","1110001100010101","1110001100010001","1110001100001101","1110001100001001","1110001100000101","1110001100000001","1110001011111101","1110001011111001","1110001011110101","1110001011110001","1110001011101101","1110001011101001","1110001011100101","1110001011100001","1110001011011101","1110001011011001","1110001011010101","1110001011010001","1110001011001101","1110001011001001","1110001011000101","1110001011000001","1110001010111101","1110001010111001","1110001010110101","1110001010110001","1110001010101101","1110001010101001","1110001010100101","1110001010100001","1110001010011101","1110001010011001","1110001010010101","1110001010010001","1110001010001101","1110001010001001","1110001010000101","1110001010000001","1110001001111101","1110001001111001","1110001001110101","1110001001110001","1110001001101101","1110001001101001","1110001001100101","1110001001100001","1110001001011101","1110001001011001","1110001001010101","1110001001010001","1110001001001101","1110001001001001","1110001001000101","1110001001000001","1110001000111101","1110001000111001","1110001000110101","1110001000110001","1110001000101101","1110001000101001","1110001000100101","1110001000100001","1110001000011101","1110001000011001","1110001000010101","1110001000010001","1110001000001101","1110001000001001","1110001000000101","1110001000000001","1110000111111101","1110000111111001","1110000111110101","1110000111110001","1110000111101101","1110000111101001","1110000111100101","1110000111100001","1110000111011100","1110000111011000","1110000111010100","1110000111010000","1110000111001100","1110000111001000","1110000111000100","1110000111000000","1110000110111100","1110000110111000","1110000110110100","1110000110110000","1110000110101100","1110000110101000","1110000110100100","1110000110100000","1110000110011100","1110000110011000","1110000110010100","1110000110010000","1110000110001100","1110000110001000","1110000110000100","1110000110000000","1110000101111100","1110000101111000","1110000101110100","1110000101110000","1110000101101100","1110000101101000","1110000101100100","1110000101100000","1110000101011100","1110000101011000","1110000101010100","1110000101010000","1110000101001100","1110000101001000","1110000101000100","1110000101000000","1110000100111100","1110000100111000","1110000100110100","1110000100110000","1110000100101100","1110000100101000","1110000100100100","1110000100100000","1110000100011100","1110000100011000","1110000100010100","1110000100010000","1110000100001100","1110000100001000","1110000100000100","1110000100000000","1110000011111100","1110000011111000","1110000011110100","1110000011110000","1110000011101100","1110000011101000","1110000011100100","1110000011100000","1110000011011100","1110000011011000","1110000011010100","1110000011010000","1110000011001100","1110000011001000","1110000011000100","1110000011000000","1110000010111100","1110000010111000","1110000010110100","1110000010110000","1110000010101100","1110000010101000","1110000010100100","1110000010100000","1110000010011100","1110000010011000","1110000010010100","1110000010001111","1110000010001011","1110000010000111","1110000010000011","1110000001111111","1110000001111011","1110000001110111","1110000001110011","1110000001101111","1110000001101011","1110000001100111","1110000001100011","1110000001011111","1110000001011011","1110000001010111","1110000001010011","1110000001001111","1110000001001011","1110000001000111","1110000001000011","1110000000111111","1110000000111011","1110000000110111","1110000000110011","1110000000101111","1110000000101011","1110000000100111","1110000000100011","1110000000011111","1110000000011011","1110000000010111","1110000000010011","1110000000001111","1110000000001011","1110000000000111","1110000000000011","1101111111111110","1101111111110110","1101111111101110","1101111111100110","1101111111011110","1101111111010110","1101111111001110","1101111111000110","1101111110111110","1101111110110110","1101111110101110","1101111110100110","1101111110011110","1101111110010110","1101111110001110","1101111110000110","1101111101111110","1101111101110110","1101111101101110","1101111101100110","1101111101011110","1101111101010110","1101111101001110","1101111101000110","1101111100111110","1101111100110110","1101111100101110","1101111100100101","1101111100011101","1101111100010101","1101111100001101","1101111100000101","1101111011111101","1101111011110101","1101111011101101","1101111011100101","1101111011011101","1101111011010101","1101111011001101","1101111011000101","1101111010111101","1101111010110101","1101111010101101","1101111010100101","1101111010011101","1101111010010101","1101111010001101","1101111010000101","1101111001111101","1101111001110101","1101111001101101","1101111001100101","1101111001011101","1101111001010101","1101111001001101","1101111001000101","1101111000111101","1101111000110101","1101111000101101","1101111000100101","1101111000011101","1101111000010101","1101111000001101","1101111000000101","1101110111111101","1101110111110101","1101110111101101","1101110111100101","1101110111011100","1101110111010100","1101110111001100","1101110111000100","1101110110111100","1101110110110100","1101110110101100","1101110110100100","1101110110011100","1101110110010100","1101110110001100","1101110110000100","1101110101111100","1101110101110100","1101110101101100","1101110101100100","1101110101011100","1101110101010100","1101110101001100","1101110101000100","1101110100111100","1101110100110100","1101110100101100","1101110100100100","1101110100011100","1101110100010100","1101110100001100","1101110100000100","1101110011111100","1101110011110100","1101110011101100","1101110011100100","1101110011011100","1101110011010100","1101110011001100","1101110011000100","1101110010111100","1101110010110100","1101110010101100","1101110010100100","1101110010011100","1101110010010100","1101110010001011","1101110010000011","1101110001111011","1101110001110011","1101110001101011","1101110001100011","1101110001011011","1101110001010011","1101110001001011","1101110001000011","1101110000111011","1101110000110011","1101110000101011","1101110000100011","1101110000011011","1101110000010011","1101110000001011","1101110000000011","1101101111110110","1101101111100110","1101101111010110","1101101111000110","1101101110110110","1101101110100110","1101101110010110","1101101110000110","1101101101110110","1101101101100110","1101101101010110","1101101101000110","1101101100110110","1101101100100101","1101101100010101","1101101100000101","1101101011110101","1101101011100101","1101101011010101","1101101011000101","1101101010110101","1101101010100101","1101101010010101","1101101010000101","1101101001110101","1101101001100101","1101101001010101","1101101001000101","1101101000110101","1101101000100101","1101101000010101","1101101000000101","1101100111110101","1101100111100101","1101100111010100","1101100111000100","1101100110110100","1101100110100100","1101100110010100","1101100110000100","1101100101110100","1101100101100100","1101100101010100","1101100101000100","1101100100110100","1101100100100100","1101100100010100","1101100100000100","1101100011110100","1101100011100100","1101100011010100","1101100011000100","1101100010110100","1101100010100100","1101100010010100","1101100010000011","1101100001110011","1101100001100011","1101100001010011","1101100001000011","1101100000110011","1101100000100011","1101100000010011","1101100000000011","1101011111100110","1101011111000110","1101011110100110","1101011110000110","1101011101100110","1101011101000110","1101011100100101","1101011100000101","1101011011100101","1101011011000101","1101011010100101","1101011010000101","1101011001100101","1101011001000101","1101011000100101","1101011000000101","1101010111100101","1101010111000100","1101010110100100","1101010110000100","1101010101100100","1101010101000100","1101010100100100","1101010100000100","1101010011100100","1101010011000100","1101010010100100","1101010010000011","1101010001100011","1101010001000011","1101010000100011","1101010000000011","1101001111000110","1101001110000110","1101001101000110","1101001100000101","1101001011000101","1101001010000101","1101001001000101","1101001000000101","1101000111000100","1101000110000100","1101000101000100","1101000100000100","1101000011000100","1101000010000011","1101000001000011","1101000000000011","1100111110000110","1100111100000101","1100111010000101","1100111000000101","1100110110000100","1100110100000100","1100110010000011","1100110000000011","1100101100000101","1100101000000101","1100100100000100","1100100000000011","1100011000000101","1100010000000011","1100000000000011","0000000000000000"],"x":[-1001.0,-998.9939879759519,-996.9879759519038,-994.9819639278558,-992.9759519038076,-990.9699398797595,-988.9639278557114,-986.9579158316633,-984.9519038076153,-982.9458917835672,-980.939879759519,-978.9338677354709,-976.9278557114228,-974.9218436873748,-972.9158316633267,-970.9098196392786,-968.9038076152304,-966.8977955911823,-964.8917835671342,-962.8857715430862,-960.8797595190381,-958.87374749499,-956.8677354709419,-954.8617234468937,-952.8557114228457,-950.8496993987976,-948.8436873747495,-946.8376753507014,-944.8316633266533,-942.8256513026053,-940.8196392785571,-938.813627254509,-936.8076152304609,-934.8016032064128,-932.7955911823648,-930.7895791583167,-928.7835671342685,-926.7775551102204,-924.7715430861723,-922.7655310621243,-920.7595190380762,-918.7535070140281,-916.7474949899799,-914.7414829659318,-912.7354709418838,-910.7294589178357,-908.7234468937876,-906.7174348697395,-904.7114228456913,-902.7054108216433,-900.6993987975952,-898.6933867735471,-896.687374749499,-894.6813627254509,-892.6753507014027,-890.6693386773547,-888.6633266533066,-886.6573146292585,-884.6513026052104,-882.6452905811623,-880.6392785571143,-878.6332665330661,-876.627254509018,-874.6212424849699,-872.6152304609218,-870.6092184368738,-868.6032064128257,-866.5971943887776,-864.5911823647294,-862.5851703406813,-860.5791583166333,-858.5731462925852,-856.5671342685371,-854.561122244489,-852.5551102204408,-850.5490981963928,-848.5430861723447,-846.5370741482966,-844.5310621242485,-842.5250501002004,-840.5190380761524,-838.5130260521042,-836.5070140280561,-834.501002004008,-832.4949899799599,-830.4889779559119,-828.4829659318638,-826.4769539078156,-824.4709418837675,-822.4649298597194,-820.4589178356713,-818.4529058116233,-816.4468937875752,-814.440881763527,-812.4348697394789,-810.4288577154308,-808.4228456913828,-806.4168336673347,-804.4108216432866,-802.4048096192384,-800.3987975951903,-798.3927855711423,-796.3867735470942,-794.3807615230461,-792.374749498998,-790.3687374749499,-788.3627254509018,-786.3567134268537,-784.3507014028056,-782.3446893787575,-780.3386773547094,-778.3326653306614,-776.3266533066133,-774.3206412825651,-772.314629258517,-770.3086172344689,-768.3026052104209,-766.2965931863728,-764.2905811623247,-762.2845691382765,-760.2785571142284,-758.2725450901804,-756.2665330661323,-754.2605210420842,-752.2545090180361,-750.2484969939879,-748.2424849699398,-746.2364729458918,-744.2304609218437,-742.2244488977956,-740.2184368737475,-738.2124248496993,-736.2064128256513,-734.2004008016032,-732.1943887775551,-730.188376753507,-728.1823647294589,-726.1763527054109,-724.1703406813627,-722.1643286573146,-720.1583166332665,-718.1523046092184,-716.1462925851704,-714.1402805611223,-712.1342685370741,-710.128256513026,-708.1222444889779,-706.1162324649299,-704.1102204408818,-702.1042084168337,-700.0981963927856,-698.0921843687374,-696.0861723446894,-694.0801603206413,-692.0741482965932,-690.0681362725451,-688.062124248497,-686.056112224449,-684.0501002004008,-682.0440881763527,-680.0380761523046,-678.0320641282565,-676.0260521042084,-674.0200400801604,-672.0140280561122,-670.0080160320641,-668.002004008016,-665.9959919839679,-663.9899799599199,-661.9839679358718,-659.9779559118236,-657.9719438877755,-655.9659318637274,-653.9599198396794,-651.9539078156313,-649.9478957915832,-647.941883767535,-645.9358717434869,-643.9298597194389,-641.9238476953908,-639.9178356713427,-637.9118236472946,-635.9058116232464,-633.8997995991984,-631.8937875751503,-629.8877755511022,-627.8817635270541,-625.875751503006,-623.869739478958,-621.8637274549098,-619.8577154308617,-617.8517034068136,-615.8456913827655,-613.8396793587175,-611.8336673346694,-609.8276553106213,-607.8216432865731,-605.815631262525,-603.8096192384769,-601.8036072144289,-599.7975951903808,-597.7915831663327,-595.7855711422845,-593.7795591182364,-591.7735470941884,-589.7675350701403,-587.7615230460922,-585.7555110220441,-583.7494989979959,-581.7434869739479,-579.7374749498998,-577.7314629258517,-575.7254509018036,-573.7194388777555,-571.7134268537075,-569.7074148296593,-567.7014028056112,-565.6953907815631,-563.689378757515,-561.683366733467,-559.6773547094189,-557.6713426853707,-555.6653306613226,-553.6593186372745,-551.6533066132265,-549.6472945891784,-547.6412825651303,-545.6352705410821,-543.629258517034,-541.623246492986,-539.6172344689379,-537.6112224448898,-535.6052104208417,-533.5991983967936,-531.5931863727454,-529.5871743486974,-527.5811623246493,-525.5751503006012,-523.5691382765531,-521.563126252505,-519.557114228457,-517.5511022044088,-515.5450901803607,-513.5390781563126,-511.53306613226454,-509.5270541082164,-507.52104208416836,-505.51503006012024,-503.5090180360721,-501.50300601202406,-499.49699398797594,-497.4909819639279,-495.48496993987976,-493.47895791583164,-491.4729458917836,-489.46693386773546,-487.4609218436874,-485.4549098196393,-483.44889779559117,-481.4428857715431,-479.436873747495,-477.43086172344687,-475.4248496993988,-473.4188376753507,-471.4128256513026,-469.4068136272545,-467.4008016032064,-465.3947895791583,-463.3887775551102,-461.38276553106215,-459.37675350701403,-457.3707414829659,-455.36472945891785,-453.35871743486973,-451.35270541082167,-449.34669338677355,-447.34068136272543,-445.3346693386774,-443.32865731462925,-441.32264529058114,-439.3166332665331,-437.31062124248496,-435.3046092184369,-433.2985971943888,-431.29258517034066,-429.2865731462926,-427.2805611222445,-425.2745490981964,-423.2685370741483,-421.2625250501002,-419.2565130260521,-417.250501002004,-415.24448897795594,-413.2384769539078,-411.2324649298597,-409.22645290581164,-407.2204408817635,-405.2144288577154,-403.20841683366734,-401.2024048096192,-399.19639278557116,-397.19038076152304,-395.1843687374749,-393.17835671342687,-391.17234468937875,-389.1663326653307,-387.16032064128257,-385.15430861723445,-383.1482965931864,-381.14228456913827,-379.1362725450902,-377.1302605210421,-375.12424849699397,-373.1182364729459,-371.1122244488978,-369.1062124248497,-367.1002004008016,-365.0941883767535,-363.08817635270543,-361.0821643286573,-359.0761523046092,-357.07014028056113,-355.064128256513,-353.05811623246495,-351.05210420841684,-349.0460921843687,-347.04008016032066,-345.03406813627254,-343.0280561122245,-341.02204408817636,-339.01603206412824,-337.0100200400802,-335.00400801603206,-332.99799599198394,-330.9919839679359,-328.98597194388776,-326.9799599198397,-324.9739478957916,-322.96793587174346,-320.9619238476954,-318.9559118236473,-316.9498997995992,-314.9438877755511,-312.937875751503,-310.9318637274549,-308.9258517034068,-306.91983967935874,-304.9138276553106,-302.9078156312625,-300.90180360721445,-298.89579158316633,-296.8897795591182,-294.88376753507015,-292.87775551102203,-290.87174348697397,-288.86573146292585,-286.85971943887773,-284.85370741482967,-282.84769539078155,-280.8416833667335,-278.8356713426854,-276.82965931863725,-274.8236472945892,-272.8176352705411,-270.811623246493,-268.8056112224449,-266.7995991983968,-264.7935871743487,-262.7875751503006,-260.7815631262525,-258.7755511022044,-256.7695390781563,-254.7635270541082,-252.75751503006012,-250.75150300601203,-248.74549098196394,-246.73947895791582,-244.73346693386773,-242.72745490981964,-240.72144288577155,-238.71543086172343,-236.70941883767534,-234.70340681362725,-232.69739478957916,-230.69138276553107,-228.68537074148296,-226.67935871743487,-224.67334669338678,-222.6673346693387,-220.66132264529057,-218.65531062124248,-216.6492985971944,-214.6432865731463,-212.6372745490982,-210.6312625250501,-208.625250501002,-206.6192384769539,-204.61322645290582,-202.6072144288577,-200.6012024048096,-198.59519038076152,-196.58917835671343,-194.58316633266534,-192.57715430861722,-190.57114228456913,-188.56513026052104,-186.55911823647295,-184.55310621242484,-182.54709418837675,-180.54108216432866,-178.53507014028057,-176.52905811623248,-174.52304609218436,-172.51703406813627,-170.51102204408818,-168.5050100200401,-166.49899799599197,-164.49298597194388,-162.4869739478958,-160.4809619238477,-158.4749498997996,-156.4689378757515,-154.4629258517034,-152.4569138276553,-150.45090180360722,-148.4448897795591,-146.43887775551102,-144.43286573146293,-142.42685370741484,-140.42084168336675,-138.41482965931863,-136.40881763527054,-134.40280561122245,-132.39679358717436,-130.39078156312624,-128.38476953907815,-126.37875751503006,-124.37274549098197,-122.36673346693387,-120.36072144288578,-118.35470941883767,-116.34869739478958,-114.34268537074148,-112.33667334669339,-110.33066132264528,-108.3246492985972,-106.3186372745491,-104.312625250501,-102.30661322645291,-100.3006012024048,-98.29458917835672,-96.28857715430861,-94.28256513026052,-92.27655310621242,-90.27054108216433,-88.26452905811624,-86.25851703406813,-84.25250501002004,-82.24649298597194,-80.24048096192385,-78.23446893787575,-76.22845691382766,-74.22244488977955,-72.21643286573146,-70.21042084168337,-68.20440881763527,-66.19839679358718,-64.19238476953907,-62.186372745490985,-60.18036072144289,-58.17434869739479,-56.168336673346694,-54.1623246492986,-52.1563126252505,-50.1503006012024,-48.144288577154306,-46.13827655310621,-44.13226452905812,-42.12625250501002,-40.120240480961925,-38.11422845691383,-36.10821643286573,-34.102204408817634,-32.09619238476954,-30.090180360721444,-28.084168336673347,-26.07815631262525,-24.072144288577153,-22.06613226452906,-20.060120240480963,-18.054108216432866,-16.04809619238477,-14.042084168336673,-12.036072144288577,-10.030060120240481,-8.024048096192384,-6.018036072144288,-4.012024048096192,-2.006012024048096,0.0]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_small.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_small.json new file mode 100644 index 000000000000..98b907546c37 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_small.json @@ -0,0 +1 @@ +{"expected":["1011110000000000","1011101111111100","1011101111111000","1011101111110100","1011101111110000","1011101111101011","1011101111100111","1011101111100011","1011101111011111","1011101111011011","1011101111010111","1011101111010011","1011101111001111","1011101111001011","1011101111000111","1011101111000010","1011101110111110","1011101110111010","1011101110110110","1011101110110010","1011101110101110","1011101110101010","1011101110100110","1011101110100010","1011101110011101","1011101110011001","1011101110010101","1011101110010001","1011101110001101","1011101110001001","1011101110000101","1011101110000001","1011101101111101","1011101101111001","1011101101110100","1011101101110000","1011101101101100","1011101101101000","1011101101100100","1011101101100000","1011101101011100","1011101101011000","1011101101010100","1011101101010000","1011101101001011","1011101101000111","1011101101000011","1011101100111111","1011101100111011","1011101100110111","1011101100110011","1011101100101111","1011101100101011","1011101100100110","1011101100100010","1011101100011110","1011101100011010","1011101100010110","1011101100010010","1011101100001110","1011101100001010","1011101100000110","1011101100000010","1011101011111101","1011101011111001","1011101011110101","1011101011110001","1011101011101101","1011101011101001","1011101011100101","1011101011100001","1011101011011101","1011101011011000","1011101011010100","1011101011010000","1011101011001100","1011101011001000","1011101011000100","1011101011000000","1011101010111100","1011101010111000","1011101010110100","1011101010101111","1011101010101011","1011101010100111","1011101010100011","1011101010011111","1011101010011011","1011101010010111","1011101010010011","1011101010001111","1011101010001011","1011101010000110","1011101010000010","1011101001111110","1011101001111010","1011101001110110","1011101001110010","1011101001101110","1011101001101010","1011101001100110","1011101001100001","1011101001011101","1011101001011001","1011101001010101","1011101001010001","1011101001001101","1011101001001001","1011101001000101","1011101001000001","1011101000111101","1011101000111000","1011101000110100","1011101000110000","1011101000101100","1011101000101000","1011101000100100","1011101000100000","1011101000011100","1011101000011000","1011101000010011","1011101000001111","1011101000001011","1011101000000111","1011101000000011","1011100111111111","1011100111111011","1011100111110111","1011100111110011","1011100111101111","1011100111101010","1011100111100110","1011100111100010","1011100111011110","1011100111011010","1011100111010110","1011100111010010","1011100111001110","1011100111001010","1011100111000110","1011100111000001","1011100110111101","1011100110111001","1011100110110101","1011100110110001","1011100110101101","1011100110101001","1011100110100101","1011100110100001","1011100110011100","1011100110011000","1011100110010100","1011100110010000","1011100110001100","1011100110001000","1011100110000100","1011100110000000","1011100101111100","1011100101111000","1011100101110011","1011100101101111","1011100101101011","1011100101100111","1011100101100011","1011100101011111","1011100101011011","1011100101010111","1011100101010011","1011100101001110","1011100101001010","1011100101000110","1011100101000010","1011100100111110","1011100100111010","1011100100110110","1011100100110010","1011100100101110","1011100100101010","1011100100100101","1011100100100001","1011100100011101","1011100100011001","1011100100010101","1011100100010001","1011100100001101","1011100100001001","1011100100000101","1011100100000001","1011100011111100","1011100011111000","1011100011110100","1011100011110000","1011100011101100","1011100011101000","1011100011100100","1011100011100000","1011100011011100","1011100011010111","1011100011010011","1011100011001111","1011100011001011","1011100011000111","1011100011000011","1011100010111111","1011100010111011","1011100010110111","1011100010110011","1011100010101110","1011100010101010","1011100010100110","1011100010100010","1011100010011110","1011100010011010","1011100010010110","1011100010010010","1011100010001110","1011100010001001","1011100010000101","1011100010000001","1011100001111101","1011100001111001","1011100001110101","1011100001110001","1011100001101101","1011100001101001","1011100001100101","1011100001100000","1011100001011100","1011100001011000","1011100001010100","1011100001010000","1011100001001100","1011100001001000","1011100001000100","1011100001000000","1011100000111100","1011100000110111","1011100000110011","1011100000101111","1011100000101011","1011100000100111","1011100000100011","1011100000011111","1011100000011011","1011100000010111","1011100000010010","1011100000001110","1011100000001010","1011100000000110","1011100000000010","1011011111111100","1011011111110100","1011011111101011","1011011111100011","1011011111011011","1011011111010011","1011011111001011","1011011111000010","1011011110111010","1011011110110010","1011011110101010","1011011110100010","1011011110011001","1011011110010001","1011011110001001","1011011110000001","1011011101111001","1011011101110000","1011011101101000","1011011101100000","1011011101011000","1011011101010000","1011011101000111","1011011100111111","1011011100110111","1011011100101111","1011011100100110","1011011100011110","1011011100010110","1011011100001110","1011011100000110","1011011011111101","1011011011110101","1011011011101101","1011011011100101","1011011011011101","1011011011010100","1011011011001100","1011011011000100","1011011010111100","1011011010110100","1011011010101011","1011011010100011","1011011010011011","1011011010010011","1011011010001011","1011011010000010","1011011001111010","1011011001110010","1011011001101010","1011011001100001","1011011001011001","1011011001010001","1011011001001001","1011011001000001","1011011000111000","1011011000110000","1011011000101000","1011011000100000","1011011000011000","1011011000001111","1011011000000111","1011010111111111","1011010111110111","1011010111101111","1011010111100110","1011010111011110","1011010111010110","1011010111001110","1011010111000110","1011010110111101","1011010110110101","1011010110101101","1011010110100101","1011010110011100","1011010110010100","1011010110001100","1011010110000100","1011010101111100","1011010101110011","1011010101101011","1011010101100011","1011010101011011","1011010101010011","1011010101001010","1011010101000010","1011010100111010","1011010100110010","1011010100101010","1011010100100001","1011010100011001","1011010100010001","1011010100001001","1011010100000001","1011010011111000","1011010011110000","1011010011101000","1011010011100000","1011010011010111","1011010011001111","1011010011000111","1011010010111111","1011010010110111","1011010010101110","1011010010100110","1011010010011110","1011010010010110","1011010010001110","1011010010000101","1011010001111101","1011010001110101","1011010001101101","1011010001100101","1011010001011100","1011010001010100","1011010001001100","1011010001000100","1011010000111100","1011010000110011","1011010000101011","1011010000100011","1011010000011011","1011010000010010","1011010000001010","1011010000000010","1011001111110100","1011001111100011","1011001111010011","1011001111000010","1011001110110010","1011001110100010","1011001110010001","1011001110000001","1011001101110000","1011001101100000","1011001101010000","1011001100111111","1011001100101111","1011001100011110","1011001100001110","1011001011111101","1011001011101101","1011001011011101","1011001011001100","1011001010111100","1011001010101011","1011001010011011","1011001010001011","1011001001111010","1011001001101010","1011001001011001","1011001001001001","1011001000111000","1011001000101000","1011001000011000","1011001000000111","1011000111110111","1011000111100110","1011000111010110","1011000111000110","1011000110110101","1011000110100101","1011000110010100","1011000110000100","1011000101110011","1011000101100011","1011000101010011","1011000101000010","1011000100110010","1011000100100001","1011000100010001","1011000100000001","1011000011110000","1011000011100000","1011000011001111","1011000010111111","1011000010101110","1011000010011110","1011000010001110","1011000001111101","1011000001101101","1011000001011100","1011000001001100","1011000000111100","1011000000101011","1011000000011011","1011000000001010","1010111111110100","1010111111010011","1010111110110010","1010111110010001","1010111101110000","1010111101010000","1010111100101111","1010111100001110","1010111011101101","1010111011001100","1010111010101011","1010111010001011","1010111001101010","1010111001001001","1010111000101000","1010111000000111","1010110111100110","1010110111000110","1010110110100101","1010110110000100","1010110101100011","1010110101000010","1010110100100001","1010110100000001","1010110011100000","1010110010111111","1010110010011110","1010110001111101","1010110001011100","1010110000111100","1010110000011011","1010101111110100","1010101110110010","1010101101110000","1010101100101111","1010101011101101","1010101010101011","1010101001101010","1010101000101000","1010100111100110","1010100110100101","1010100101100011","1010100100100001","1010100011100000","1010100010011110","1010100001011100","1010100000011011","1010011110110010","1010011100101111","1010011010101011","1010011000101000","1010010110100101","1010010100100001","1010010010011110","1010010000011011","1010001100101111","1010001000101000","1010000100100001","1010000000011011","1001111000101000","1001110000011011","1001100000011011","0000000000000000"],"x":[-1.0,-0.9979959919839679,-0.9959919839679359,-0.9939879759519038,-0.9919839679358717,-0.9899799599198397,-0.9879759519038076,-0.9859719438877755,-0.9839679358717435,-0.9819639278557114,-0.9799599198396793,-0.9779559118236473,-0.9759519038076152,-0.9739478957915831,-0.9719438877755511,-0.969939879759519,-0.9679358717434869,-0.9659318637274549,-0.9639278557114228,-0.9619238476953907,-0.9599198396793587,-0.9579158316633266,-0.9559118236472945,-0.9539078156312625,-0.9519038076152304,-0.9498997995991983,-0.9478957915831663,-0.9458917835671342,-0.9438877755511023,-0.9418837675350702,-0.9398797595190381,-0.9378757515030061,-0.935871743486974,-0.9338677354709419,-0.9318637274549099,-0.9298597194388778,-0.9278557114228457,-0.9258517034068137,-0.9238476953907816,-0.9218436873747495,-0.9198396793587175,-0.9178356713426854,-0.9158316633266533,-0.9138276553106213,-0.9118236472945892,-0.9098196392785571,-0.9078156312625251,-0.905811623246493,-0.9038076152304609,-0.9018036072144289,-0.8997995991983968,-0.8977955911823647,-0.8957915831663327,-0.8937875751503006,-0.8917835671342685,-0.8897795591182365,-0.8877755511022044,-0.8857715430861723,-0.8837675350701403,-0.8817635270541082,-0.8797595190380761,-0.8777555110220441,-0.875751503006012,-0.87374749498998,-0.8717434869739479,-0.8697394789579158,-0.8677354709418837,-0.8657314629258517,-0.8637274549098196,-0.8617234468937875,-0.8597194388777555,-0.8577154308617234,-0.8557114228456913,-0.8537074148296593,-0.8517034068136272,-0.8496993987975952,-0.8476953907815631,-0.845691382765531,-0.843687374749499,-0.8416833667334669,-0.8396793587174348,-0.8376753507014028,-0.8356713426853707,-0.8336673346693386,-0.8316633266533067,-0.8296593186372746,-0.8276553106212425,-0.8256513026052105,-0.8236472945891784,-0.8216432865731463,-0.8196392785571143,-0.8176352705410822,-0.8156312625250501,-0.8136272545090181,-0.811623246492986,-0.8096192384769539,-0.8076152304609219,-0.8056112224448898,-0.8036072144288577,-0.8016032064128257,-0.7995991983967936,-0.7975951903807615,-0.7955911823647295,-0.7935871743486974,-0.7915831663326653,-0.7895791583166333,-0.7875751503006012,-0.7855711422845691,-0.7835671342685371,-0.781563126252505,-0.779559118236473,-0.7775551102204409,-0.7755511022044088,-0.7735470941883767,-0.7715430861723447,-0.7695390781563126,-0.7675350701402806,-0.7655310621242485,-0.7635270541082164,-0.7615230460921844,-0.7595190380761523,-0.7575150300601202,-0.7555110220440882,-0.7535070140280561,-0.751503006012024,-0.749498997995992,-0.7474949899799599,-0.7454909819639278,-0.7434869739478958,-0.7414829659318637,-0.7394789579158316,-0.7374749498997996,-0.7354709418837675,-0.7334669338677354,-0.7314629258517034,-0.7294589178356713,-0.7274549098196392,-0.7254509018036072,-0.7234468937875751,-0.7214428857715431,-0.7194388777555111,-0.717434869739479,-0.7154308617234469,-0.7134268537074149,-0.7114228456913828,-0.7094188376753507,-0.7074148296593187,-0.7054108216432866,-0.7034068136272545,-0.7014028056112225,-0.6993987975951904,-0.6973947895791583,-0.6953907815631263,-0.6933867735470942,-0.6913827655310621,-0.6893787575150301,-0.687374749498998,-0.685370741482966,-0.6833667334669339,-0.6813627254509018,-0.6793587174348698,-0.6773547094188377,-0.6753507014028056,-0.6733466933867736,-0.6713426853707415,-0.6693386773547094,-0.6673346693386774,-0.6653306613226453,-0.6633266533066132,-0.6613226452905812,-0.6593186372745491,-0.657314629258517,-0.655310621242485,-0.6533066132264529,-0.6513026052104208,-0.6492985971943888,-0.6472945891783567,-0.6452905811623246,-0.6432865731462926,-0.6412825651302605,-0.6392785571142284,-0.6372745490981964,-0.6352705410821643,-0.6332665330661322,-0.6312625250501002,-0.6292585170340681,-0.627254509018036,-0.625250501002004,-0.6232464929859719,-0.6212424849699398,-0.6192384769539078,-0.6172344689378757,-0.6152304609218436,-0.6132264529058116,-0.6112224448897795,-0.6092184368737475,-0.6072144288577155,-0.6052104208416834,-0.6032064128256514,-0.6012024048096193,-0.5991983967935872,-0.5971943887775552,-0.5951903807615231,-0.593186372745491,-0.591182364729459,-0.5891783567134269,-0.5871743486973948,-0.5851703406813628,-0.5831663326653307,-0.5811623246492986,-0.5791583166332666,-0.5771543086172345,-0.5751503006012024,-0.5731462925851704,-0.5711422845691383,-0.5691382765531062,-0.5671342685370742,-0.5651302605210421,-0.56312625250501,-0.561122244488978,-0.5591182364729459,-0.5571142284569138,-0.5551102204408818,-0.5531062124248497,-0.5511022044088176,-0.5490981963927856,-0.5470941883767535,-0.5450901803607214,-0.5430861723446894,-0.5410821643286573,-0.5390781563126252,-0.5370741482965932,-0.5350701402805611,-0.533066132264529,-0.531062124248497,-0.5290581162324649,-0.5270541082164328,-0.5250501002004008,-0.5230460921843687,-0.5210420841683366,-0.5190380761523046,-0.5170340681362725,-0.5150300601202404,-0.5130260521042084,-0.5110220440881763,-0.5090180360721442,-0.5070140280561122,-0.5050100200400801,-0.503006012024048,-0.501002004008016,-0.49899799599198397,-0.4969939879759519,-0.49498997995991983,-0.49298597194388777,-0.4909819639278557,-0.48897795591182364,-0.48697394789579157,-0.4849699398797595,-0.48296593186372744,-0.48096192384769537,-0.4789579158316633,-0.47695390781563124,-0.4749498997995992,-0.4729458917835671,-0.4709418837675351,-0.46893787575150303,-0.46693386773547096,-0.4649298597194389,-0.46292585170340683,-0.46092184368737477,-0.4589178356713427,-0.45691382765531063,-0.45490981963927857,-0.4529058116232465,-0.45090180360721444,-0.44889779559118237,-0.4468937875751503,-0.44488977955911824,-0.44288577154308617,-0.4408817635270541,-0.43887775551102204,-0.43687374749499,-0.4348697394789579,-0.43286573146292584,-0.4308617234468938,-0.4288577154308617,-0.42685370741482964,-0.4248496993987976,-0.4228456913827655,-0.42084168336673344,-0.4188376753507014,-0.4168336673346693,-0.4148296593186373,-0.41282565130260523,-0.41082164328657317,-0.4088176352705411,-0.40681362725450904,-0.40480961923847697,-0.4028056112224449,-0.40080160320641284,-0.39879759519038077,-0.3967935871743487,-0.39478957915831664,-0.3927855711422846,-0.3907815631262525,-0.38877755511022044,-0.3867735470941884,-0.3847695390781563,-0.38276553106212424,-0.3807615230460922,-0.3787575150300601,-0.37675350701402804,-0.374749498997996,-0.3727454909819639,-0.37074148296593185,-0.3687374749498998,-0.3667334669338677,-0.36472945891783565,-0.3627254509018036,-0.36072144288577157,-0.3587174348697395,-0.35671342685370744,-0.35470941883767537,-0.3527054108216433,-0.35070140280561124,-0.3486973947895792,-0.3466933867735471,-0.34468937875751504,-0.342685370741483,-0.3406813627254509,-0.33867735470941884,-0.3366733466933868,-0.3346693386773547,-0.33266533066132264,-0.3306613226452906,-0.3286573146292585,-0.32665330661322645,-0.3246492985971944,-0.3226452905811623,-0.32064128256513025,-0.3186372745490982,-0.3166332665330661,-0.31462925851703405,-0.312625250501002,-0.3106212424849699,-0.30861723446893785,-0.3066132264529058,-0.3046092184368738,-0.3026052104208417,-0.30060120240480964,-0.2985971943887776,-0.2965931863727455,-0.29458917835671344,-0.2925851703406814,-0.2905811623246493,-0.28857715430861725,-0.2865731462925852,-0.2845691382765531,-0.28256513026052105,-0.280561122244489,-0.2785571142284569,-0.27655310621242485,-0.2745490981963928,-0.2725450901803607,-0.27054108216432865,-0.2685370741482966,-0.2665330661322645,-0.26452905811623245,-0.2625250501002004,-0.2605210420841683,-0.25851703406813625,-0.2565130260521042,-0.2545090180360721,-0.25250501002004005,-0.250501002004008,-0.24849699398797595,-0.24649298597194388,-0.24448897795591182,-0.24248496993987975,-0.24048096192384769,-0.23847695390781562,-0.23647294589178355,-0.23446893787575152,-0.23246492985971945,-0.23046092184368738,-0.22845691382765532,-0.22645290581162325,-0.22444889779559118,-0.22244488977955912,-0.22044088176352705,-0.218436873747495,-0.21643286573146292,-0.21442885771543085,-0.2124248496993988,-0.21042084168336672,-0.20841683366733466,-0.20641282565130262,-0.20440881763527055,-0.20240480961923848,-0.20040080160320642,-0.19839679358717435,-0.1963927855711423,-0.19438877755511022,-0.19238476953907815,-0.1903807615230461,-0.18837675350701402,-0.18637274549098196,-0.1843687374749499,-0.18236472945891782,-0.18036072144288579,-0.17835671342685372,-0.17635270541082165,-0.1743486973947896,-0.17234468937875752,-0.17034068136272545,-0.1683366733466934,-0.16633266533066132,-0.16432865731462926,-0.1623246492985972,-0.16032064128256512,-0.15831663326653306,-0.156312625250501,-0.15430861723446893,-0.1523046092184369,-0.15030060120240482,-0.14829659318637275,-0.1462925851703407,-0.14428857715430862,-0.14228456913827656,-0.1402805611222445,-0.13827655310621242,-0.13627254509018036,-0.1342685370741483,-0.13226452905811623,-0.13026052104208416,-0.1282565130260521,-0.12625250501002003,-0.12424849699398798,-0.12224448897795591,-0.12024048096192384,-0.11823647294589178,-0.11623246492985972,-0.11422845691382766,-0.11222444889779559,-0.11022044088176353,-0.10821643286573146,-0.1062124248496994,-0.10420841683366733,-0.10220440881763528,-0.10020040080160321,-0.09819639278557114,-0.09619238476953908,-0.09418837675350701,-0.09218436873747494,-0.09018036072144289,-0.08817635270541083,-0.08617234468937876,-0.0841683366733467,-0.08216432865731463,-0.08016032064128256,-0.0781563126252505,-0.07615230460921844,-0.07414829659318638,-0.07214428857715431,-0.07014028056112225,-0.06813627254509018,-0.06613226452905811,-0.06412825651302605,-0.06212424849699399,-0.06012024048096192,-0.05811623246492986,-0.056112224448897796,-0.05410821643286573,-0.052104208416833664,-0.050100200400801605,-0.04809619238476954,-0.04609218436873747,-0.04408817635270541,-0.04208416833667335,-0.04008016032064128,-0.03807615230460922,-0.036072144288577156,-0.03406813627254509,-0.03206412825651302,-0.03006012024048096,-0.028056112224448898,-0.026052104208416832,-0.02404809619238477,-0.022044088176352707,-0.02004008016032064,-0.018036072144288578,-0.01603206412825651,-0.014028056112224449,-0.012024048096192385,-0.01002004008016032,-0.008016032064128256,-0.006012024048096192,-0.004008016032064128,-0.002004008016032064,0.0]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_subnormal.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_subnormal.json new file mode 100644 index 000000000000..eac6b1170f52 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_subnormal.json @@ -0,0 +1 @@ +{"expected":["1000000000000010","1000000000000100","1000000000000110","1000000000001000","1000000000001010","1000000000001100","1000000000001110","1000000000010000","1000000000010010","1000000000010100","1000000000010110","1000000000011000","1000000000011010","1000000000011100","1000000000011110","1000000000100000","1000000000100010","1000000000100100","1000000000100110","1000000000101000","1000000000101010","1000000000101100","1000000000101110","1000000000110000","1000000000110010","1000000000110100","1000000000110110","1000000000111000","1000000000111010","1000000000111100","1000000000111110","1000000001000000","1000000001000010","1000000001000100","1000000001000110","1000000001001000","1000000001001010","1000000001001100","1000000001001110","1000000001010000","1000000001010010","1000000001010100","1000000001010110","1000000001011000","1000000001011010","1000000001011100","1000000001011110","1000000001100000","1000000001100010","1000000001100100","1000000001100110","1000000001101000","1000000001101010","1000000001101100","1000000001101110","1000000001110000","1000000001110010","1000000001110100","1000000001110110","1000000001111001","1000000001111011","1000000001111101","1000000001111111","1000000010000001","1000000010000011","1000000010000101","1000000010000111","1000000010001001","1000000010001011","1000000010001101","1000000010001111","1000000010010001","1000000010010011","1000000010010101","1000000010010111","1000000010011001","1000000010011011","1000000010011101","1000000010011111","1000000010100001","1000000010100011","1000000010100101","1000000010100111","1000000010101001","1000000010101011","1000000010101101","1000000010101111","1000000010110001","1000000010110011","1000000010110101","1000000010110111","1000000010111001","1000000010111011","1000000010111101","1000000010111111","1000000011000001","1000000011000011","1000000011000101","1000000011000111","1000000011001001","1000000011001011","1000000011001101","1000000011001111","1000000011010001","1000000011010011","1000000011010101","1000000011010111","1000000011011001","1000000011011011","1000000011011101","1000000011011111","1000000011100001","1000000011100011","1000000011100101","1000000011100111","1000000011101001","1000000011101011","1000000011101101","1000000011101111","1000000011110001","1000000011110011","1000000011110101","1000000011110111","1000000011111001","1000000011111011","1000000011111101","1000000011111111","1000000100000001","1000000100000011","1000000100000101","1000000100000111","1000000100001010","1000000100001100","1000000100001110","1000000100010000","1000000100010010","1000000100010100","1000000100010110","1000000100011000","1000000100011010","1000000100011100","1000000100011110","1000000100100000","1000000100100010","1000000100100100","1000000100100110","1000000100101000","1000000100101010","1000000100101100","1000000100101110","1000000100110000","1000000100110010","1000000100110100","1000000100110110","1000000100111000","1000000100111010","1000000100111100","1000000100111110","1000000101000000","1000000101000010","1000000101000100","1000000101000110","1000000101001000","1000000101001010","1000000101001100","1000000101001110","1000000101010000","1000000101010010","1000000101010100","1000000101010110","1000000101011000","1000000101011010","1000000101011100","1000000101011110","1000000101100000","1000000101100010","1000000101100100","1000000101100110","1000000101101000","1000000101101010","1000000101101100","1000000101101110","1000000101110000","1000000101110010","1000000101110100","1000000101110110","1000000101111000","1000000101111010","1000000101111100","1000000101111110","1000000110000000","1000000110000010","1000000110000100","1000000110000110","1000000110001000","1000000110001010","1000000110001100","1000000110001110","1000000110010000","1000000110010010","1000000110010100","1000000110010110","1000000110011000","1000000110011011","1000000110011101","1000000110011111","1000000110100001","1000000110100011","1000000110100101","1000000110100111","1000000110101001","1000000110101011","1000000110101101","1000000110101111","1000000110110001","1000000110110011","1000000110110101","1000000110110111","1000000110111001","1000000110111011","1000000110111101","1000000110111111","1000000111000001","1000000111000011","1000000111000101","1000000111000111","1000000111001001","1000000111001011","1000000111001101","1000000111001111","1000000111010001","1000000111010011","1000000111010101","1000000111010111","1000000111011001","1000000111011011","1000000111011101","1000000111011111","1000000111100001","1000000111100011","1000000111100101","1000000111100111","1000000111101001","1000000111101011","1000000111101101","1000000111101111","1000000111110001","1000000111110011","1000000111110101","1000000111110111","1000000111111001","1000000111111011","1000000111111101","1000000111111111","1000001000000001","1000001000000011","1000001000000101","1000001000000111","1000001000001001","1000001000001011","1000001000001101","1000001000001111","1000001000010001","1000001000010011","1000001000010101","1000001000010111","1000001000011001","1000001000011011","1000001000011101","1000001000011111","1000001000100001","1000001000100011","1000001000100101","1000001000100111","1000001000101001","1000001000101100","1000001000101110","1000001000110000","1000001000110010","1000001000110100","1000001000110110","1000001000111000","1000001000111010","1000001000111100","1000001000111110","1000001001000000","1000001001000010","1000001001000100","1000001001000110","1000001001001000","1000001001001010","1000001001001100","1000001001001110","1000001001010000","1000001001010010","1000001001010100","1000001001010110","1000001001011000","1000001001011010","1000001001011100","1000001001011110","1000001001100000","1000001001100010","1000001001100100","1000001001100110","1000001001101000","1000001001101010","1000001001101100","1000001001101110","1000001001110000","1000001001110010","1000001001110100","1000001001110110","1000001001111000","1000001001111010","1000001001111100","1000001001111110","1000001010000000","1000001010000010","1000001010000100","1000001010000110","1000001010001000","1000001010001010","1000001010001100","1000001010001110","1000001010010000","1000001010010010","1000001010010100","1000001010010110","1000001010011000","1000001010011010","1000001010011100","1000001010011110","1000001010100000","1000001010100010","1000001010100100","1000001010100110","1000001010101000","1000001010101010","1000001010101100","1000001010101110","1000001010110000","1000001010110010","1000001010110100","1000001010110110","1000001010111000","1000001010111011","1000001010111101","1000001010111111","1000001011000001","1000001011000011","1000001011000101","1000001011000111","1000001011001001","1000001011001011","1000001011001101","1000001011001111","1000001011010001","1000001011010011","1000001011010101","1000001011010111","1000001011011001","1000001011011011","1000001011011101","1000001011011111","1000001011100001","1000001011100011","1000001011100101","1000001011100111","1000001011101001","1000001011101011","1000001011101101","1000001011101111","1000001011110001","1000001011110011","1000001011110101","1000001011110111","1000001011111001","1000001011111011","1000001011111101","1000001011111111","1000001100000001","1000001100000011","1000001100000101","1000001100000111","1000001100001001","1000001100001011","1000001100001101","1000001100001111","1000001100010001","1000001100010011","1000001100010101","1000001100010111","1000001100011001","1000001100011011","1000001100011101","1000001100011111","1000001100100001","1000001100100011","1000001100100101","1000001100100111","1000001100101001","1000001100101011","1000001100101101","1000001100101111","1000001100110001","1000001100110011","1000001100110101","1000001100110111","1000001100111001","1000001100111011","1000001100111101","1000001100111111","1000001101000001","1000001101000011","1000001101000101","1000001101000111","1000001101001001","1000001101001100","1000001101001110","1000001101010000","1000001101010010","1000001101010100","1000001101010110","1000001101011000","1000001101011010","1000001101011100","1000001101011110","1000001101100000","1000001101100010","1000001101100100","1000001101100110","1000001101101000","1000001101101010","1000001101101100","1000001101101110","1000001101110000","1000001101110010","1000001101110100","1000001101110110","1000001101111000","1000001101111010","1000001101111100","1000001101111110","1000001110000000","1000001110000010","1000001110000100","1000001110000110","1000001110001000","1000001110001010","1000001110001100","1000001110001110","1000001110010000","1000001110010010","1000001110010100","1000001110010110","1000001110011000","1000001110011010","1000001110011100","1000001110011110","1000001110100000","1000001110100010","1000001110100100","1000001110100110","1000001110101000","1000001110101010","1000001110101100","1000001110101110","1000001110110000","1000001110110010","1000001110110100","1000001110110110","1000001110111000","1000001110111010","1000001110111100","1000001110111110","1000001111000000","1000001111000010","1000001111000100","1000001111000110","1000001111001000","1000001111001010","1000001111001100","1000001111001110","1000001111010000","1000001111010010","1000001111010100","1000001111010110","1000001111011000","1000001111011010","1000001111011101","1000001111011111","1000001111100001","1000001111100011","1000001111100101","1000001111100111","1000001111101001","1000001111101011","1000001111101101","1000001111101111"],"x":[-1.0e-7,-2.2004008016032063e-7,-3.4008016032064126e-7,-4.601202404809619e-7,-5.801603206412825e-7,-7.002004008016032e-7,-8.202404809619238e-7,-9.402805611222445e-7,-1.0603206412825652e-6,-1.1803607214428857e-6,-1.3004008016032064e-6,-1.420440881763527e-6,-1.5404809619238476e-6,-1.6605210420841683e-6,-1.780561122244489e-6,-1.9006012024048095e-6,-2.0206412825651304e-6,-2.1406813627254507e-6,-2.2607214428857714e-6,-2.380761523046092e-6,-2.500801603206413e-6,-2.6208416833667336e-6,-2.7408817635270543e-6,-2.8609218436873746e-6,-2.9809619238476953e-6,-3.101002004008016e-6,-3.2210420841683367e-6,-3.3410821643286574e-6,-3.461122244488978e-6,-3.5811623246492984e-6,-3.701202404809619e-6,-3.82124248496994e-6,-3.94128256513026e-6,-4.061322645290581e-6,-4.1813627254509016e-6,-4.301402805611222e-6,-4.421442885771543e-6,-4.541482965931864e-6,-4.661523046092184e-6,-4.781563126252505e-6,-4.901603206412826e-6,-5.0216432865731466e-6,-5.141683366733467e-6,-5.261723446893788e-6,-5.381763527054108e-6,-5.5018036072144286e-6,-5.621843687374749e-6,-5.74188376753507e-6,-5.861923847695391e-6,-5.981963927855711e-6,-6.102004008016032e-6,-6.222044088176353e-6,-6.3420841683366735e-6,-6.462124248496994e-6,-6.582164328657315e-6,-6.702204408817636e-6,-6.8222444889779556e-6,-6.942284569138276e-6,-7.062324649298597e-6,-7.182364729458918e-6,-7.302404809619238e-6,-7.422444889779559e-6,-7.54248496993988e-6,-7.6625250501002e-6,-7.782565130260521e-6,-7.902605210420841e-6,-8.022645290581163e-6,-8.142685370741483e-6,-8.262725450901804e-6,-8.382765531062124e-6,-8.502805611222446e-6,-8.622845691382765e-6,-8.742885771543087e-6,-8.862925851703407e-6,-8.982965931863727e-6,-9.103006012024048e-6,-9.223046092184368e-6,-9.34308617234469e-6,-9.46312625250501e-6,-9.583166332665331e-6,-9.703206412825651e-6,-9.823246492985973e-6,-9.943286573146292e-6,-1.0063326653306614e-5,-1.0183366733466934e-5,-1.0303406813627254e-5,-1.0423446893787575e-5,-1.0543486973947895e-5,-1.0663527054108217e-5,-1.0783567134268537e-5,-1.0903607214428858e-5,-1.1023647294589178e-5,-1.11436873747495e-5,-1.126372745490982e-5,-1.1383767535070141e-5,-1.150380761523046e-5,-1.1623847695390782e-5,-1.1743887775551102e-5,-1.1863927855711422e-5,-1.1983967935871744e-5,-1.2104008016032064e-5,-1.2224048096192385e-5,-1.2344088176352705e-5,-1.2464128256513026e-5,-1.2584168336673346e-5,-1.2704208416833668e-5,-1.2824248496993988e-5,-1.294428857715431e-5,-1.306432865731463e-5,-1.3184368737474949e-5,-1.330440881763527e-5,-1.342444889779559e-5,-1.3544488977955912e-5,-1.3664529058116232e-5,-1.3784569138276553e-5,-1.3904609218436873e-5,-1.4024649298597195e-5,-1.4144689378757515e-5,-1.4264729458917836e-5,-1.4384769539078156e-5,-1.4504809619238478e-5,-1.4624849699398798e-5,-1.4744889779559117e-5,-1.4864929859719439e-5,-1.4984969939879759e-5,-1.510501002004008e-5,-1.52250501002004e-5,-1.534509018036072e-5,-1.5465130260521043e-5,-1.5585170340681363e-5,-1.5705210420841683e-5,-1.5825250501002003e-5,-1.5945290581162326e-5,-1.6065330661322646e-5,-1.6185370741482966e-5,-1.6305410821643286e-5,-1.6425450901803606e-5,-1.654549098196393e-5,-1.666553106212425e-5,-1.678557114228457e-5,-1.690561122244489e-5,-1.7025651302605212e-5,-1.7145691382765532e-5,-1.726573146292585e-5,-1.738577154308617e-5,-1.750581162324649e-5,-1.7625851703406815e-5,-1.7745891783567134e-5,-1.7865931863727454e-5,-1.7985971943887774e-5,-1.8106012024048097e-5,-1.8226052104208417e-5,-1.8346092184368737e-5,-1.8466132264529057e-5,-1.858617234468938e-5,-1.87062124248497e-5,-1.882625250501002e-5,-1.894629258517034e-5,-1.906633266533066e-5,-1.9186372745490983e-5,-1.9306412825651303e-5,-1.9426452905811623e-5,-1.9546492985971943e-5,-1.9666533066132266e-5,-1.9786573146292586e-5,-1.9906613226452906e-5,-2.0026653306613225e-5,-2.014669338677355e-5,-2.026673346693387e-5,-2.038677354709419e-5,-2.0506813627254508e-5,-2.0626853707414828e-5,-2.074689378757515e-5,-2.086693386773547e-5,-2.098697394789579e-5,-2.110701402805611e-5,-2.1227054108216434e-5,-2.1347094188376754e-5,-2.1467134268537074e-5,-2.1587174348697394e-5,-2.1707214428857717e-5,-2.1827254509018037e-5,-2.1947294589178357e-5,-2.2067334669338677e-5,-2.2187374749498997e-5,-2.230741482965932e-5,-2.242745490981964e-5,-2.254749498997996e-5,-2.266753507014028e-5,-2.2787575150300603e-5,-2.2907615230460923e-5,-2.3027655310621242e-5,-2.3147695390781562e-5,-2.3267735470941882e-5,-2.3387775551102205e-5,-2.3507815631262525e-5,-2.3627855711422845e-5,-2.3747895791583165e-5,-2.3867935871743488e-5,-2.3987975951903808e-5,-2.4108016032064128e-5,-2.4228056112224448e-5,-2.434809619238477e-5,-2.446813627254509e-5,-2.458817635270541e-5,-2.470821643286573e-5,-2.482825651302605e-5,-2.4948296593186374e-5,-2.5068336673346694e-5,-2.5188376753507014e-5,-2.5308416833667333e-5,-2.5428456913827657e-5,-2.5548496993987977e-5,-2.5668537074148296e-5,-2.5788577154308616e-5,-2.590861723446894e-5,-2.602865731462926e-5,-2.614869739478958e-5,-2.62687374749499e-5,-2.638877755511022e-5,-2.6508817635270542e-5,-2.6628857715430862e-5,-2.6748897795591182e-5,-2.6868937875751502e-5,-2.6988977955911825e-5,-2.7109018036072145e-5,-2.7229058116232465e-5,-2.7349098196392785e-5,-2.7469138276553105e-5,-2.7589178356713428e-5,-2.7709218436873748e-5,-2.7829258517034068e-5,-2.7949298597194387e-5,-2.806933867735471e-5,-2.818937875751503e-5,-2.830941883767535e-5,-2.842945891783567e-5,-2.8549498997995993e-5,-2.8669539078156313e-5,-2.8789579158316633e-5,-2.8909619238476953e-5,-2.9029659318637273e-5,-2.9149699398797596e-5,-2.9269739478957916e-5,-2.9389779559118236e-5,-2.9509819639278556e-5,-2.962985971943888e-5,-2.97498997995992e-5,-2.986993987975952e-5,-2.998997995991984e-5,-3.0110020040080162e-5,-3.0230060120240482e-5,-3.03501002004008e-5,-3.047014028056112e-5,-3.0590180360721445e-5,-3.0710220440881765e-5,-3.0830260521042084e-5,-3.0950300601202404e-5,-3.1070340681362724e-5,-3.1190380761523044e-5,-3.1310420841683364e-5,-3.143046092184369e-5,-3.155050100200401e-5,-3.167054108216433e-5,-3.179058116232465e-5,-3.191062124248497e-5,-3.203066132264529e-5,-3.215070140280561e-5,-3.227074148296593e-5,-3.239078156312625e-5,-3.2510821643286576e-5,-3.2630861723446896e-5,-3.2750901803607216e-5,-3.2870941883767536e-5,-3.2990981963927856e-5,-3.3111022044088175e-5,-3.3231062124248495e-5,-3.3351102204408815e-5,-3.3471142284569135e-5,-3.359118236472946e-5,-3.371122244488978e-5,-3.38312625250501e-5,-3.395130260521042e-5,-3.407134268537074e-5,-3.419138276553106e-5,-3.431142284569138e-5,-3.44314629258517e-5,-3.455150300601203e-5,-3.467154308617235e-5,-3.479158316633267e-5,-3.491162324649299e-5,-3.503166332665331e-5,-3.515170340681363e-5,-3.527174348697395e-5,-3.5391783567134266e-5,-3.5511823647294586e-5,-3.563186372745491e-5,-3.575190380761523e-5,-3.587194388777555e-5,-3.599198396793587e-5,-3.611202404809619e-5,-3.623206412825651e-5,-3.635210420841683e-5,-3.647214428857715e-5,-3.659218436873747e-5,-3.67122244488978e-5,-3.683226452905812e-5,-3.695230460921844e-5,-3.707234468937876e-5,-3.719238476953908e-5,-3.73124248496994e-5,-3.743246492985972e-5,-3.755250501002004e-5,-3.767254509018036e-5,-3.7792585170340684e-5,-3.7912625250501004e-5,-3.8032665330661324e-5,-3.8152705410821644e-5,-3.8272745490981964e-5,-3.8392785571142283e-5,-3.85128256513026e-5,-3.863286573146292e-5,-3.875290581162325e-5,-3.887294589178357e-5,-3.899298597194389e-5,-3.911302605210421e-5,-3.923306613226453e-5,-3.935310621242485e-5,-3.947314629258517e-5,-3.959318637274549e-5,-3.971322645290581e-5,-3.9833266533066135e-5,-3.9953306613226455e-5,-4.0073346693386775e-5,-4.0193386773547095e-5,-4.0313426853707415e-5,-4.0433466933867735e-5,-4.0553507014028055e-5,-4.0673547094188374e-5,-4.0793587174348694e-5,-4.091362725450902e-5,-4.103366733466934e-5,-4.115370741482966e-5,-4.127374749498998e-5,-4.13937875751503e-5,-4.151382765531062e-5,-4.163386773547094e-5,-4.175390781563126e-5,-4.187394789579158e-5,-4.1993987975951907e-5,-4.2114028056112226e-5,-4.2234068136272546e-5,-4.2354108216432866e-5,-4.2474148296593186e-5,-4.2594188376753506e-5,-4.2714228456913826e-5,-4.2834268537074146e-5,-4.295430861723447e-5,-4.307434869739479e-5,-4.319438877755511e-5,-4.331442885771543e-5,-4.343446893787575e-5,-4.355450901803607e-5,-4.367454909819639e-5,-4.379458917835671e-5,-4.391462925851703e-5,-4.403466933867736e-5,-4.415470941883768e-5,-4.4274749498998e-5,-4.439478957915832e-5,-4.451482965931864e-5,-4.463486973947896e-5,-4.475490981963928e-5,-4.48749498997996e-5,-4.499498997995992e-5,-4.511503006012024e-5,-4.523507014028056e-5,-4.535511022044088e-5,-4.54751503006012e-5,-4.559519038076152e-5,-4.571523046092184e-5,-4.583527054108216e-5,-4.595531062124248e-5,-4.60753507014028e-5,-4.619539078156313e-5,-4.631543086172345e-5,-4.643547094188377e-5,-4.655551102204409e-5,-4.667555110220441e-5,-4.679559118236473e-5,-4.691563126252505e-5,-4.703567134268537e-5,-4.7155711422845695e-5,-4.7275751503006014e-5,-4.7395791583166334e-5,-4.7515831663326654e-5,-4.7635871743486974e-5,-4.7755911823647294e-5,-4.7875951903807614e-5,-4.7995991983967934e-5,-4.8116032064128254e-5,-4.823607214428858e-5,-4.83561122244489e-5,-4.847615230460922e-5,-4.859619238476954e-5,-4.871623246492986e-5,-4.883627254509018e-5,-4.89563126252505e-5,-4.907635270541082e-5,-4.919639278557114e-5,-4.9316432865731466e-5,-4.9436472945891786e-5,-4.9556513026052105e-5,-4.9676553106212425e-5,-4.9796593186372745e-5,-4.9916633266533065e-5,-5.0036673346693385e-5,-5.0156713426853705e-5,-5.027675350701403e-5,-5.039679358717435e-5,-5.051683366733467e-5,-5.063687374749499e-5,-5.075691382765531e-5,-5.087695390781563e-5,-5.099699398797595e-5,-5.111703406813627e-5,-5.123707414829659e-5,-5.135711422845692e-5,-5.147715430861724e-5,-5.159719438877756e-5,-5.1717234468937877e-5,-5.1837274549098196e-5,-5.1957314629258516e-5,-5.2077354709418836e-5,-5.2197394789579156e-5,-5.2317434869739476e-5,-5.24374749498998e-5,-5.255751503006012e-5,-5.267755511022044e-5,-5.279759519038076e-5,-5.291763527054108e-5,-5.30376753507014e-5,-5.315771543086172e-5,-5.327775551102204e-5,-5.339779559118236e-5,-5.351783567134269e-5,-5.363787575150301e-5,-5.375791583166333e-5,-5.387795591182365e-5,-5.399799599198397e-5,-5.411803607214429e-5,-5.423807615230461e-5,-5.435811623246493e-5,-5.4478156312625254e-5,-5.4598196392785574e-5,-5.4718236472945894e-5,-5.4838276553106213e-5,-5.495831663326653e-5,-5.507835671342685e-5,-5.519839679358717e-5,-5.531843687374749e-5,-5.543847695390781e-5,-5.555851703406814e-5,-5.567855711422846e-5,-5.579859719438878e-5,-5.59186372745491e-5,-5.603867735470942e-5,-5.615871743486974e-5,-5.627875751503006e-5,-5.639879759519038e-5,-5.65188376753507e-5,-5.6638877755511025e-5,-5.6758917835671345e-5,-5.6878957915831665e-5,-5.6998997995991985e-5,-5.7119038076152304e-5,-5.7239078156312624e-5,-5.7359118236472944e-5,-5.7479158316633264e-5,-5.7599198396793584e-5,-5.771923847695391e-5,-5.783927855711423e-5,-5.795931863727455e-5,-5.807935871743487e-5,-5.819939879759519e-5,-5.831943887775551e-5,-5.843947895791583e-5,-5.855951903807615e-5,-5.8679559118236476e-5,-5.8799599198396796e-5,-5.8919639278557116e-5,-5.9039679358717436e-5,-5.9159719438877756e-5,-5.9279759519038076e-5,-5.9399799599198395e-5,-5.9519839679358715e-5,-5.9639879759519035e-5,-5.975991983967936e-5,-5.987995991983968e-5,-6.0e-5]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_tiny.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_tiny.json new file mode 100644 index 000000000000..3262349b8f51 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/negative_tiny.json @@ -0,0 +1 @@ +{"expected":["1000011010001110","1000011010101100","1000011011001010","1000011011101001","1000011100000111","1000011100100101","1000011101000011","1000011101100010","1000011110000000","1000011110011110","1000011110111100","1000011111011011","1000011111111001","1000100000001100","1000100000011011","1000100000101010","1000100000111001","1000100001001000","1000100001010111","1000100001100110","1000100001110101","1000100010000101","1000100010010100","1000100010100011","1000100010110010","1000100011000001","1000100011010000","1000100011011111","1000100011101110","1000100011111110","1000100100001101","1000100100011100","1000100100101011","1000100100111010","1000100101001001","1000100101011000","1000100101101000","1000100101110111","1000100110000110","1000100110010101","1000100110100100","1000100110110011","1000100111000010","1000100111010001","1000100111100001","1000100111110000","1000100111111111","1000101000001110","1000101000011101","1000101000101100","1000101000111011","1000101001001010","1000101001011010","1000101001101001","1000101001111000","1000101010000111","1000101010010110","1000101010100101","1000101010110100","1000101011000100","1000101011010011","1000101011100010","1000101011110001","1000101100000000","1000101100001111","1000101100011110","1000101100101101","1000101100111101","1000101101001100","1000101101011011","1000101101101010","1000101101111001","1000101110001000","1000101110010111","1000101110100110","1000101110110110","1000101111000101","1000101111010100","1000101111100011","1000101111110010","1000110000000001","1000110000001000","1000110000010000","1000110000010111","1000110000011111","1000110000100110","1000110000101110","1000110000110110","1000110000111101","1000110001000101","1000110001001100","1000110001010100","1000110001011011","1000110001100011","1000110001101011","1000110001110010","1000110001111010","1000110010000001","1000110010001001","1000110010010000","1000110010011000","1000110010011111","1000110010100111","1000110010101111","1000110010110110","1000110010111110","1000110011000101","1000110011001101","1000110011010100","1000110011011100","1000110011100100","1000110011101011","1000110011110011","1000110011111010","1000110100000010","1000110100001001","1000110100010001","1000110100011001","1000110100100000","1000110100101000","1000110100101111","1000110100110111","1000110100111110","1000110101000110","1000110101001101","1000110101010101","1000110101011101","1000110101100100","1000110101101100","1000110101110011","1000110101111011","1000110110000010","1000110110001010","1000110110010010","1000110110011001","1000110110100001","1000110110101000","1000110110110000","1000110110110111","1000110110111111","1000110111000111","1000110111001110","1000110111010110","1000110111011101","1000110111100101","1000110111101100","1000110111110100","1000110111111011","1000111000000011","1000111000001011","1000111000010010","1000111000011010","1000111000100001","1000111000101001","1000111000110000","1000111000111000","1000111001000000","1000111001000111","1000111001001111","1000111001010110","1000111001011110","1000111001100101","1000111001101101","1000111001110101","1000111001111100","1000111010000100","1000111010001011","1000111010010011","1000111010011010","1000111010100010","1000111010101001","1000111010110001","1000111010111001","1000111011000000","1000111011001000","1000111011001111","1000111011010111","1000111011011110","1000111011100110","1000111011101110","1000111011110101","1000111011111101","1000111100000100","1000111100001100","1000111100010011","1000111100011011","1000111100100010","1000111100101010","1000111100110010","1000111100111001","1000111101000001","1000111101001000","1000111101010000","1000111101010111","1000111101011111","1000111101100111","1000111101101110","1000111101110110","1000111101111101","1000111110000101","1000111110001100","1000111110010100","1000111110011100","1000111110100011","1000111110101011","1000111110110010","1000111110111010","1000111111000001","1000111111001001","1000111111010000","1000111111011000","1000111111100000","1000111111100111","1000111111101111","1000111111110110","1000111111111110","1001000000000011","1001000000000111","1001000000001010","1001000000001110","1001000000010010","1001000000010110","1001000000011001","1001000000011101","1001000000100001","1001000000100101","1001000000101001","1001000000101100","1001000000110000","1001000000110100","1001000000111000","1001000000111011","1001000000111111","1001000001000011","1001000001000111","1001000001001011","1001000001001110","1001000001010010","1001000001010110","1001000001011010","1001000001011110","1001000001100001","1001000001100101","1001000001101001","1001000001101101","1001000001110000","1001000001110100","1001000001111000","1001000001111100","1001000010000000","1001000010000011","1001000010000111","1001000010001011","1001000010001111","1001000010010010","1001000010010110","1001000010011010","1001000010011110","1001000010100010","1001000010100101","1001000010101001","1001000010101101","1001000010110001","1001000010110100","1001000010111000","1001000010111100","1001000011000000","1001000011000100","1001000011000111","1001000011001011","1001000011001111","1001000011010011","1001000011010111","1001000011011010","1001000011011110","1001000011100010","1001000011100110","1001000011101001","1001000011101101","1001000011110001","1001000011110101","1001000011111001","1001000011111100","1001000100000000","1001000100000100","1001000100001000","1001000100001011","1001000100001111","1001000100010011","1001000100010111","1001000100011011","1001000100011110","1001000100100010","1001000100100110","1001000100101010","1001000100101110","1001000100110001","1001000100110101","1001000100111001","1001000100111101","1001000101000000","1001000101000100","1001000101001000","1001000101001100","1001000101010000","1001000101010011","1001000101010111","1001000101011011","1001000101011111","1001000101100010","1001000101100110","1001000101101010","1001000101101110","1001000101110010","1001000101110101","1001000101111001","1001000101111101","1001000110000001","1001000110000101","1001000110001000","1001000110001100","1001000110010000","1001000110010100","1001000110010111","1001000110011011","1001000110011111","1001000110100011","1001000110100111","1001000110101010","1001000110101110","1001000110110010","1001000110110110","1001000110111001","1001000110111101","1001000111000001","1001000111000101","1001000111001001","1001000111001100","1001000111010000","1001000111010100","1001000111011000","1001000111011100","1001000111011111","1001000111100011","1001000111100111","1001000111101011","1001000111101110","1001000111110010","1001000111110110","1001000111111010","1001000111111110","1001001000000001","1001001000000101","1001001000001001","1001001000001101","1001001000010000","1001001000010100","1001001000011000","1001001000011100","1001001000100000","1001001000100011","1001001000100111","1001001000101011","1001001000101111","1001001000110011","1001001000110110","1001001000111010","1001001000111110","1001001001000010","1001001001000101","1001001001001001","1001001001001101","1001001001010001","1001001001010101","1001001001011000","1001001001011100","1001001001100000","1001001001100100","1001001001100111","1001001001101011","1001001001101111","1001001001110011","1001001001110111","1001001001111010","1001001001111110","1001001010000010","1001001010000110","1001001010001010","1001001010001101","1001001010010001","1001001010010101","1001001010011001","1001001010011100","1001001010100000","1001001010100100","1001001010101000","1001001010101100","1001001010101111","1001001010110011","1001001010110111","1001001010111011","1001001010111110","1001001011000010","1001001011000110","1001001011001010","1001001011001110","1001001011010001","1001001011010101","1001001011011001","1001001011011101","1001001011100001","1001001011100100","1001001011101000","1001001011101100","1001001011110000","1001001011110011","1001001011110111","1001001011111011","1001001011111111","1001001100000011","1001001100000110","1001001100001010","1001001100001110","1001001100010010","1001001100010101","1001001100011001","1001001100011101","1001001100100001","1001001100100101","1001001100101000","1001001100101100","1001001100110000","1001001100110100","1001001100111000","1001001100111011","1001001100111111","1001001101000011","1001001101000111","1001001101001010","1001001101001110","1001001101010010","1001001101010110","1001001101011010","1001001101011101","1001001101100001","1001001101100101","1001001101101001","1001001101101100","1001001101110000","1001001101110100","1001001101111000","1001001101111100","1001001101111111","1001001110000011","1001001110000111","1001001110001011","1001001110001111","1001001110010010","1001001110010110","1001001110011010","1001001110011110","1001001110100001","1001001110100101","1001001110101001","1001001110101101","1001001110110001","1001001110110100","1001001110111000","1001001110111100","1001001111000000","1001001111000011","1001001111000111","1001001111001011","1001001111001111","1001001111010011","1001001111010110","1001001111011010","1001001111011110","1001001111100010","1001001111100110","1001001111101001","1001001111101101","1001001111110001","1001001111110101","1001001111111000","1001001111111100","1001010000000000","1001010000000010","1001010000000100","1001010000000110","1001010000001000","1001010000001001","1001010000001011","1001010000001101","1001010000001111","1001010000010001","1001010000010011","1001010000010101","1001010000010111","1001010000011001"],"x":[-0.0001,-0.00010180360721442886,-0.00010360721442885771,-0.00010541082164328658,-0.00010721442885771543,-0.00010901803607214429,-0.00011082164328657314,-0.00011262525050100201,-0.00011442885771543086,-0.00011623246492985972,-0.00011803607214428858,-0.00011983967935871744,-0.00012164328657314629,-0.00012344689378757516,-0.000125250501002004,-0.00012705410821643286,-0.00012885771543086173,-0.00013066132264529057,-0.00013246492985971944,-0.0001342685370741483,-0.00013607214428857715,-0.00013787575150300601,-0.00013967935871743488,-0.00014148296593186372,-0.0001432865731462926,-0.00014509018036072146,-0.0001468937875751503,-0.00014869739478957916,-0.000150501002004008,-0.00015230460921843687,-0.00015410821643286574,-0.00015591182364729458,-0.00015771543086172345,-0.0001595190380761523,-0.00016132264529058115,-0.00016312625250501002,-0.0001649298597194389,-0.00016673346693386773,-0.0001685370741482966,-0.00017034068136272546,-0.0001721442885771543,-0.00017394789579158317,-0.00017575150300601204,-0.00017755511022044088,-0.00017935871743486975,-0.00018116232464929859,-0.00018296593186372745,-0.00018476953907815632,-0.00018657314629258516,-0.00018837675350701403,-0.0001901803607214429,-0.00019198396793587173,-0.0001937875751503006,-0.00019559118236472947,-0.0001973947895791583,-0.00019919839679358718,-0.00020100200400801604,-0.00020280561122244488,-0.00020460921843687375,-0.00020641282565130262,-0.00020821643286573146,-0.00021002004008016033,-0.00021182364729458917,-0.00021362725450901803,-0.0002154308617234469,-0.00021723446893787574,-0.0002190380761523046,-0.00022084168336673348,-0.00022264529058116232,-0.00022444889779559118,-0.00022625250501002005,-0.0002280561122244489,-0.00022985971943887776,-0.00023166332665330663,-0.00023346693386773547,-0.00023527054108216433,-0.0002370741482965932,-0.00023887775551102204,-0.0002406813627254509,-0.00024248496993987975,-0.0002442885771543086,-0.00024609218436873745,-0.00024789579158316635,-0.0002496993987975952,-0.00025150300601202403,-0.0002533066132264529,-0.00025511022044088176,-0.0002569138276553106,-0.0002587174348697395,-0.00026052104208416834,-0.0002623246492985972,-0.0002641282565130261,-0.0002659318637274549,-0.00026773547094188375,-0.00026953907815631265,-0.0002713426853707415,-0.00027314629258517033,-0.0002749498997995992,-0.00027675350701402806,-0.0002785571142284569,-0.0002803607214428858,-0.00028216432865731464,-0.0002839679358717435,-0.0002857715430861723,-0.0002875751503006012,-0.00028937875751503005,-0.0002911823647294589,-0.0002929859719438878,-0.00029478957915831663,-0.00029659318637274547,-0.00029839679358717436,-0.0003002004008016032,-0.00030200400801603204,-0.00030380761523046094,-0.0003056112224448898,-0.0003074148296593186,-0.0003092184368737475,-0.00031102204408817635,-0.0003128256513026052,-0.0003146292585170341,-0.0003164328657314629,-0.00031823647294589177,-0.00032004008016032066,-0.0003218436873747495,-0.00032364729458917834,-0.00032545090180360724,-0.0003272545090180361,-0.0003290581162324649,-0.0003308617234468938,-0.00033266533066132265,-0.0003344689378757515,-0.0003362725450901804,-0.0003380761523046092,-0.00033987975951903807,-0.00034168336673346696,-0.0003434869739478958,-0.00034529058116232464,-0.0003470941883767535,-0.0003488977955911824,-0.0003507014028056112,-0.00035250501002004006,-0.00035430861723446895,-0.0003561122244488978,-0.00035791583166332663,-0.0003597194388777555,-0.00036152304609218436,-0.0003633266533066132,-0.0003651302605210421,-0.00036693386773547094,-0.0003687374749498998,-0.0003705410821643287,-0.0003723446893787575,-0.00037414829659318635,-0.00037595190380761525,-0.0003777555110220441,-0.00037955911823647293,-0.0003813627254509018,-0.00038316633266533066,-0.0003849699398797595,-0.0003867735470941884,-0.00038857715430861724,-0.0003903807615230461,-0.00039218436873747497,-0.0003939879759519038,-0.00039579158316633265,-0.00039759519038076155,-0.0003993987975951904,-0.00040120240480961923,-0.0004030060120240481,-0.00040480961923847696,-0.0004066132264529058,-0.00040841683366733464,-0.00041022044088176354,-0.0004120240480961924,-0.0004138276553106212,-0.0004156312625250501,-0.00041743486973947895,-0.0004192384769539078,-0.0004210420841683367,-0.0004228456913827655,-0.00042464929859719437,-0.00042645290581162326,-0.0004282565130260521,-0.00043006012024048094,-0.00043186372745490984,-0.0004336673346693387,-0.0004354709418837675,-0.0004372745490981964,-0.00043907815631262525,-0.0004408817635270541,-0.000442685370741483,-0.0004444889779559118,-0.00044629258517034067,-0.00044809619238476956,-0.0004498997995991984,-0.00045170340681362724,-0.00045350701402805614,-0.000455310621242485,-0.0004571142284569138,-0.0004589178356713427,-0.00046072144288577155,-0.0004625250501002004,-0.0004643286573146293,-0.0004661322645290581,-0.00046793587174348696,-0.0004697394789579158,-0.0004715430861723447,-0.00047334669338677354,-0.0004751503006012024,-0.0004769539078156313,-0.0004787575150300601,-0.00048056112224448895,-0.00048236472945891785,-0.0004841683366733467,-0.00048597194388777553,-0.0004877755511022044,-0.0004895791583166333,-0.0004913827655310621,-0.000493186372745491,-0.0004949899799599199,-0.0004967935871743487,-0.0004985971943887776,-0.0005004008016032064,-0.0005022044088176353,-0.0005040080160320641,-0.0005058116232464929,-0.0005076152304609218,-0.0005094188376753507,-0.0005112224448897795,-0.0005130260521042084,-0.0005148296593186373,-0.0005166332665330661,-0.000518436873747495,-0.0005202404809619239,-0.0005220440881763527,-0.0005238476953907816,-0.0005256513026052104,-0.0005274549098196392,-0.0005292585170340681,-0.000531062124248497,-0.0005328657314629258,-0.0005346693386773547,-0.0005364729458917836,-0.0005382765531062124,-0.0005400801603206413,-0.0005418837675350702,-0.000543687374749499,-0.0005454909819639279,-0.0005472945891783567,-0.0005490981963927855,-0.0005509018036072144,-0.0005527054108216433,-0.0005545090180360721,-0.000556312625250501,-0.0005581162324649299,-0.0005599198396793587,-0.0005617234468937876,-0.0005635270541082165,-0.0005653306613226453,-0.0005671342685370742,-0.000568937875751503,-0.0005707414829659318,-0.0005725450901803607,-0.0005743486973947896,-0.0005761523046092184,-0.0005779559118236473,-0.0005797595190380762,-0.000581563126252505,-0.0005833667334669339,-0.0005851703406813628,-0.0005869739478957916,-0.0005887775551102204,-0.0005905811623246493,-0.0005923847695390781,-0.000594188376753507,-0.0005959919839679359,-0.0005977955911823647,-0.0005995991983967936,-0.0006014028056112225,-0.0006032064128256513,-0.0006050100200400802,-0.0006068136272545091,-0.0006086172344689379,-0.0006104208416833667,-0.0006122244488977956,-0.0006140280561122244,-0.0006158316633266533,-0.0006176352705410822,-0.000619438877755511,-0.0006212424849699399,-0.0006230460921843687,-0.0006248496993987976,-0.0006266533066132265,-0.0006284569138276553,-0.0006302605210420842,-0.000632064128256513,-0.0006338677354709418,-0.0006356713426853707,-0.0006374749498997996,-0.0006392785571142284,-0.0006410821643286573,-0.0006428857715430862,-0.000644689378757515,-0.0006464929859719439,-0.0006482965931863728,-0.0006501002004008016,-0.0006519038076152305,-0.0006537074148296593,-0.0006555110220440881,-0.000657314629258517,-0.0006591182364729459,-0.0006609218436873747,-0.0006627254509018036,-0.0006645290581162325,-0.0006663326653306613,-0.0006681362725450902,-0.0006699398797595191,-0.0006717434869739479,-0.0006735470941883768,-0.0006753507014028056,-0.0006771543086172344,-0.0006789579158316633,-0.0006807615230460922,-0.000682565130260521,-0.0006843687374749499,-0.0006861723446893788,-0.0006879759519038076,-0.0006897795591182365,-0.0006915831663326654,-0.0006933867735470942,-0.000695190380761523,-0.0006969939879759519,-0.0006987975951903807,-0.0007006012024048096,-0.0007024048096192385,-0.0007042084168336673,-0.0007060120240480962,-0.0007078156312625251,-0.0007096192384769539,-0.0007114228456913828,-0.0007132264529058117,-0.0007150300601202405,-0.0007168336673346693,-0.0007186372745490982,-0.000720440881763527,-0.0007222444889779559,-0.0007240480961923848,-0.0007258517034068136,-0.0007276553106212425,-0.0007294589178356714,-0.0007312625250501002,-0.0007330661322645291,-0.000734869739478958,-0.0007366733466933868,-0.0007384769539078156,-0.0007402805611222445,-0.0007420841683366733,-0.0007438877755511022,-0.000745691382765531,-0.0007474949899799599,-0.0007492985971943888,-0.0007511022044088176,-0.0007529058116232465,-0.0007547094188376754,-0.0007565130260521042,-0.000758316633266533,-0.000760120240480962,-0.0007619238476953907,-0.0007637274549098196,-0.0007655310621242485,-0.0007673346693386773,-0.0007691382765531062,-0.0007709418837675351,-0.0007727454909819639,-0.0007745490981963928,-0.0007763527054108217,-0.0007781563126252505,-0.0007799599198396794,-0.0007817635270541082,-0.000783567134268537,-0.0007853707414829659,-0.0007871743486973948,-0.0007889779559118236,-0.0007907815631262525,-0.0007925851703406814,-0.0007943887775551102,-0.0007961923847695391,-0.000797995991983968,-0.0007997995991983968,-0.0008016032064128256,-0.0008034068136272545,-0.0008052104208416833,-0.0008070140280561122,-0.0008088176352705411,-0.0008106212424849699,-0.0008124248496993988,-0.0008142284569138277,-0.0008160320641282565,-0.0008178356713426854,-0.0008196392785571143,-0.0008214428857715431,-0.000823246492985972,-0.0008250501002004008,-0.0008268537074148296,-0.0008286573146292585,-0.0008304609218436874,-0.0008322645290581162,-0.0008340681362725451,-0.000835871743486974,-0.0008376753507014028,-0.0008394789579158317,-0.0008412825651302606,-0.0008430861723446894,-0.0008448897795591182,-0.0008466933867735471,-0.0008484969939879759,-0.0008503006012024048,-0.0008521042084168337,-0.0008539078156312625,-0.0008557114228456914,-0.0008575150300601203,-0.0008593186372745491,-0.000861122244488978,-0.0008629258517034069,-0.0008647294589178357,-0.0008665330661322645,-0.0008683366733466933,-0.0008701402805611222,-0.0008719438877755511,-0.0008737474949899799,-0.0008755511022044088,-0.0008773547094188377,-0.0008791583166332665,-0.0008809619238476954,-0.0008827655310621243,-0.0008845691382765531,-0.000886372745490982,-0.0008881763527054108,-0.0008899799599198396,-0.0008917835671342685,-0.0008935871743486974,-0.0008953907815631262,-0.0008971943887775551,-0.000898997995991984,-0.0009008016032064128,-0.0009026052104208417,-0.0009044088176352706,-0.0009062124248496994,-0.0009080160320641283,-0.0009098196392785571,-0.0009116232464929859,-0.0009134268537074148,-0.0009152304609218437,-0.0009170340681362725,-0.0009188376753507014,-0.0009206412825651303,-0.0009224448897795591,-0.000924248496993988,-0.0009260521042084169,-0.0009278557114228457,-0.0009296593186372745,-0.0009314629258517034,-0.0009332665330661322,-0.0009350701402805611,-0.00093687374749499,-0.0009386773547094188,-0.0009404809619238477,-0.0009422845691382766,-0.0009440881763527054,-0.0009458917835671343,-0.0009476953907815632,-0.000949498997995992,-0.0009513026052104208,-0.0009531062124248497,-0.0009549098196392785,-0.0009567134268537074,-0.0009585170340681363,-0.0009603206412825651,-0.000962124248496994,-0.0009639278557114229,-0.0009657314629258517,-0.0009675350701402806,-0.0009693386773547095,-0.0009711422845691383,-0.0009729458917835671,-0.000974749498997996,-0.0009765531062124248,-0.0009783567134268537,-0.0009801603206412825,-0.0009819639278557115,-0.0009837675350701403,-0.000985571142284569,-0.000987374749498998,-0.0009891783567134269,-0.0009909819639278557,-0.0009927855711422847,-0.0009945891783567134,-0.0009963927855711422,-0.0009981963927855712,-0.001]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_large.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_large.json new file mode 100644 index 000000000000..d478a66ac1d1 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_large.json @@ -0,0 +1 @@ +{"expected":["0110001111010000","0110010001101000","0110010011101001","0110010101101001","0110010111101001","0110011001101001","0110011011101010","0110011101101010","0110011111101010","0110100000110101","0110100001110101","0110100010110101","0110100011110110","0110100100110110","0110100101110110","0110100110110110","0110100111110110","0110101000110110","0110101001110110","0110101010110110","0110101011110111","0110101100110111","0110101101110111","0110101110110111","0110101111110111","0110110000011100","0110110000111100","0110110001011100","0110110001111100","0110110010011100","0110110010111100","0110110011011100","0110110011111100","0110110100011100","0110110100111100","0110110101011100","0110110101111100","0110110110011100","0110110110111100","0110110111011101","0110110111111101","0110111000011101","0110111000111101","0110111001011101","0110111001111101","0110111010011101","0110111010111101","0110111011011101","0110111011111101","0110111100011101","0110111100111101","0110111101011101","0110111101111101","0110111110011101","0110111110111101","0110111111011110","0110111111111110","0111000000001111","0111000000011111","0111000000101111","0111000000111111","0111000001001111","0111000001011111","0111000001101111","0111000001111111","0111000010001111","0111000010011111","0111000010101111","0111000010111111","0111000011001111","0111000011011111","0111000011101111","0111000011111111","0111000100001111","0111000100011111","0111000100101111","0111000100111111","0111000101001111","0111000101100000","0111000101110000","0111000110000000","0111000110010000","0111000110100000","0111000110110000","0111000111000000","0111000111010000","0111000111100000","0111000111110000","0111001000000000","0111001000010000","0111001000100000","0111001000110000","0111001001000000","0111001001010000","0111001001100000","0111001001110000","0111001010000000","0111001010010000","0111001010100000","0111001010110000","0111001011000000","0111001011010000","0111001011100000","0111001011110000","0111001100000000","0111001100010000","0111001100100000","0111001100110000","0111001101000000","0111001101010000","0111001101100001","0111001101110001","0111001110000001","0111001110010001","0111001110100001","0111001110110001","0111001111000001","0111001111010001","0111001111100001","0111001111110001","0111010000000000","0111010000001000","0111010000010000","0111010000011000","0111010000100000","0111010000101001","0111010000110001","0111010000111001","0111010001000001","0111010001001001","0111010001010001","0111010001011001","0111010001100001","0111010001101001","0111010001110001","0111010001111001","0111010010000001","0111010010001001","0111010010010001","0111010010011001","0111010010100001","0111010010101001","0111010010110001","0111010010111001","0111010011000001","0111010011001001","0111010011010001","0111010011011001","0111010011100001","0111010011101001","0111010011110001","0111010011111001","0111010100000001","0111010100001001","0111010100010001","0111010100011001","0111010100100001","0111010100101001","0111010100110001","0111010100111001","0111010101000001","0111010101001001","0111010101010001","0111010101011001","0111010101100001","0111010101101001","0111010101110001","0111010101111001","0111010110000001","0111010110001001","0111010110010001","0111010110011001","0111010110100001","0111010110101001","0111010110110001","0111010110111001","0111010111000001","0111010111001001","0111010111010001","0111010111011001","0111010111100001","0111010111101001","0111010111110001","0111010111111001","0111011000000001","0111011000001001","0111011000010001","0111011000011001","0111011000100010","0111011000101010","0111011000110010","0111011000111010","0111011001000010","0111011001001010","0111011001010010","0111011001011010","0111011001100010","0111011001101010","0111011001110010","0111011001111010","0111011010000010","0111011010001010","0111011010010010","0111011010011010","0111011010100010","0111011010101010","0111011010110010","0111011010111010","0111011011000010","0111011011001010","0111011011010010","0111011011011010","0111011011100010","0111011011101010","0111011011110010","0111011011111010","0111011100000010","0111011100001010","0111011100010010","0111011100011010","0111011100100010","0111011100101010","0111011100110010","0111011100111010","0111011101000010","0111011101001010","0111011101010010","0111011101011010","0111011101100010","0111011101101010","0111011101110010","0111011101111010","0111011110000010","0111011110001010","0111011110010010","0111011110011010","0111011110100010","0111011110101010","0111011110110010","0111011110111010","0111011111000010","0111011111001010","0111011111010010","0111011111011010","0111011111100010","0111011111101010","0111011111110010","0111011111111010","0111100000000001","0111100000000101","0111100000001001","0111100000001101","0111100000010001","0111100000010101","0111100000011001","0111100000011101","0111100000100001","0111100000100101","0111100000101001","0111100000101101","0111100000110001","0111100000110101","0111100000111001","0111100000111101","0111100001000001","0111100001000101","0111100001001001","0111100001001101","0111100001010001","0111100001010101","0111100001011001","0111100001011101","0111100001100001","0111100001100101","0111100001101001","0111100001101101","0111100001110001","0111100001110101","0111100001111001","0111100001111101","0111100010000001","0111100010000110","0111100010001010","0111100010001110","0111100010010010","0111100010010110","0111100010011010","0111100010011110","0111100010100010","0111100010100110","0111100010101010","0111100010101110","0111100010110010","0111100010110110","0111100010111010","0111100010111110","0111100011000010","0111100011000110","0111100011001010","0111100011001110","0111100011010010","0111100011010110","0111100011011010","0111100011011110","0111100011100010","0111100011100110","0111100011101010","0111100011101110","0111100011110010","0111100011110110","0111100011111010","0111100011111110","0111100100000010","0111100100000110","0111100100001010","0111100100001110","0111100100010010","0111100100010110","0111100100011010","0111100100011110","0111100100100010","0111100100100110","0111100100101010","0111100100101110","0111100100110010","0111100100110110","0111100100111010","0111100100111110","0111100101000010","0111100101000110","0111100101001010","0111100101001110","0111100101010010","0111100101010110","0111100101011010","0111100101011110","0111100101100010","0111100101100110","0111100101101010","0111100101101110","0111100101110010","0111100101110110","0111100101111010","0111100101111110","0111100110000010","0111100110000110","0111100110001010","0111100110001110","0111100110010010","0111100110010110","0111100110011010","0111100110011110","0111100110100010","0111100110100110","0111100110101010","0111100110101110","0111100110110010","0111100110110110","0111100110111010","0111100110111110","0111100111000010","0111100111000110","0111100111001010","0111100111001110","0111100111010010","0111100111010110","0111100111011010","0111100111011110","0111100111100010","0111100111100110","0111100111101010","0111100111101110","0111100111110010","0111100111110110","0111100111111010","0111100111111110","0111101000000010","0111101000000110","0111101000001010","0111101000001110","0111101000010010","0111101000010110","0111101000011010","0111101000011110","0111101000100010","0111101000100110","0111101000101010","0111101000101110","0111101000110010","0111101000110110","0111101000111010","0111101000111110","0111101001000010","0111101001000110","0111101001001010","0111101001001110","0111101001010010","0111101001010110","0111101001011010","0111101001011110","0111101001100010","0111101001100110","0111101001101010","0111101001101110","0111101001110010","0111101001110110","0111101001111011","0111101001111111","0111101010000011","0111101010000111","0111101010001011","0111101010001111","0111101010010011","0111101010010111","0111101010011011","0111101010011111","0111101010100011","0111101010100111","0111101010101011","0111101010101111","0111101010110011","0111101010110111","0111101010111011","0111101010111111","0111101011000011","0111101011000111","0111101011001011","0111101011001111","0111101011010011","0111101011010111","0111101011011011","0111101011011111","0111101011100011","0111101011100111","0111101011101011","0111101011101111","0111101011110011","0111101011110111","0111101011111011","0111101011111111","0111101100000011","0111101100000111","0111101100001011","0111101100001111","0111101100010011","0111101100010111","0111101100011011","0111101100011111","0111101100100011","0111101100100111","0111101100101011","0111101100101111","0111101100110011","0111101100110111","0111101100111011","0111101100111111","0111101101000011","0111101101000111","0111101101001011","0111101101001111","0111101101010011","0111101101010111","0111101101011011","0111101101011111","0111101101100011","0111101101100111","0111101101101011","0111101101101111","0111101101110011","0111101101110111","0111101101111011","0111101101111111","0111101110000011","0111101110000111","0111101110001011","0111101110001111","0111101110010011","0111101110010111","0111101110011011","0111101110011111","0111101110100011","0111101110100111","0111101110101011","0111101110101111","0111101110110011","0111101110110111","0111101110111011","0111101110111111","0111101111000011","0111101111000111","0111101111001011","0111101111001111","0111101111010011","0111101111010111","0111101111011011","0111101111011111","0111101111100011","0111101111100111","0111101111101011","0111101111101111"],"x":[1000.0,1128.256513026052,1256.5130260521041,1384.7695390781564,1513.0260521042085,1641.2825651302605,1769.5390781563126,1897.7955911823647,2026.0521042084167,2154.308617234469,2282.565130260521,2410.8216432865734,2539.078156312625,2667.3346693386775,2795.5911823647293,2923.8476953907816,3052.1042084168334,3180.3607214428857,3308.617234468938,3436.87374749499,3565.130260521042,3693.386773547094,3821.6432865731463,3949.8997995991986,4078.1563126252504,4206.412825651302,4334.669338677355,4462.925851703407,4591.182364729459,4719.438877755511,4847.695390781563,4975.951903807615,5104.208416833667,5232.46492985972,5360.7214428857715,5488.977955911823,5617.234468937876,5745.490981963928,5873.74749498998,6002.0040080160325,6130.260521042084,6258.517034068136,6386.773547094188,6515.030060120241,6643.2865731462925,6771.543086172344,6899.799599198397,7028.056112224449,7156.312625250501,7284.5691382765535,7412.825651302605,7541.082164328657,7669.338677354709,7797.595190380762,7925.851703406814,8054.108216432865,8182.364729458918,8310.62124248497,8438.877755511023,8567.134268537075,8695.390781563126,8823.647294589178,8951.90380761523,9080.160320641282,9208.416833667334,9336.673346693387,9464.92985971944,9593.186372745491,9721.442885771543,9849.699398797595,9977.955911823647,10106.2124248497,10234.468937875752,10362.725450901804,10490.981963927856,10619.238476953908,10747.49498997996,10875.751503006011,11004.008016032065,11132.264529058117,11260.521042084169,11388.77755511022,11517.034068136272,11645.290581162324,11773.547094188376,11901.80360721443,12030.060120240481,12158.316633266533,12286.573146292585,12414.829659318637,12543.086172344689,12671.34268537074,12799.599198396794,12927.855711422846,13056.112224448898,13184.36873747495,13312.625250501002,13440.881763527053,13569.138276553107,13697.394789579159,13825.65130260521,13953.907815631263,14082.164328657314,14210.420841683366,14338.677354709418,14466.933867735472,14595.190380761524,14723.446893787575,14851.703406813627,14979.959919839679,15108.21643286573,15236.472945891783,15364.729458917836,15492.985971943888,15621.24248496994,15749.498997995992,15877.755511022044,16006.012024048096,16134.268537074147,16262.525050100201,16390.781563126253,16519.038076152305,16647.294589178357,16775.55110220441,16903.80761523046,17032.064128256512,17160.320641282564,17288.577154308616,17416.833667334668,17545.090180360723,17673.346693386775,17801.603206412827,17929.85971943888,18058.11623246493,18186.372745490982,18314.629258517034,18442.885771543086,18571.142284569138,18699.39879759519,18827.65531062124,18955.911823647293,19084.168336673345,19212.4248496994,19340.681362725452,19468.937875751504,19597.194388777556,19725.450901803608,19853.70741482966,19981.96392785571,20110.220440881763,20238.476953907815,20366.733466933867,20494.98997995992,20623.24649298597,20751.503006012023,20879.759519038074,21008.01603206413,21136.27254509018,21264.529058116234,21392.785571142285,21521.042084168337,21649.29859719439,21777.55511022044,21905.811623246493,22034.068136272545,22162.324649298596,22290.581162324648,22418.8376753507,22547.094188376752,22675.350701402807,22803.60721442886,22931.86372745491,23060.120240480963,23188.376753507015,23316.633266533066,23444.88977955912,23573.14629258517,23701.402805611222,23829.659318637274,23957.915831663326,24086.172344689377,24214.42885771543,24342.68537074148,24470.941883767537,24599.19839679359,24727.45490981964,24855.711422845692,24983.967935871744,25112.224448897796,25240.480961923848,25368.7374749499,25496.99398797595,25625.250501002003,25753.507014028055,25881.763527054107,26010.02004008016,26138.276553106214,26266.533066132266,26394.789579158318,26523.04609218437,26651.30260521042,26779.559118236473,26907.815631262525,27036.072144288577,27164.32865731463,27292.58517034068,27420.841683366732,27549.098196392784,27677.354709418836,27805.611222444888,27933.867735470943,28062.124248496995,28190.380761523047,28318.6372745491,28446.89378757515,28575.150300601203,28703.406813627254,28831.663326653306,28959.919839679358,29088.17635270541,29216.43286573146,29344.689378757514,29472.945891783565,29601.20240480962,29729.458917835673,29857.715430861725,29985.971943887776,30114.22845691383,30242.48496993988,30370.741482965932,30498.997995991984,30627.254509018036,30755.511022044087,30883.76753507014,31012.02404809619,31140.280561122243,31268.537074148295,31396.79358717435,31525.050100200402,31653.306613226454,31781.563126252506,31909.819639278558,32038.07615230461,32166.33266533066,32294.589178356713,32422.845691382765,32551.102204408817,32679.35871743487,32807.61523046092,32935.871743486976,33064.128256513024,33192.38476953908,33320.64128256513,33448.89779559118,33577.15430861723,33705.41082164329,33833.667334669335,33961.92384769539,34090.180360721446,34218.436873747494,34346.69338677355,34474.9498997996,34603.20641282565,34731.4629258517,34859.71943887776,34987.975951903805,35116.23246492986,35244.48897795591,35372.745490981964,35501.00200400801,35629.25851703407,35757.51503006012,35885.77154308617,36014.02805611223,36142.284569138275,36270.54108216433,36398.79759519038,36527.054108216435,36655.31062124248,36783.56713426854,36911.82364729459,37040.08016032064,37168.33667334669,37296.593186372746,37424.8496993988,37553.10621242485,37681.362725450905,37809.61923847695,37937.87575150301,38066.13226452906,38194.38877755511,38322.64529058116,38450.901803607216,38579.158316633264,38707.41482965932,38835.67134268537,38963.92785571142,39092.18436873748,39220.44088176353,39348.69739478958,39476.95390781563,39605.210420841686,39733.466933867734,39861.72344689379,39989.97995991984,40118.23647294589,40246.49298597194,40374.749498998,40503.006012024045,40631.2625250501,40759.51903807615,40887.775551102204,41016.03206412826,41144.28857715431,41272.54509018036,41400.80160320641,41529.05811623247,41657.314629258515,41785.57114228457,41913.82765531062,42042.084168336674,42170.34068136272,42298.59719438878,42426.853707414826,42555.11022044088,42683.36673346694,42811.623246492985,42939.87975951904,43068.13627254509,43196.392785571144,43324.64929859719,43452.90581162325,43581.162324649296,43709.41883767535,43837.6753507014,43965.931863727455,44094.188376753504,44222.44488977956,44350.701402805615,44478.95791583166,44607.21442885772,44735.47094188377,44863.72745490982,44991.98396793587,45120.240480961926,45248.496993987974,45376.75350701403,45505.01002004008,45633.26653306613,45761.52304609218,45889.77955911824,46018.03607214429,46146.29258517034,46274.549098196396,46402.805611222444,46531.0621242485,46659.31863727455,46787.5751503006,46915.83166332665,47044.08817635271,47172.344689378755,47300.60120240481,47428.85771543086,47557.114228456914,47685.37074148296,47813.62725450902,47941.88376753507,48070.14028056112,48198.39679358718,48326.653306613225,48454.90981963928,48583.16633266533,48711.422845691384,48839.67935871743,48967.93587174349,49096.192384769536,49224.44889779559,49352.70541082164,49480.961923847695,49609.21843687375,49737.4749498998,49865.731462925854,49993.9879759519,50122.24448897796,50250.501002004006,50378.75751503006,50507.01402805611,50635.270541082165,50763.52705410821,50891.78356713427,51020.04008016032,51148.29659318637,51276.55310621243,51404.80961923848,51533.06613226453,51661.32264529058,51789.579158316636,51917.835671342684,52046.09218436874,52174.34869739479,52302.60521042084,52430.86172344689,52559.11823647295,52687.374749498995,52815.63126252505,52943.887775551106,53072.144288577154,53200.40080160321,53328.65731462926,53456.91382765531,53585.17034068136,53713.42685370742,53841.683366733465,53969.93987975952,54098.19639278557,54226.452905811624,54354.70941883767,54482.96593186373,54611.222444889776,54739.47895791583,54867.73547094189,54995.991983967935,55124.24849699399,55252.50501002004,55380.761523046094,55509.01803607214,55637.2745490982,55765.531062124246,55893.7875751503,56022.04408817635,56150.300601202405,56278.55711422845,56406.81362725451,56535.070140280564,56663.32665330661,56791.58316633267,56919.839679358716,57048.09619238477,57176.35270541082,57304.609218436875,57432.86573146292,57561.12224448898,57689.37875751503,57817.63527054108,57945.89178356713,58074.14829659319,58202.40480961924,58330.66132264529,58458.917835671346,58587.174348697394,58715.43086172345,58843.6873747495,58971.94388777555,59100.2004008016,59228.45691382766,59356.713426853705,59484.96993987976,59613.22645290581,59741.482965931864,59869.73947895792,59997.99599198397,60126.25250501002,60254.50901803607,60382.76553106213,60511.022044088175,60639.27855711423,60767.53507014028,60895.791583166334,61024.04809619238,61152.30460921844,61280.561122244486,61408.81763527054,61537.07414829659,61665.330661322645,61793.5871743487,61921.84368737475,62050.100200400804,62178.35671342685,62306.61322645291,62434.869739478956,62563.12625250501,62691.38276553106,62819.639278557115,62947.89579158316,63076.15230460922,63204.40881763527,63332.66533066132,63460.92184368738,63589.178356713426,63717.43486973948,63845.69138276553,63973.947895791585,64102.20440881763,64230.46092184369,64358.71743486974,64486.97394789579,64615.23046092184,64743.486973947896,64871.743486973945,65000.0]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_normal.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_normal.json new file mode 100644 index 000000000000..f0160a94720a --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_normal.json @@ -0,0 +1 @@ +{"expected":["0000000000000000","0100000000000011","0100010000000011","0100011000000101","0100100000000011","0100100100000100","0100101000000101","0100101100000101","0100110000000011","0100110010000011","0100110100000100","0100110110000100","0100111000000101","0100111010000101","0100111100000101","0100111110000110","0101000000000011","0101000001000011","0101000010000011","0101000011000100","0101000100000100","0101000101000100","0101000110000100","0101000111000100","0101001000000101","0101001001000101","0101001010000101","0101001011000101","0101001100000101","0101001101000110","0101001110000110","0101001111000110","0101010000000011","0101010000100011","0101010001000011","0101010001100011","0101010010000011","0101010010100100","0101010011000100","0101010011100100","0101010100000100","0101010100100100","0101010101000100","0101010101100100","0101010110000100","0101010110100100","0101010111000100","0101010111100101","0101011000000101","0101011000100101","0101011001000101","0101011001100101","0101011010000101","0101011010100101","0101011011000101","0101011011100101","0101011100000101","0101011100100101","0101011101000110","0101011101100110","0101011110000110","0101011110100110","0101011111000110","0101011111100110","0101100000000011","0101100000010011","0101100000100011","0101100000110011","0101100001000011","0101100001010011","0101100001100011","0101100001110011","0101100010000011","0101100010010100","0101100010100100","0101100010110100","0101100011000100","0101100011010100","0101100011100100","0101100011110100","0101100100000100","0101100100010100","0101100100100100","0101100100110100","0101100101000100","0101100101010100","0101100101100100","0101100101110100","0101100110000100","0101100110010100","0101100110100100","0101100110110100","0101100111000100","0101100111010100","0101100111100101","0101100111110101","0101101000000101","0101101000010101","0101101000100101","0101101000110101","0101101001000101","0101101001010101","0101101001100101","0101101001110101","0101101010000101","0101101010010101","0101101010100101","0101101010110101","0101101011000101","0101101011010101","0101101011100101","0101101011110101","0101101100000101","0101101100010101","0101101100100101","0101101100110110","0101101101000110","0101101101010110","0101101101100110","0101101101110110","0101101110000110","0101101110010110","0101101110100110","0101101110110110","0101101111000110","0101101111010110","0101101111100110","0101101111110110","0101110000000011","0101110000001011","0101110000010011","0101110000011011","0101110000100011","0101110000101011","0101110000110011","0101110000111011","0101110001000011","0101110001001011","0101110001010011","0101110001011011","0101110001100011","0101110001101011","0101110001110011","0101110001111011","0101110010000011","0101110010001011","0101110010010100","0101110010011100","0101110010100100","0101110010101100","0101110010110100","0101110010111100","0101110011000100","0101110011001100","0101110011010100","0101110011011100","0101110011100100","0101110011101100","0101110011110100","0101110011111100","0101110100000100","0101110100001100","0101110100010100","0101110100011100","0101110100100100","0101110100101100","0101110100110100","0101110100111100","0101110101000100","0101110101001100","0101110101010100","0101110101011100","0101110101100100","0101110101101100","0101110101110100","0101110101111100","0101110110000100","0101110110001100","0101110110010100","0101110110011100","0101110110100100","0101110110101100","0101110110110100","0101110110111100","0101110111000100","0101110111001100","0101110111010100","0101110111011100","0101110111100101","0101110111101101","0101110111110101","0101110111111101","0101111000000101","0101111000001101","0101111000010101","0101111000011101","0101111000100101","0101111000101101","0101111000110101","0101111000111101","0101111001000101","0101111001001101","0101111001010101","0101111001011101","0101111001100101","0101111001101101","0101111001110101","0101111001111101","0101111010000101","0101111010001101","0101111010010101","0101111010011101","0101111010100101","0101111010101101","0101111010110101","0101111010111101","0101111011000101","0101111011001101","0101111011010101","0101111011011101","0101111011100101","0101111011101101","0101111011110101","0101111011111101","0101111100000101","0101111100001101","0101111100010101","0101111100011101","0101111100100101","0101111100101110","0101111100110110","0101111100111110","0101111101000110","0101111101001110","0101111101010110","0101111101011110","0101111101100110","0101111101101110","0101111101110110","0101111101111110","0101111110000110","0101111110001110","0101111110010110","0101111110011110","0101111110100110","0101111110101110","0101111110110110","0101111110111110","0101111111000110","0101111111001110","0101111111010110","0101111111011110","0101111111100110","0101111111101110","0101111111110110","0101111111111110","0110000000000011","0110000000000111","0110000000001011","0110000000001111","0110000000010011","0110000000010111","0110000000011011","0110000000011111","0110000000100011","0110000000100111","0110000000101011","0110000000101111","0110000000110011","0110000000110111","0110000000111011","0110000000111111","0110000001000011","0110000001000111","0110000001001011","0110000001001111","0110000001010011","0110000001010111","0110000001011011","0110000001011111","0110000001100011","0110000001100111","0110000001101011","0110000001101111","0110000001110011","0110000001110111","0110000001111011","0110000001111111","0110000010000011","0110000010000111","0110000010001011","0110000010001111","0110000010010100","0110000010011000","0110000010011100","0110000010100000","0110000010100100","0110000010101000","0110000010101100","0110000010110000","0110000010110100","0110000010111000","0110000010111100","0110000011000000","0110000011000100","0110000011001000","0110000011001100","0110000011010000","0110000011010100","0110000011011000","0110000011011100","0110000011100000","0110000011100100","0110000011101000","0110000011101100","0110000011110000","0110000011110100","0110000011111000","0110000011111100","0110000100000000","0110000100000100","0110000100001000","0110000100001100","0110000100010000","0110000100010100","0110000100011000","0110000100011100","0110000100100000","0110000100100100","0110000100101000","0110000100101100","0110000100110000","0110000100110100","0110000100111000","0110000100111100","0110000101000000","0110000101000100","0110000101001000","0110000101001100","0110000101010000","0110000101010100","0110000101011000","0110000101011100","0110000101100000","0110000101100100","0110000101101000","0110000101101100","0110000101110000","0110000101110100","0110000101111000","0110000101111100","0110000110000000","0110000110000100","0110000110001000","0110000110001100","0110000110010000","0110000110010100","0110000110011000","0110000110011100","0110000110100000","0110000110100100","0110000110101000","0110000110101100","0110000110110000","0110000110110100","0110000110111000","0110000110111100","0110000111000000","0110000111000100","0110000111001000","0110000111001100","0110000111010000","0110000111010100","0110000111011000","0110000111011100","0110000111100001","0110000111100101","0110000111101001","0110000111101101","0110000111110001","0110000111110101","0110000111111001","0110000111111101","0110001000000001","0110001000000101","0110001000001001","0110001000001101","0110001000010001","0110001000010101","0110001000011001","0110001000011101","0110001000100001","0110001000100101","0110001000101001","0110001000101101","0110001000110001","0110001000110101","0110001000111001","0110001000111101","0110001001000001","0110001001000101","0110001001001001","0110001001001101","0110001001010001","0110001001010101","0110001001011001","0110001001011101","0110001001100001","0110001001100101","0110001001101001","0110001001101101","0110001001110001","0110001001110101","0110001001111001","0110001001111101","0110001010000001","0110001010000101","0110001010001001","0110001010001101","0110001010010001","0110001010010101","0110001010011001","0110001010011101","0110001010100001","0110001010100101","0110001010101001","0110001010101101","0110001010110001","0110001010110101","0110001010111001","0110001010111101","0110001011000001","0110001011000101","0110001011001001","0110001011001101","0110001011010001","0110001011010101","0110001011011001","0110001011011101","0110001011100001","0110001011100101","0110001011101001","0110001011101101","0110001011110001","0110001011110101","0110001011111001","0110001011111101","0110001100000001","0110001100000101","0110001100001001","0110001100001101","0110001100010001","0110001100010101","0110001100011001","0110001100011101","0110001100100001","0110001100100101","0110001100101001","0110001100101110","0110001100110010","0110001100110110","0110001100111010","0110001100111110","0110001101000010","0110001101000110","0110001101001010","0110001101001110","0110001101010010","0110001101010110","0110001101011010","0110001101011110","0110001101100010","0110001101100110","0110001101101010","0110001101101110","0110001101110010","0110001101110110","0110001101111010","0110001101111110","0110001110000010","0110001110000110","0110001110001010","0110001110001110","0110001110010010","0110001110010110","0110001110011010","0110001110011110","0110001110100010","0110001110100110","0110001110101010","0110001110101110","0110001110110010","0110001110110110","0110001110111010","0110001110111110","0110001111000010","0110001111000110","0110001111001010","0110001111001110","0110001111010010"],"x":[0.0,2.006012024048096,4.012024048096192,6.018036072144288,8.024048096192384,10.030060120240481,12.036072144288577,14.042084168336673,16.04809619238477,18.054108216432866,20.060120240480963,22.06613226452906,24.072144288577153,26.07815631262525,28.084168336673347,30.090180360721444,32.09619238476954,34.102204408817634,36.10821643286573,38.11422845691383,40.120240480961925,42.12625250501002,44.13226452905812,46.13827655310621,48.144288577154306,50.1503006012024,52.1563126252505,54.1623246492986,56.168336673346694,58.17434869739479,60.18036072144289,62.186372745490985,64.19238476953907,66.19839679358718,68.20440881763527,70.21042084168337,72.21643286573146,74.22244488977955,76.22845691382766,78.23446893787575,80.24048096192385,82.24649298597194,84.25250501002004,86.25851703406813,88.26452905811624,90.27054108216433,92.27655310621242,94.28256513026052,96.28857715430861,98.29458917835672,100.3006012024048,102.30661322645291,104.312625250501,106.3186372745491,108.3246492985972,110.33066132264528,112.33667334669339,114.34268537074148,116.34869739478958,118.35470941883767,120.36072144288578,122.36673346693387,124.37274549098197,126.37875751503006,128.38476953907815,130.39078156312624,132.39679358717436,134.40280561122245,136.40881763527054,138.41482965931863,140.42084168336675,142.42685370741484,144.43286573146293,146.43887775551102,148.4448897795591,150.45090180360722,152.4569138276553,154.4629258517034,156.4689378757515,158.4749498997996,160.4809619238477,162.4869739478958,164.49298597194388,166.49899799599197,168.5050100200401,170.51102204408818,172.51703406813627,174.52304609218436,176.52905811623248,178.53507014028057,180.54108216432866,182.54709418837675,184.55310621242484,186.55911823647295,188.56513026052104,190.57114228456913,192.57715430861722,194.58316633266534,196.58917835671343,198.59519038076152,200.6012024048096,202.6072144288577,204.61322645290582,206.6192384769539,208.625250501002,210.6312625250501,212.6372745490982,214.6432865731463,216.6492985971944,218.65531062124248,220.66132264529057,222.6673346693387,224.67334669338678,226.67935871743487,228.68537074148296,230.69138276553107,232.69739478957916,234.70340681362725,236.70941883767534,238.71543086172343,240.72144288577155,242.72745490981964,244.73346693386773,246.73947895791582,248.74549098196394,250.75150300601203,252.75751503006012,254.7635270541082,256.7695390781563,258.7755511022044,260.7815631262525,262.7875751503006,264.7935871743487,266.7995991983968,268.8056112224449,270.811623246493,272.8176352705411,274.8236472945892,276.82965931863725,278.8356713426854,280.8416833667335,282.84769539078155,284.85370741482967,286.85971943887773,288.86573146292585,290.87174348697397,292.87775551102203,294.88376753507015,296.8897795591182,298.89579158316633,300.90180360721445,302.9078156312625,304.9138276553106,306.91983967935874,308.9258517034068,310.9318637274549,312.937875751503,314.9438877755511,316.9498997995992,318.9559118236473,320.9619238476954,322.96793587174346,324.9739478957916,326.9799599198397,328.98597194388776,330.9919839679359,332.99799599198394,335.00400801603206,337.0100200400802,339.01603206412824,341.02204408817636,343.0280561122245,345.03406813627254,347.04008016032066,349.0460921843687,351.05210420841684,353.05811623246495,355.064128256513,357.07014028056113,359.0761523046092,361.0821643286573,363.08817635270543,365.0941883767535,367.1002004008016,369.1062124248497,371.1122244488978,373.1182364729459,375.12424849699397,377.1302605210421,379.1362725450902,381.14228456913827,383.1482965931864,385.15430861723445,387.16032064128257,389.1663326653307,391.17234468937875,393.17835671342687,395.1843687374749,397.19038076152304,399.19639278557116,401.2024048096192,403.20841683366734,405.2144288577154,407.2204408817635,409.22645290581164,411.2324649298597,413.2384769539078,415.24448897795594,417.250501002004,419.2565130260521,421.2625250501002,423.2685370741483,425.2745490981964,427.2805611222445,429.2865731462926,431.29258517034066,433.2985971943888,435.3046092184369,437.31062124248496,439.3166332665331,441.32264529058114,443.32865731462925,445.3346693386774,447.34068136272543,449.34669338677355,451.35270541082167,453.35871743486973,455.36472945891785,457.3707414829659,459.37675350701403,461.38276553106215,463.3887775551102,465.3947895791583,467.4008016032064,469.4068136272545,471.4128256513026,473.4188376753507,475.4248496993988,477.43086172344687,479.436873747495,481.4428857715431,483.44889779559117,485.4549098196393,487.4609218436874,489.46693386773546,491.4729458917836,493.47895791583164,495.48496993987976,497.4909819639279,499.49699398797594,501.50300601202406,503.5090180360721,505.51503006012024,507.52104208416836,509.5270541082164,511.53306613226454,513.5390781563126,515.5450901803607,517.5511022044088,519.557114228457,521.563126252505,523.5691382765531,525.5751503006012,527.5811623246493,529.5871743486974,531.5931863727454,533.5991983967936,535.6052104208417,537.6112224448898,539.6172344689379,541.623246492986,543.629258517034,545.6352705410821,547.6412825651303,549.6472945891784,551.6533066132265,553.6593186372745,555.6653306613226,557.6713426853707,559.6773547094189,561.683366733467,563.689378757515,565.6953907815631,567.7014028056112,569.7074148296593,571.7134268537075,573.7194388777555,575.7254509018036,577.7314629258517,579.7374749498998,581.7434869739479,583.7494989979959,585.7555110220441,587.7615230460922,589.7675350701403,591.7735470941884,593.7795591182364,595.7855711422845,597.7915831663327,599.7975951903808,601.8036072144289,603.8096192384769,605.815631262525,607.8216432865731,609.8276553106213,611.8336673346694,613.8396793587175,615.8456913827655,617.8517034068136,619.8577154308617,621.8637274549098,623.869739478958,625.875751503006,627.8817635270541,629.8877755511022,631.8937875751503,633.8997995991984,635.9058116232464,637.9118236472946,639.9178356713427,641.9238476953908,643.9298597194389,645.9358717434869,647.941883767535,649.9478957915832,651.9539078156313,653.9599198396794,655.9659318637274,657.9719438877755,659.9779559118236,661.9839679358718,663.9899799599199,665.9959919839679,668.002004008016,670.0080160320641,672.0140280561122,674.0200400801604,676.0260521042084,678.0320641282565,680.0380761523046,682.0440881763527,684.0501002004008,686.056112224449,688.062124248497,690.0681362725451,692.0741482965932,694.0801603206413,696.0861723446894,698.0921843687374,700.0981963927856,702.1042084168337,704.1102204408818,706.1162324649299,708.1222444889779,710.128256513026,712.1342685370741,714.1402805611223,716.1462925851704,718.1523046092184,720.1583166332665,722.1643286573146,724.1703406813627,726.1763527054109,728.1823647294589,730.188376753507,732.1943887775551,734.2004008016032,736.2064128256513,738.2124248496993,740.2184368737475,742.2244488977956,744.2304609218437,746.2364729458918,748.2424849699398,750.2484969939879,752.2545090180361,754.2605210420842,756.2665330661323,758.2725450901804,760.2785571142284,762.2845691382765,764.2905811623247,766.2965931863728,768.3026052104209,770.3086172344689,772.314629258517,774.3206412825651,776.3266533066133,778.3326653306614,780.3386773547094,782.3446893787575,784.3507014028056,786.3567134268537,788.3627254509018,790.3687374749499,792.374749498998,794.3807615230461,796.3867735470942,798.3927855711423,800.3987975951903,802.4048096192384,804.4108216432866,806.4168336673347,808.4228456913828,810.4288577154308,812.4348697394789,814.440881763527,816.4468937875752,818.4529058116233,820.4589178356713,822.4649298597194,824.4709418837675,826.4769539078156,828.4829659318638,830.4889779559119,832.4949899799599,834.501002004008,836.5070140280561,838.5130260521042,840.5190380761524,842.5250501002004,844.5310621242485,846.5370741482966,848.5430861723447,850.5490981963928,852.5551102204408,854.561122244489,856.5671342685371,858.5731462925852,860.5791583166333,862.5851703406813,864.5911823647294,866.5971943887776,868.6032064128257,870.6092184368738,872.6152304609218,874.6212424849699,876.627254509018,878.6332665330661,880.6392785571143,882.6452905811623,884.6513026052104,886.6573146292585,888.6633266533066,890.6693386773547,892.6753507014027,894.6813627254509,896.687374749499,898.6933867735471,900.6993987975952,902.7054108216433,904.7114228456913,906.7174348697395,908.7234468937876,910.7294589178357,912.7354709418838,914.7414829659318,916.7474949899799,918.7535070140281,920.7595190380762,922.7655310621243,924.7715430861723,926.7775551102204,928.7835671342685,930.7895791583167,932.7955911823648,934.8016032064128,936.8076152304609,938.813627254509,940.8196392785571,942.8256513026053,944.8316633266533,946.8376753507014,948.8436873747495,950.8496993987976,952.8557114228457,954.8617234468937,956.8677354709419,958.87374749499,960.8797595190381,962.8857715430862,964.8917835671342,966.8977955911823,968.9038076152304,970.9098196392786,972.9158316633267,974.9218436873748,976.9278557114228,978.9338677354709,980.939879759519,982.9458917835672,984.9519038076153,986.9579158316633,988.9639278557114,990.9699398797595,992.9759519038076,994.9819639278558,996.9879759519038,998.9939879759519,1001.0]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_small.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_small.json new file mode 100644 index 000000000000..a96733459c78 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_small.json @@ -0,0 +1 @@ +{"expected":["0000000000000000","0001100000011011","0001110000011011","0001111000101000","0010000000011011","0010000100100001","0010001000101000","0010001100101111","0010010000011011","0010010010011110","0010010100100001","0010010110100101","0010011000101000","0010011010101011","0010011100101111","0010011110110010","0010100000011011","0010100001011100","0010100010011110","0010100011100000","0010100100100001","0010100101100011","0010100110100101","0010100111100110","0010101000101000","0010101001101010","0010101010101011","0010101011101101","0010101100101111","0010101101110000","0010101110110010","0010101111110100","0010110000011011","0010110000111100","0010110001011100","0010110001111101","0010110010011110","0010110010111111","0010110011100000","0010110100000001","0010110100100001","0010110101000010","0010110101100011","0010110110000100","0010110110100101","0010110111000110","0010110111100110","0010111000000111","0010111000101000","0010111001001001","0010111001101010","0010111010001011","0010111010101011","0010111011001100","0010111011101101","0010111100001110","0010111100101111","0010111101010000","0010111101110000","0010111110010001","0010111110110010","0010111111010011","0010111111110100","0011000000001010","0011000000011011","0011000000101011","0011000000111100","0011000001001100","0011000001011100","0011000001101101","0011000001111101","0011000010001110","0011000010011110","0011000010101110","0011000010111111","0011000011001111","0011000011100000","0011000011110000","0011000100000001","0011000100010001","0011000100100001","0011000100110010","0011000101000010","0011000101010011","0011000101100011","0011000101110011","0011000110000100","0011000110010100","0011000110100101","0011000110110101","0011000111000110","0011000111010110","0011000111100110","0011000111110111","0011001000000111","0011001000011000","0011001000101000","0011001000111000","0011001001001001","0011001001011001","0011001001101010","0011001001111010","0011001010001011","0011001010011011","0011001010101011","0011001010111100","0011001011001100","0011001011011101","0011001011101101","0011001011111101","0011001100001110","0011001100011110","0011001100101111","0011001100111111","0011001101010000","0011001101100000","0011001101110000","0011001110000001","0011001110010001","0011001110100010","0011001110110010","0011001111000010","0011001111010011","0011001111100011","0011001111110100","0011010000000010","0011010000001010","0011010000010010","0011010000011011","0011010000100011","0011010000101011","0011010000110011","0011010000111100","0011010001000100","0011010001001100","0011010001010100","0011010001011100","0011010001100101","0011010001101101","0011010001110101","0011010001111101","0011010010000101","0011010010001110","0011010010010110","0011010010011110","0011010010100110","0011010010101110","0011010010110111","0011010010111111","0011010011000111","0011010011001111","0011010011010111","0011010011100000","0011010011101000","0011010011110000","0011010011111000","0011010100000001","0011010100001001","0011010100010001","0011010100011001","0011010100100001","0011010100101010","0011010100110010","0011010100111010","0011010101000010","0011010101001010","0011010101010011","0011010101011011","0011010101100011","0011010101101011","0011010101110011","0011010101111100","0011010110000100","0011010110001100","0011010110010100","0011010110011100","0011010110100101","0011010110101101","0011010110110101","0011010110111101","0011010111000110","0011010111001110","0011010111010110","0011010111011110","0011010111100110","0011010111101111","0011010111110111","0011010111111111","0011011000000111","0011011000001111","0011011000011000","0011011000100000","0011011000101000","0011011000110000","0011011000111000","0011011001000001","0011011001001001","0011011001010001","0011011001011001","0011011001100001","0011011001101010","0011011001110010","0011011001111010","0011011010000010","0011011010001011","0011011010010011","0011011010011011","0011011010100011","0011011010101011","0011011010110100","0011011010111100","0011011011000100","0011011011001100","0011011011010100","0011011011011101","0011011011100101","0011011011101101","0011011011110101","0011011011111101","0011011100000110","0011011100001110","0011011100010110","0011011100011110","0011011100100110","0011011100101111","0011011100110111","0011011100111111","0011011101000111","0011011101010000","0011011101011000","0011011101100000","0011011101101000","0011011101110000","0011011101111001","0011011110000001","0011011110001001","0011011110010001","0011011110011001","0011011110100010","0011011110101010","0011011110110010","0011011110111010","0011011111000010","0011011111001011","0011011111010011","0011011111011011","0011011111100011","0011011111101011","0011011111110100","0011011111111100","0011100000000010","0011100000000110","0011100000001010","0011100000001110","0011100000010010","0011100000010111","0011100000011011","0011100000011111","0011100000100011","0011100000100111","0011100000101011","0011100000101111","0011100000110011","0011100000110111","0011100000111100","0011100001000000","0011100001000100","0011100001001000","0011100001001100","0011100001010000","0011100001010100","0011100001011000","0011100001011100","0011100001100000","0011100001100101","0011100001101001","0011100001101101","0011100001110001","0011100001110101","0011100001111001","0011100001111101","0011100010000001","0011100010000101","0011100010001001","0011100010001110","0011100010010010","0011100010010110","0011100010011010","0011100010011110","0011100010100010","0011100010100110","0011100010101010","0011100010101110","0011100010110011","0011100010110111","0011100010111011","0011100010111111","0011100011000011","0011100011000111","0011100011001011","0011100011001111","0011100011010011","0011100011010111","0011100011011100","0011100011100000","0011100011100100","0011100011101000","0011100011101100","0011100011110000","0011100011110100","0011100011111000","0011100011111100","0011100100000001","0011100100000101","0011100100001001","0011100100001101","0011100100010001","0011100100010101","0011100100011001","0011100100011101","0011100100100001","0011100100100101","0011100100101010","0011100100101110","0011100100110010","0011100100110110","0011100100111010","0011100100111110","0011100101000010","0011100101000110","0011100101001010","0011100101001110","0011100101010011","0011100101010111","0011100101011011","0011100101011111","0011100101100011","0011100101100111","0011100101101011","0011100101101111","0011100101110011","0011100101111000","0011100101111100","0011100110000000","0011100110000100","0011100110001000","0011100110001100","0011100110010000","0011100110010100","0011100110011000","0011100110011100","0011100110100001","0011100110100101","0011100110101001","0011100110101101","0011100110110001","0011100110110101","0011100110111001","0011100110111101","0011100111000001","0011100111000110","0011100111001010","0011100111001110","0011100111010010","0011100111010110","0011100111011010","0011100111011110","0011100111100010","0011100111100110","0011100111101010","0011100111101111","0011100111110011","0011100111110111","0011100111111011","0011100111111111","0011101000000011","0011101000000111","0011101000001011","0011101000001111","0011101000010011","0011101000011000","0011101000011100","0011101000100000","0011101000100100","0011101000101000","0011101000101100","0011101000110000","0011101000110100","0011101000111000","0011101000111101","0011101001000001","0011101001000101","0011101001001001","0011101001001101","0011101001010001","0011101001010101","0011101001011001","0011101001011101","0011101001100001","0011101001100110","0011101001101010","0011101001101110","0011101001110010","0011101001110110","0011101001111010","0011101001111110","0011101010000010","0011101010000110","0011101010001011","0011101010001111","0011101010010011","0011101010010111","0011101010011011","0011101010011111","0011101010100011","0011101010100111","0011101010101011","0011101010101111","0011101010110100","0011101010111000","0011101010111100","0011101011000000","0011101011000100","0011101011001000","0011101011001100","0011101011010000","0011101011010100","0011101011011000","0011101011011101","0011101011100001","0011101011100101","0011101011101001","0011101011101101","0011101011110001","0011101011110101","0011101011111001","0011101011111101","0011101100000010","0011101100000110","0011101100001010","0011101100001110","0011101100010010","0011101100010110","0011101100011010","0011101100011110","0011101100100010","0011101100100110","0011101100101011","0011101100101111","0011101100110011","0011101100110111","0011101100111011","0011101100111111","0011101101000011","0011101101000111","0011101101001011","0011101101010000","0011101101010100","0011101101011000","0011101101011100","0011101101100000","0011101101100100","0011101101101000","0011101101101100","0011101101110000","0011101101110100","0011101101111001","0011101101111101","0011101110000001","0011101110000101","0011101110001001","0011101110001101","0011101110010001","0011101110010101","0011101110011001","0011101110011101","0011101110100010","0011101110100110","0011101110101010","0011101110101110","0011101110110010","0011101110110110","0011101110111010","0011101110111110","0011101111000010","0011101111000111","0011101111001011","0011101111001111","0011101111010011","0011101111010111","0011101111011011","0011101111011111","0011101111100011","0011101111100111","0011101111101011","0011101111110000","0011101111110100","0011101111111000","0011101111111100","0011110000000000"],"x":[0.0,0.002004008016032064,0.004008016032064128,0.006012024048096192,0.008016032064128256,0.01002004008016032,0.012024048096192385,0.014028056112224449,0.01603206412825651,0.018036072144288578,0.02004008016032064,0.022044088176352707,0.02404809619238477,0.026052104208416832,0.028056112224448898,0.03006012024048096,0.03206412825651302,0.03406813627254509,0.036072144288577156,0.03807615230460922,0.04008016032064128,0.04208416833667335,0.04408817635270541,0.04609218436873747,0.04809619238476954,0.050100200400801605,0.052104208416833664,0.05410821643286573,0.056112224448897796,0.05811623246492986,0.06012024048096192,0.06212424849699399,0.06412825651302605,0.06613226452905811,0.06813627254509018,0.07014028056112225,0.07214428857715431,0.07414829659318638,0.07615230460921844,0.0781563126252505,0.08016032064128256,0.08216432865731463,0.0841683366733467,0.08617234468937876,0.08817635270541083,0.09018036072144289,0.09218436873747494,0.09418837675350701,0.09619238476953908,0.09819639278557114,0.10020040080160321,0.10220440881763528,0.10420841683366733,0.1062124248496994,0.10821643286573146,0.11022044088176353,0.11222444889779559,0.11422845691382766,0.11623246492985972,0.11823647294589178,0.12024048096192384,0.12224448897795591,0.12424849699398798,0.12625250501002003,0.1282565130260521,0.13026052104208416,0.13226452905811623,0.1342685370741483,0.13627254509018036,0.13827655310621242,0.1402805611222445,0.14228456913827656,0.14428857715430862,0.1462925851703407,0.14829659318637275,0.15030060120240482,0.1523046092184369,0.15430861723446893,0.156312625250501,0.15831663326653306,0.16032064128256512,0.1623246492985972,0.16432865731462926,0.16633266533066132,0.1683366733466934,0.17034068136272545,0.17234468937875752,0.1743486973947896,0.17635270541082165,0.17835671342685372,0.18036072144288579,0.18236472945891782,0.1843687374749499,0.18637274549098196,0.18837675350701402,0.1903807615230461,0.19238476953907815,0.19438877755511022,0.1963927855711423,0.19839679358717435,0.20040080160320642,0.20240480961923848,0.20440881763527055,0.20641282565130262,0.20841683366733466,0.21042084168336672,0.2124248496993988,0.21442885771543085,0.21643286573146292,0.218436873747495,0.22044088176352705,0.22244488977955912,0.22444889779559118,0.22645290581162325,0.22845691382765532,0.23046092184368738,0.23246492985971945,0.23446893787575152,0.23647294589178355,0.23847695390781562,0.24048096192384769,0.24248496993987975,0.24448897795591182,0.24649298597194388,0.24849699398797595,0.250501002004008,0.25250501002004005,0.2545090180360721,0.2565130260521042,0.25851703406813625,0.2605210420841683,0.2625250501002004,0.26452905811623245,0.2665330661322645,0.2685370741482966,0.27054108216432865,0.2725450901803607,0.2745490981963928,0.27655310621242485,0.2785571142284569,0.280561122244489,0.28256513026052105,0.2845691382765531,0.2865731462925852,0.28857715430861725,0.2905811623246493,0.2925851703406814,0.29458917835671344,0.2965931863727455,0.2985971943887776,0.30060120240480964,0.3026052104208417,0.3046092184368738,0.3066132264529058,0.30861723446893785,0.3106212424849699,0.312625250501002,0.31462925851703405,0.3166332665330661,0.3186372745490982,0.32064128256513025,0.3226452905811623,0.3246492985971944,0.32665330661322645,0.3286573146292585,0.3306613226452906,0.33266533066132264,0.3346693386773547,0.3366733466933868,0.33867735470941884,0.3406813627254509,0.342685370741483,0.34468937875751504,0.3466933867735471,0.3486973947895792,0.35070140280561124,0.3527054108216433,0.35470941883767537,0.35671342685370744,0.3587174348697395,0.36072144288577157,0.3627254509018036,0.36472945891783565,0.3667334669338677,0.3687374749498998,0.37074148296593185,0.3727454909819639,0.374749498997996,0.37675350701402804,0.3787575150300601,0.3807615230460922,0.38276553106212424,0.3847695390781563,0.3867735470941884,0.38877755511022044,0.3907815631262525,0.3927855711422846,0.39478957915831664,0.3967935871743487,0.39879759519038077,0.40080160320641284,0.4028056112224449,0.40480961923847697,0.40681362725450904,0.4088176352705411,0.41082164328657317,0.41282565130260523,0.4148296593186373,0.4168336673346693,0.4188376753507014,0.42084168336673344,0.4228456913827655,0.4248496993987976,0.42685370741482964,0.4288577154308617,0.4308617234468938,0.43286573146292584,0.4348697394789579,0.43687374749499,0.43887775551102204,0.4408817635270541,0.44288577154308617,0.44488977955911824,0.4468937875751503,0.44889779559118237,0.45090180360721444,0.4529058116232465,0.45490981963927857,0.45691382765531063,0.4589178356713427,0.46092184368737477,0.46292585170340683,0.4649298597194389,0.46693386773547096,0.46893787575150303,0.4709418837675351,0.4729458917835671,0.4749498997995992,0.47695390781563124,0.4789579158316633,0.48096192384769537,0.48296593186372744,0.4849699398797595,0.48697394789579157,0.48897795591182364,0.4909819639278557,0.49298597194388777,0.49498997995991983,0.4969939879759519,0.49899799599198397,0.501002004008016,0.503006012024048,0.5050100200400801,0.5070140280561122,0.5090180360721442,0.5110220440881763,0.5130260521042084,0.5150300601202404,0.5170340681362725,0.5190380761523046,0.5210420841683366,0.5230460921843687,0.5250501002004008,0.5270541082164328,0.5290581162324649,0.531062124248497,0.533066132264529,0.5350701402805611,0.5370741482965932,0.5390781563126252,0.5410821643286573,0.5430861723446894,0.5450901803607214,0.5470941883767535,0.5490981963927856,0.5511022044088176,0.5531062124248497,0.5551102204408818,0.5571142284569138,0.5591182364729459,0.561122244488978,0.56312625250501,0.5651302605210421,0.5671342685370742,0.5691382765531062,0.5711422845691383,0.5731462925851704,0.5751503006012024,0.5771543086172345,0.5791583166332666,0.5811623246492986,0.5831663326653307,0.5851703406813628,0.5871743486973948,0.5891783567134269,0.591182364729459,0.593186372745491,0.5951903807615231,0.5971943887775552,0.5991983967935872,0.6012024048096193,0.6032064128256514,0.6052104208416834,0.6072144288577155,0.6092184368737475,0.6112224448897795,0.6132264529058116,0.6152304609218436,0.6172344689378757,0.6192384769539078,0.6212424849699398,0.6232464929859719,0.625250501002004,0.627254509018036,0.6292585170340681,0.6312625250501002,0.6332665330661322,0.6352705410821643,0.6372745490981964,0.6392785571142284,0.6412825651302605,0.6432865731462926,0.6452905811623246,0.6472945891783567,0.6492985971943888,0.6513026052104208,0.6533066132264529,0.655310621242485,0.657314629258517,0.6593186372745491,0.6613226452905812,0.6633266533066132,0.6653306613226453,0.6673346693386774,0.6693386773547094,0.6713426853707415,0.6733466933867736,0.6753507014028056,0.6773547094188377,0.6793587174348698,0.6813627254509018,0.6833667334669339,0.685370741482966,0.687374749498998,0.6893787575150301,0.6913827655310621,0.6933867735470942,0.6953907815631263,0.6973947895791583,0.6993987975951904,0.7014028056112225,0.7034068136272545,0.7054108216432866,0.7074148296593187,0.7094188376753507,0.7114228456913828,0.7134268537074149,0.7154308617234469,0.717434869739479,0.7194388777555111,0.7214428857715431,0.7234468937875751,0.7254509018036072,0.7274549098196392,0.7294589178356713,0.7314629258517034,0.7334669338677354,0.7354709418837675,0.7374749498997996,0.7394789579158316,0.7414829659318637,0.7434869739478958,0.7454909819639278,0.7474949899799599,0.749498997995992,0.751503006012024,0.7535070140280561,0.7555110220440882,0.7575150300601202,0.7595190380761523,0.7615230460921844,0.7635270541082164,0.7655310621242485,0.7675350701402806,0.7695390781563126,0.7715430861723447,0.7735470941883767,0.7755511022044088,0.7775551102204409,0.779559118236473,0.781563126252505,0.7835671342685371,0.7855711422845691,0.7875751503006012,0.7895791583166333,0.7915831663326653,0.7935871743486974,0.7955911823647295,0.7975951903807615,0.7995991983967936,0.8016032064128257,0.8036072144288577,0.8056112224448898,0.8076152304609219,0.8096192384769539,0.811623246492986,0.8136272545090181,0.8156312625250501,0.8176352705410822,0.8196392785571143,0.8216432865731463,0.8236472945891784,0.8256513026052105,0.8276553106212425,0.8296593186372746,0.8316633266533067,0.8336673346693386,0.8356713426853707,0.8376753507014028,0.8396793587174348,0.8416833667334669,0.843687374749499,0.845691382765531,0.8476953907815631,0.8496993987975952,0.8517034068136272,0.8537074148296593,0.8557114228456913,0.8577154308617234,0.8597194388777555,0.8617234468937875,0.8637274549098196,0.8657314629258517,0.8677354709418837,0.8697394789579158,0.8717434869739479,0.87374749498998,0.875751503006012,0.8777555110220441,0.8797595190380761,0.8817635270541082,0.8837675350701403,0.8857715430861723,0.8877755511022044,0.8897795591182365,0.8917835671342685,0.8937875751503006,0.8957915831663327,0.8977955911823647,0.8997995991983968,0.9018036072144289,0.9038076152304609,0.905811623246493,0.9078156312625251,0.9098196392785571,0.9118236472945892,0.9138276553106213,0.9158316633266533,0.9178356713426854,0.9198396793587175,0.9218436873747495,0.9238476953907816,0.9258517034068137,0.9278557114228457,0.9298597194388778,0.9318637274549099,0.9338677354709419,0.935871743486974,0.9378757515030061,0.9398797595190381,0.9418837675350702,0.9438877755511023,0.9458917835671342,0.9478957915831663,0.9498997995991983,0.9519038076152304,0.9539078156312625,0.9559118236472945,0.9579158316633266,0.9599198396793587,0.9619238476953907,0.9639278557114228,0.9659318637274549,0.9679358717434869,0.969939879759519,0.9719438877755511,0.9739478957915831,0.9759519038076152,0.9779559118236473,0.9799599198396793,0.9819639278557114,0.9839679358717435,0.9859719438877755,0.9879759519038076,0.9899799599198397,0.9919839679358717,0.9939879759519038,0.9959919839679359,0.9979959919839679,1.0]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_subnormal.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_subnormal.json new file mode 100644 index 000000000000..53313b91ff52 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_subnormal.json @@ -0,0 +1 @@ +{"expected":["0000000000000010","0000000000000100","0000000000000110","0000000000001000","0000000000001010","0000000000001100","0000000000001110","0000000000010000","0000000000010010","0000000000010100","0000000000010110","0000000000011000","0000000000011010","0000000000011100","0000000000011110","0000000000100000","0000000000100010","0000000000100100","0000000000100110","0000000000101000","0000000000101010","0000000000101100","0000000000101110","0000000000110000","0000000000110010","0000000000110100","0000000000110110","0000000000111000","0000000000111010","0000000000111100","0000000000111110","0000000001000000","0000000001000010","0000000001000100","0000000001000110","0000000001001000","0000000001001010","0000000001001100","0000000001001110","0000000001010000","0000000001010010","0000000001010100","0000000001010110","0000000001011000","0000000001011010","0000000001011100","0000000001011110","0000000001100000","0000000001100010","0000000001100100","0000000001100110","0000000001101000","0000000001101010","0000000001101100","0000000001101110","0000000001110000","0000000001110010","0000000001110100","0000000001110110","0000000001111001","0000000001111011","0000000001111101","0000000001111111","0000000010000001","0000000010000011","0000000010000101","0000000010000111","0000000010001001","0000000010001011","0000000010001101","0000000010001111","0000000010010001","0000000010010011","0000000010010101","0000000010010111","0000000010011001","0000000010011011","0000000010011101","0000000010011111","0000000010100001","0000000010100011","0000000010100101","0000000010100111","0000000010101001","0000000010101011","0000000010101101","0000000010101111","0000000010110001","0000000010110011","0000000010110101","0000000010110111","0000000010111001","0000000010111011","0000000010111101","0000000010111111","0000000011000001","0000000011000011","0000000011000101","0000000011000111","0000000011001001","0000000011001011","0000000011001101","0000000011001111","0000000011010001","0000000011010011","0000000011010101","0000000011010111","0000000011011001","0000000011011011","0000000011011101","0000000011011111","0000000011100001","0000000011100011","0000000011100101","0000000011100111","0000000011101001","0000000011101011","0000000011101101","0000000011101111","0000000011110001","0000000011110011","0000000011110101","0000000011110111","0000000011111001","0000000011111011","0000000011111101","0000000011111111","0000000100000001","0000000100000011","0000000100000101","0000000100000111","0000000100001010","0000000100001100","0000000100001110","0000000100010000","0000000100010010","0000000100010100","0000000100010110","0000000100011000","0000000100011010","0000000100011100","0000000100011110","0000000100100000","0000000100100010","0000000100100100","0000000100100110","0000000100101000","0000000100101010","0000000100101100","0000000100101110","0000000100110000","0000000100110010","0000000100110100","0000000100110110","0000000100111000","0000000100111010","0000000100111100","0000000100111110","0000000101000000","0000000101000010","0000000101000100","0000000101000110","0000000101001000","0000000101001010","0000000101001100","0000000101001110","0000000101010000","0000000101010010","0000000101010100","0000000101010110","0000000101011000","0000000101011010","0000000101011100","0000000101011110","0000000101100000","0000000101100010","0000000101100100","0000000101100110","0000000101101000","0000000101101010","0000000101101100","0000000101101110","0000000101110000","0000000101110010","0000000101110100","0000000101110110","0000000101111000","0000000101111010","0000000101111100","0000000101111110","0000000110000000","0000000110000010","0000000110000100","0000000110000110","0000000110001000","0000000110001010","0000000110001100","0000000110001110","0000000110010000","0000000110010010","0000000110010100","0000000110010110","0000000110011000","0000000110011011","0000000110011101","0000000110011111","0000000110100001","0000000110100011","0000000110100101","0000000110100111","0000000110101001","0000000110101011","0000000110101101","0000000110101111","0000000110110001","0000000110110011","0000000110110101","0000000110110111","0000000110111001","0000000110111011","0000000110111101","0000000110111111","0000000111000001","0000000111000011","0000000111000101","0000000111000111","0000000111001001","0000000111001011","0000000111001101","0000000111001111","0000000111010001","0000000111010011","0000000111010101","0000000111010111","0000000111011001","0000000111011011","0000000111011101","0000000111011111","0000000111100001","0000000111100011","0000000111100101","0000000111100111","0000000111101001","0000000111101011","0000000111101101","0000000111101111","0000000111110001","0000000111110011","0000000111110101","0000000111110111","0000000111111001","0000000111111011","0000000111111101","0000000111111111","0000001000000001","0000001000000011","0000001000000101","0000001000000111","0000001000001001","0000001000001011","0000001000001101","0000001000001111","0000001000010001","0000001000010011","0000001000010101","0000001000010111","0000001000011001","0000001000011011","0000001000011101","0000001000011111","0000001000100001","0000001000100011","0000001000100101","0000001000100111","0000001000101001","0000001000101100","0000001000101110","0000001000110000","0000001000110010","0000001000110100","0000001000110110","0000001000111000","0000001000111010","0000001000111100","0000001000111110","0000001001000000","0000001001000010","0000001001000100","0000001001000110","0000001001001000","0000001001001010","0000001001001100","0000001001001110","0000001001010000","0000001001010010","0000001001010100","0000001001010110","0000001001011000","0000001001011010","0000001001011100","0000001001011110","0000001001100000","0000001001100010","0000001001100100","0000001001100110","0000001001101000","0000001001101010","0000001001101100","0000001001101110","0000001001110000","0000001001110010","0000001001110100","0000001001110110","0000001001111000","0000001001111010","0000001001111100","0000001001111110","0000001010000000","0000001010000010","0000001010000100","0000001010000110","0000001010001000","0000001010001010","0000001010001100","0000001010001110","0000001010010000","0000001010010010","0000001010010100","0000001010010110","0000001010011000","0000001010011010","0000001010011100","0000001010011110","0000001010100000","0000001010100010","0000001010100100","0000001010100110","0000001010101000","0000001010101010","0000001010101100","0000001010101110","0000001010110000","0000001010110010","0000001010110100","0000001010110110","0000001010111000","0000001010111011","0000001010111101","0000001010111111","0000001011000001","0000001011000011","0000001011000101","0000001011000111","0000001011001001","0000001011001011","0000001011001101","0000001011001111","0000001011010001","0000001011010011","0000001011010101","0000001011010111","0000001011011001","0000001011011011","0000001011011101","0000001011011111","0000001011100001","0000001011100011","0000001011100101","0000001011100111","0000001011101001","0000001011101011","0000001011101101","0000001011101111","0000001011110001","0000001011110011","0000001011110101","0000001011110111","0000001011111001","0000001011111011","0000001011111101","0000001011111111","0000001100000001","0000001100000011","0000001100000101","0000001100000111","0000001100001001","0000001100001011","0000001100001101","0000001100001111","0000001100010001","0000001100010011","0000001100010101","0000001100010111","0000001100011001","0000001100011011","0000001100011101","0000001100011111","0000001100100001","0000001100100011","0000001100100101","0000001100100111","0000001100101001","0000001100101011","0000001100101101","0000001100101111","0000001100110001","0000001100110011","0000001100110101","0000001100110111","0000001100111001","0000001100111011","0000001100111101","0000001100111111","0000001101000001","0000001101000011","0000001101000101","0000001101000111","0000001101001001","0000001101001100","0000001101001110","0000001101010000","0000001101010010","0000001101010100","0000001101010110","0000001101011000","0000001101011010","0000001101011100","0000001101011110","0000001101100000","0000001101100010","0000001101100100","0000001101100110","0000001101101000","0000001101101010","0000001101101100","0000001101101110","0000001101110000","0000001101110010","0000001101110100","0000001101110110","0000001101111000","0000001101111010","0000001101111100","0000001101111110","0000001110000000","0000001110000010","0000001110000100","0000001110000110","0000001110001000","0000001110001010","0000001110001100","0000001110001110","0000001110010000","0000001110010010","0000001110010100","0000001110010110","0000001110011000","0000001110011010","0000001110011100","0000001110011110","0000001110100000","0000001110100010","0000001110100100","0000001110100110","0000001110101000","0000001110101010","0000001110101100","0000001110101110","0000001110110000","0000001110110010","0000001110110100","0000001110110110","0000001110111000","0000001110111010","0000001110111100","0000001110111110","0000001111000000","0000001111000010","0000001111000100","0000001111000110","0000001111001000","0000001111001010","0000001111001100","0000001111001110","0000001111010000","0000001111010010","0000001111010100","0000001111010110","0000001111011000","0000001111011010","0000001111011101","0000001111011111","0000001111100001","0000001111100011","0000001111100101","0000001111100111","0000001111101001","0000001111101011","0000001111101101","0000001111101111"],"x":[1.0e-7,2.2004008016032063e-7,3.4008016032064126e-7,4.601202404809619e-7,5.801603206412825e-7,7.002004008016032e-7,8.202404809619238e-7,9.402805611222445e-7,1.0603206412825652e-6,1.1803607214428857e-6,1.3004008016032064e-6,1.420440881763527e-6,1.5404809619238476e-6,1.6605210420841683e-6,1.780561122244489e-6,1.9006012024048095e-6,2.0206412825651304e-6,2.1406813627254507e-6,2.2607214428857714e-6,2.380761523046092e-6,2.500801603206413e-6,2.6208416833667336e-6,2.7408817635270543e-6,2.8609218436873746e-6,2.9809619238476953e-6,3.101002004008016e-6,3.2210420841683367e-6,3.3410821643286574e-6,3.461122244488978e-6,3.5811623246492984e-6,3.701202404809619e-6,3.82124248496994e-6,3.94128256513026e-6,4.061322645290581e-6,4.1813627254509016e-6,4.301402805611222e-6,4.421442885771543e-6,4.541482965931864e-6,4.661523046092184e-6,4.781563126252505e-6,4.901603206412826e-6,5.0216432865731466e-6,5.141683366733467e-6,5.261723446893788e-6,5.381763527054108e-6,5.5018036072144286e-6,5.621843687374749e-6,5.74188376753507e-6,5.861923847695391e-6,5.981963927855711e-6,6.102004008016032e-6,6.222044088176353e-6,6.3420841683366735e-6,6.462124248496994e-6,6.582164328657315e-6,6.702204408817636e-6,6.8222444889779556e-6,6.942284569138276e-6,7.062324649298597e-6,7.182364729458918e-6,7.302404809619238e-6,7.422444889779559e-6,7.54248496993988e-6,7.6625250501002e-6,7.782565130260521e-6,7.902605210420841e-6,8.022645290581163e-6,8.142685370741483e-6,8.262725450901804e-6,8.382765531062124e-6,8.502805611222446e-6,8.622845691382765e-6,8.742885771543087e-6,8.862925851703407e-6,8.982965931863727e-6,9.103006012024048e-6,9.223046092184368e-6,9.34308617234469e-6,9.46312625250501e-6,9.583166332665331e-6,9.703206412825651e-6,9.823246492985973e-6,9.943286573146292e-6,1.0063326653306614e-5,1.0183366733466934e-5,1.0303406813627254e-5,1.0423446893787575e-5,1.0543486973947895e-5,1.0663527054108217e-5,1.0783567134268537e-5,1.0903607214428858e-5,1.1023647294589178e-5,1.11436873747495e-5,1.126372745490982e-5,1.1383767535070141e-5,1.150380761523046e-5,1.1623847695390782e-5,1.1743887775551102e-5,1.1863927855711422e-5,1.1983967935871744e-5,1.2104008016032064e-5,1.2224048096192385e-5,1.2344088176352705e-5,1.2464128256513026e-5,1.2584168336673346e-5,1.2704208416833668e-5,1.2824248496993988e-5,1.294428857715431e-5,1.306432865731463e-5,1.3184368737474949e-5,1.330440881763527e-5,1.342444889779559e-5,1.3544488977955912e-5,1.3664529058116232e-5,1.3784569138276553e-5,1.3904609218436873e-5,1.4024649298597195e-5,1.4144689378757515e-5,1.4264729458917836e-5,1.4384769539078156e-5,1.4504809619238478e-5,1.4624849699398798e-5,1.4744889779559117e-5,1.4864929859719439e-5,1.4984969939879759e-5,1.510501002004008e-5,1.52250501002004e-5,1.534509018036072e-5,1.5465130260521043e-5,1.5585170340681363e-5,1.5705210420841683e-5,1.5825250501002003e-5,1.5945290581162326e-5,1.6065330661322646e-5,1.6185370741482966e-5,1.6305410821643286e-5,1.6425450901803606e-5,1.654549098196393e-5,1.666553106212425e-5,1.678557114228457e-5,1.690561122244489e-5,1.7025651302605212e-5,1.7145691382765532e-5,1.726573146292585e-5,1.738577154308617e-5,1.750581162324649e-5,1.7625851703406815e-5,1.7745891783567134e-5,1.7865931863727454e-5,1.7985971943887774e-5,1.8106012024048097e-5,1.8226052104208417e-5,1.8346092184368737e-5,1.8466132264529057e-5,1.858617234468938e-5,1.87062124248497e-5,1.882625250501002e-5,1.894629258517034e-5,1.906633266533066e-5,1.9186372745490983e-5,1.9306412825651303e-5,1.9426452905811623e-5,1.9546492985971943e-5,1.9666533066132266e-5,1.9786573146292586e-5,1.9906613226452906e-5,2.0026653306613225e-5,2.014669338677355e-5,2.026673346693387e-5,2.038677354709419e-5,2.0506813627254508e-5,2.0626853707414828e-5,2.074689378757515e-5,2.086693386773547e-5,2.098697394789579e-5,2.110701402805611e-5,2.1227054108216434e-5,2.1347094188376754e-5,2.1467134268537074e-5,2.1587174348697394e-5,2.1707214428857717e-5,2.1827254509018037e-5,2.1947294589178357e-5,2.2067334669338677e-5,2.2187374749498997e-5,2.230741482965932e-5,2.242745490981964e-5,2.254749498997996e-5,2.266753507014028e-5,2.2787575150300603e-5,2.2907615230460923e-5,2.3027655310621242e-5,2.3147695390781562e-5,2.3267735470941882e-5,2.3387775551102205e-5,2.3507815631262525e-5,2.3627855711422845e-5,2.3747895791583165e-5,2.3867935871743488e-5,2.3987975951903808e-5,2.4108016032064128e-5,2.4228056112224448e-5,2.434809619238477e-5,2.446813627254509e-5,2.458817635270541e-5,2.470821643286573e-5,2.482825651302605e-5,2.4948296593186374e-5,2.5068336673346694e-5,2.5188376753507014e-5,2.5308416833667333e-5,2.5428456913827657e-5,2.5548496993987977e-5,2.5668537074148296e-5,2.5788577154308616e-5,2.590861723446894e-5,2.602865731462926e-5,2.614869739478958e-5,2.62687374749499e-5,2.638877755511022e-5,2.6508817635270542e-5,2.6628857715430862e-5,2.6748897795591182e-5,2.6868937875751502e-5,2.6988977955911825e-5,2.7109018036072145e-5,2.7229058116232465e-5,2.7349098196392785e-5,2.7469138276553105e-5,2.7589178356713428e-5,2.7709218436873748e-5,2.7829258517034068e-5,2.7949298597194387e-5,2.806933867735471e-5,2.818937875751503e-5,2.830941883767535e-5,2.842945891783567e-5,2.8549498997995993e-5,2.8669539078156313e-5,2.8789579158316633e-5,2.8909619238476953e-5,2.9029659318637273e-5,2.9149699398797596e-5,2.9269739478957916e-5,2.9389779559118236e-5,2.9509819639278556e-5,2.962985971943888e-5,2.97498997995992e-5,2.986993987975952e-5,2.998997995991984e-5,3.0110020040080162e-5,3.0230060120240482e-5,3.03501002004008e-5,3.047014028056112e-5,3.0590180360721445e-5,3.0710220440881765e-5,3.0830260521042084e-5,3.0950300601202404e-5,3.1070340681362724e-5,3.1190380761523044e-5,3.1310420841683364e-5,3.143046092184369e-5,3.155050100200401e-5,3.167054108216433e-5,3.179058116232465e-5,3.191062124248497e-5,3.203066132264529e-5,3.215070140280561e-5,3.227074148296593e-5,3.239078156312625e-5,3.2510821643286576e-5,3.2630861723446896e-5,3.2750901803607216e-5,3.2870941883767536e-5,3.2990981963927856e-5,3.3111022044088175e-5,3.3231062124248495e-5,3.3351102204408815e-5,3.3471142284569135e-5,3.359118236472946e-5,3.371122244488978e-5,3.38312625250501e-5,3.395130260521042e-5,3.407134268537074e-5,3.419138276553106e-5,3.431142284569138e-5,3.44314629258517e-5,3.455150300601203e-5,3.467154308617235e-5,3.479158316633267e-5,3.491162324649299e-5,3.503166332665331e-5,3.515170340681363e-5,3.527174348697395e-5,3.5391783567134266e-5,3.5511823647294586e-5,3.563186372745491e-5,3.575190380761523e-5,3.587194388777555e-5,3.599198396793587e-5,3.611202404809619e-5,3.623206412825651e-5,3.635210420841683e-5,3.647214428857715e-5,3.659218436873747e-5,3.67122244488978e-5,3.683226452905812e-5,3.695230460921844e-5,3.707234468937876e-5,3.719238476953908e-5,3.73124248496994e-5,3.743246492985972e-5,3.755250501002004e-5,3.767254509018036e-5,3.7792585170340684e-5,3.7912625250501004e-5,3.8032665330661324e-5,3.8152705410821644e-5,3.8272745490981964e-5,3.8392785571142283e-5,3.85128256513026e-5,3.863286573146292e-5,3.875290581162325e-5,3.887294589178357e-5,3.899298597194389e-5,3.911302605210421e-5,3.923306613226453e-5,3.935310621242485e-5,3.947314629258517e-5,3.959318637274549e-5,3.971322645290581e-5,3.9833266533066135e-5,3.9953306613226455e-5,4.0073346693386775e-5,4.0193386773547095e-5,4.0313426853707415e-5,4.0433466933867735e-5,4.0553507014028055e-5,4.0673547094188374e-5,4.0793587174348694e-5,4.091362725450902e-5,4.103366733466934e-5,4.115370741482966e-5,4.127374749498998e-5,4.13937875751503e-5,4.151382765531062e-5,4.163386773547094e-5,4.175390781563126e-5,4.187394789579158e-5,4.1993987975951907e-5,4.2114028056112226e-5,4.2234068136272546e-5,4.2354108216432866e-5,4.2474148296593186e-5,4.2594188376753506e-5,4.2714228456913826e-5,4.2834268537074146e-5,4.295430861723447e-5,4.307434869739479e-5,4.319438877755511e-5,4.331442885771543e-5,4.343446893787575e-5,4.355450901803607e-5,4.367454909819639e-5,4.379458917835671e-5,4.391462925851703e-5,4.403466933867736e-5,4.415470941883768e-5,4.4274749498998e-5,4.439478957915832e-5,4.451482965931864e-5,4.463486973947896e-5,4.475490981963928e-5,4.48749498997996e-5,4.499498997995992e-5,4.511503006012024e-5,4.523507014028056e-5,4.535511022044088e-5,4.54751503006012e-5,4.559519038076152e-5,4.571523046092184e-5,4.583527054108216e-5,4.595531062124248e-5,4.60753507014028e-5,4.619539078156313e-5,4.631543086172345e-5,4.643547094188377e-5,4.655551102204409e-5,4.667555110220441e-5,4.679559118236473e-5,4.691563126252505e-5,4.703567134268537e-5,4.7155711422845695e-5,4.7275751503006014e-5,4.7395791583166334e-5,4.7515831663326654e-5,4.7635871743486974e-5,4.7755911823647294e-5,4.7875951903807614e-5,4.7995991983967934e-5,4.8116032064128254e-5,4.823607214428858e-5,4.83561122244489e-5,4.847615230460922e-5,4.859619238476954e-5,4.871623246492986e-5,4.883627254509018e-5,4.89563126252505e-5,4.907635270541082e-5,4.919639278557114e-5,4.9316432865731466e-5,4.9436472945891786e-5,4.9556513026052105e-5,4.9676553106212425e-5,4.9796593186372745e-5,4.9916633266533065e-5,5.0036673346693385e-5,5.0156713426853705e-5,5.027675350701403e-5,5.039679358717435e-5,5.051683366733467e-5,5.063687374749499e-5,5.075691382765531e-5,5.087695390781563e-5,5.099699398797595e-5,5.111703406813627e-5,5.123707414829659e-5,5.135711422845692e-5,5.147715430861724e-5,5.159719438877756e-5,5.1717234468937877e-5,5.1837274549098196e-5,5.1957314629258516e-5,5.2077354709418836e-5,5.2197394789579156e-5,5.2317434869739476e-5,5.24374749498998e-5,5.255751503006012e-5,5.267755511022044e-5,5.279759519038076e-5,5.291763527054108e-5,5.30376753507014e-5,5.315771543086172e-5,5.327775551102204e-5,5.339779559118236e-5,5.351783567134269e-5,5.363787575150301e-5,5.375791583166333e-5,5.387795591182365e-5,5.399799599198397e-5,5.411803607214429e-5,5.423807615230461e-5,5.435811623246493e-5,5.4478156312625254e-5,5.4598196392785574e-5,5.4718236472945894e-5,5.4838276553106213e-5,5.495831663326653e-5,5.507835671342685e-5,5.519839679358717e-5,5.531843687374749e-5,5.543847695390781e-5,5.555851703406814e-5,5.567855711422846e-5,5.579859719438878e-5,5.59186372745491e-5,5.603867735470942e-5,5.615871743486974e-5,5.627875751503006e-5,5.639879759519038e-5,5.65188376753507e-5,5.6638877755511025e-5,5.6758917835671345e-5,5.6878957915831665e-5,5.6998997995991985e-5,5.7119038076152304e-5,5.7239078156312624e-5,5.7359118236472944e-5,5.7479158316633264e-5,5.7599198396793584e-5,5.771923847695391e-5,5.783927855711423e-5,5.795931863727455e-5,5.807935871743487e-5,5.819939879759519e-5,5.831943887775551e-5,5.843947895791583e-5,5.855951903807615e-5,5.8679559118236476e-5,5.8799599198396796e-5,5.8919639278557116e-5,5.9039679358717436e-5,5.9159719438877756e-5,5.9279759519038076e-5,5.9399799599198395e-5,5.9519839679358715e-5,5.9639879759519035e-5,5.975991983967936e-5,5.987995991983968e-5,6.0e-5]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_tiny.json b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_tiny.json new file mode 100644 index 000000000000..4ba861c89281 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/positive_tiny.json @@ -0,0 +1 @@ +{"expected":["0000011010001110","0000011010101100","0000011011001010","0000011011101001","0000011100000111","0000011100100101","0000011101000011","0000011101100010","0000011110000000","0000011110011110","0000011110111100","0000011111011011","0000011111111001","0000100000001100","0000100000011011","0000100000101010","0000100000111001","0000100001001000","0000100001010111","0000100001100110","0000100001110101","0000100010000101","0000100010010100","0000100010100011","0000100010110010","0000100011000001","0000100011010000","0000100011011111","0000100011101110","0000100011111110","0000100100001101","0000100100011100","0000100100101011","0000100100111010","0000100101001001","0000100101011000","0000100101101000","0000100101110111","0000100110000110","0000100110010101","0000100110100100","0000100110110011","0000100111000010","0000100111010001","0000100111100001","0000100111110000","0000100111111111","0000101000001110","0000101000011101","0000101000101100","0000101000111011","0000101001001010","0000101001011010","0000101001101001","0000101001111000","0000101010000111","0000101010010110","0000101010100101","0000101010110100","0000101011000100","0000101011010011","0000101011100010","0000101011110001","0000101100000000","0000101100001111","0000101100011110","0000101100101101","0000101100111101","0000101101001100","0000101101011011","0000101101101010","0000101101111001","0000101110001000","0000101110010111","0000101110100110","0000101110110110","0000101111000101","0000101111010100","0000101111100011","0000101111110010","0000110000000001","0000110000001000","0000110000010000","0000110000010111","0000110000011111","0000110000100110","0000110000101110","0000110000110110","0000110000111101","0000110001000101","0000110001001100","0000110001010100","0000110001011011","0000110001100011","0000110001101011","0000110001110010","0000110001111010","0000110010000001","0000110010001001","0000110010010000","0000110010011000","0000110010011111","0000110010100111","0000110010101111","0000110010110110","0000110010111110","0000110011000101","0000110011001101","0000110011010100","0000110011011100","0000110011100100","0000110011101011","0000110011110011","0000110011111010","0000110100000010","0000110100001001","0000110100010001","0000110100011001","0000110100100000","0000110100101000","0000110100101111","0000110100110111","0000110100111110","0000110101000110","0000110101001101","0000110101010101","0000110101011101","0000110101100100","0000110101101100","0000110101110011","0000110101111011","0000110110000010","0000110110001010","0000110110010010","0000110110011001","0000110110100001","0000110110101000","0000110110110000","0000110110110111","0000110110111111","0000110111000111","0000110111001110","0000110111010110","0000110111011101","0000110111100101","0000110111101100","0000110111110100","0000110111111011","0000111000000011","0000111000001011","0000111000010010","0000111000011010","0000111000100001","0000111000101001","0000111000110000","0000111000111000","0000111001000000","0000111001000111","0000111001001111","0000111001010110","0000111001011110","0000111001100101","0000111001101101","0000111001110101","0000111001111100","0000111010000100","0000111010001011","0000111010010011","0000111010011010","0000111010100010","0000111010101001","0000111010110001","0000111010111001","0000111011000000","0000111011001000","0000111011001111","0000111011010111","0000111011011110","0000111011100110","0000111011101110","0000111011110101","0000111011111101","0000111100000100","0000111100001100","0000111100010011","0000111100011011","0000111100100010","0000111100101010","0000111100110010","0000111100111001","0000111101000001","0000111101001000","0000111101010000","0000111101010111","0000111101011111","0000111101100111","0000111101101110","0000111101110110","0000111101111101","0000111110000101","0000111110001100","0000111110010100","0000111110011100","0000111110100011","0000111110101011","0000111110110010","0000111110111010","0000111111000001","0000111111001001","0000111111010000","0000111111011000","0000111111100000","0000111111100111","0000111111101111","0000111111110110","0000111111111110","0001000000000011","0001000000000111","0001000000001010","0001000000001110","0001000000010010","0001000000010110","0001000000011001","0001000000011101","0001000000100001","0001000000100101","0001000000101001","0001000000101100","0001000000110000","0001000000110100","0001000000111000","0001000000111011","0001000000111111","0001000001000011","0001000001000111","0001000001001011","0001000001001110","0001000001010010","0001000001010110","0001000001011010","0001000001011110","0001000001100001","0001000001100101","0001000001101001","0001000001101101","0001000001110000","0001000001110100","0001000001111000","0001000001111100","0001000010000000","0001000010000011","0001000010000111","0001000010001011","0001000010001111","0001000010010010","0001000010010110","0001000010011010","0001000010011110","0001000010100010","0001000010100101","0001000010101001","0001000010101101","0001000010110001","0001000010110100","0001000010111000","0001000010111100","0001000011000000","0001000011000100","0001000011000111","0001000011001011","0001000011001111","0001000011010011","0001000011010111","0001000011011010","0001000011011110","0001000011100010","0001000011100110","0001000011101001","0001000011101101","0001000011110001","0001000011110101","0001000011111001","0001000011111100","0001000100000000","0001000100000100","0001000100001000","0001000100001011","0001000100001111","0001000100010011","0001000100010111","0001000100011011","0001000100011110","0001000100100010","0001000100100110","0001000100101010","0001000100101110","0001000100110001","0001000100110101","0001000100111001","0001000100111101","0001000101000000","0001000101000100","0001000101001000","0001000101001100","0001000101010000","0001000101010011","0001000101010111","0001000101011011","0001000101011111","0001000101100010","0001000101100110","0001000101101010","0001000101101110","0001000101110010","0001000101110101","0001000101111001","0001000101111101","0001000110000001","0001000110000101","0001000110001000","0001000110001100","0001000110010000","0001000110010100","0001000110010111","0001000110011011","0001000110011111","0001000110100011","0001000110100111","0001000110101010","0001000110101110","0001000110110010","0001000110110110","0001000110111001","0001000110111101","0001000111000001","0001000111000101","0001000111001001","0001000111001100","0001000111010000","0001000111010100","0001000111011000","0001000111011100","0001000111011111","0001000111100011","0001000111100111","0001000111101011","0001000111101110","0001000111110010","0001000111110110","0001000111111010","0001000111111110","0001001000000001","0001001000000101","0001001000001001","0001001000001101","0001001000010000","0001001000010100","0001001000011000","0001001000011100","0001001000100000","0001001000100011","0001001000100111","0001001000101011","0001001000101111","0001001000110011","0001001000110110","0001001000111010","0001001000111110","0001001001000010","0001001001000101","0001001001001001","0001001001001101","0001001001010001","0001001001010101","0001001001011000","0001001001011100","0001001001100000","0001001001100100","0001001001100111","0001001001101011","0001001001101111","0001001001110011","0001001001110111","0001001001111010","0001001001111110","0001001010000010","0001001010000110","0001001010001010","0001001010001101","0001001010010001","0001001010010101","0001001010011001","0001001010011100","0001001010100000","0001001010100100","0001001010101000","0001001010101100","0001001010101111","0001001010110011","0001001010110111","0001001010111011","0001001010111110","0001001011000010","0001001011000110","0001001011001010","0001001011001110","0001001011010001","0001001011010101","0001001011011001","0001001011011101","0001001011100001","0001001011100100","0001001011101000","0001001011101100","0001001011110000","0001001011110011","0001001011110111","0001001011111011","0001001011111111","0001001100000011","0001001100000110","0001001100001010","0001001100001110","0001001100010010","0001001100010101","0001001100011001","0001001100011101","0001001100100001","0001001100100101","0001001100101000","0001001100101100","0001001100110000","0001001100110100","0001001100111000","0001001100111011","0001001100111111","0001001101000011","0001001101000111","0001001101001010","0001001101001110","0001001101010010","0001001101010110","0001001101011010","0001001101011101","0001001101100001","0001001101100101","0001001101101001","0001001101101100","0001001101110000","0001001101110100","0001001101111000","0001001101111100","0001001101111111","0001001110000011","0001001110000111","0001001110001011","0001001110001111","0001001110010010","0001001110010110","0001001110011010","0001001110011110","0001001110100001","0001001110100101","0001001110101001","0001001110101101","0001001110110001","0001001110110100","0001001110111000","0001001110111100","0001001111000000","0001001111000011","0001001111000111","0001001111001011","0001001111001111","0001001111010011","0001001111010110","0001001111011010","0001001111011110","0001001111100010","0001001111100110","0001001111101001","0001001111101101","0001001111110001","0001001111110101","0001001111111000","0001001111111100","0001010000000000","0001010000000010","0001010000000100","0001010000000110","0001010000001000","0001010000001001","0001010000001011","0001010000001101","0001010000001111","0001010000010001","0001010000010011","0001010000010101","0001010000010111","0001010000011001"],"x":[0.0001,0.00010180360721442886,0.00010360721442885771,0.00010541082164328658,0.00010721442885771543,0.00010901803607214429,0.00011082164328657314,0.00011262525050100201,0.00011442885771543086,0.00011623246492985972,0.00011803607214428858,0.00011983967935871744,0.00012164328657314629,0.00012344689378757516,0.000125250501002004,0.00012705410821643286,0.00012885771543086173,0.00013066132264529057,0.00013246492985971944,0.0001342685370741483,0.00013607214428857715,0.00013787575150300601,0.00013967935871743488,0.00014148296593186372,0.0001432865731462926,0.00014509018036072146,0.0001468937875751503,0.00014869739478957916,0.000150501002004008,0.00015230460921843687,0.00015410821643286574,0.00015591182364729458,0.00015771543086172345,0.0001595190380761523,0.00016132264529058115,0.00016312625250501002,0.0001649298597194389,0.00016673346693386773,0.0001685370741482966,0.00017034068136272546,0.0001721442885771543,0.00017394789579158317,0.00017575150300601204,0.00017755511022044088,0.00017935871743486975,0.00018116232464929859,0.00018296593186372745,0.00018476953907815632,0.00018657314629258516,0.00018837675350701403,0.0001901803607214429,0.00019198396793587173,0.0001937875751503006,0.00019559118236472947,0.0001973947895791583,0.00019919839679358718,0.00020100200400801604,0.00020280561122244488,0.00020460921843687375,0.00020641282565130262,0.00020821643286573146,0.00021002004008016033,0.00021182364729458917,0.00021362725450901803,0.0002154308617234469,0.00021723446893787574,0.0002190380761523046,0.00022084168336673348,0.00022264529058116232,0.00022444889779559118,0.00022625250501002005,0.0002280561122244489,0.00022985971943887776,0.00023166332665330663,0.00023346693386773547,0.00023527054108216433,0.0002370741482965932,0.00023887775551102204,0.0002406813627254509,0.00024248496993987975,0.0002442885771543086,0.00024609218436873745,0.00024789579158316635,0.0002496993987975952,0.00025150300601202403,0.0002533066132264529,0.00025511022044088176,0.0002569138276553106,0.0002587174348697395,0.00026052104208416834,0.0002623246492985972,0.0002641282565130261,0.0002659318637274549,0.00026773547094188375,0.00026953907815631265,0.0002713426853707415,0.00027314629258517033,0.0002749498997995992,0.00027675350701402806,0.0002785571142284569,0.0002803607214428858,0.00028216432865731464,0.0002839679358717435,0.0002857715430861723,0.0002875751503006012,0.00028937875751503005,0.0002911823647294589,0.0002929859719438878,0.00029478957915831663,0.00029659318637274547,0.00029839679358717436,0.0003002004008016032,0.00030200400801603204,0.00030380761523046094,0.0003056112224448898,0.0003074148296593186,0.0003092184368737475,0.00031102204408817635,0.0003128256513026052,0.0003146292585170341,0.0003164328657314629,0.00031823647294589177,0.00032004008016032066,0.0003218436873747495,0.00032364729458917834,0.00032545090180360724,0.0003272545090180361,0.0003290581162324649,0.0003308617234468938,0.00033266533066132265,0.0003344689378757515,0.0003362725450901804,0.0003380761523046092,0.00033987975951903807,0.00034168336673346696,0.0003434869739478958,0.00034529058116232464,0.0003470941883767535,0.0003488977955911824,0.0003507014028056112,0.00035250501002004006,0.00035430861723446895,0.0003561122244488978,0.00035791583166332663,0.0003597194388777555,0.00036152304609218436,0.0003633266533066132,0.0003651302605210421,0.00036693386773547094,0.0003687374749498998,0.0003705410821643287,0.0003723446893787575,0.00037414829659318635,0.00037595190380761525,0.0003777555110220441,0.00037955911823647293,0.0003813627254509018,0.00038316633266533066,0.0003849699398797595,0.0003867735470941884,0.00038857715430861724,0.0003903807615230461,0.00039218436873747497,0.0003939879759519038,0.00039579158316633265,0.00039759519038076155,0.0003993987975951904,0.00040120240480961923,0.0004030060120240481,0.00040480961923847696,0.0004066132264529058,0.00040841683366733464,0.00041022044088176354,0.0004120240480961924,0.0004138276553106212,0.0004156312625250501,0.00041743486973947895,0.0004192384769539078,0.0004210420841683367,0.0004228456913827655,0.00042464929859719437,0.00042645290581162326,0.0004282565130260521,0.00043006012024048094,0.00043186372745490984,0.0004336673346693387,0.0004354709418837675,0.0004372745490981964,0.00043907815631262525,0.0004408817635270541,0.000442685370741483,0.0004444889779559118,0.00044629258517034067,0.00044809619238476956,0.0004498997995991984,0.00045170340681362724,0.00045350701402805614,0.000455310621242485,0.0004571142284569138,0.0004589178356713427,0.00046072144288577155,0.0004625250501002004,0.0004643286573146293,0.0004661322645290581,0.00046793587174348696,0.0004697394789579158,0.0004715430861723447,0.00047334669338677354,0.0004751503006012024,0.0004769539078156313,0.0004787575150300601,0.00048056112224448895,0.00048236472945891785,0.0004841683366733467,0.00048597194388777553,0.0004877755511022044,0.0004895791583166333,0.0004913827655310621,0.000493186372745491,0.0004949899799599199,0.0004967935871743487,0.0004985971943887776,0.0005004008016032064,0.0005022044088176353,0.0005040080160320641,0.0005058116232464929,0.0005076152304609218,0.0005094188376753507,0.0005112224448897795,0.0005130260521042084,0.0005148296593186373,0.0005166332665330661,0.000518436873747495,0.0005202404809619239,0.0005220440881763527,0.0005238476953907816,0.0005256513026052104,0.0005274549098196392,0.0005292585170340681,0.000531062124248497,0.0005328657314629258,0.0005346693386773547,0.0005364729458917836,0.0005382765531062124,0.0005400801603206413,0.0005418837675350702,0.000543687374749499,0.0005454909819639279,0.0005472945891783567,0.0005490981963927855,0.0005509018036072144,0.0005527054108216433,0.0005545090180360721,0.000556312625250501,0.0005581162324649299,0.0005599198396793587,0.0005617234468937876,0.0005635270541082165,0.0005653306613226453,0.0005671342685370742,0.000568937875751503,0.0005707414829659318,0.0005725450901803607,0.0005743486973947896,0.0005761523046092184,0.0005779559118236473,0.0005797595190380762,0.000581563126252505,0.0005833667334669339,0.0005851703406813628,0.0005869739478957916,0.0005887775551102204,0.0005905811623246493,0.0005923847695390781,0.000594188376753507,0.0005959919839679359,0.0005977955911823647,0.0005995991983967936,0.0006014028056112225,0.0006032064128256513,0.0006050100200400802,0.0006068136272545091,0.0006086172344689379,0.0006104208416833667,0.0006122244488977956,0.0006140280561122244,0.0006158316633266533,0.0006176352705410822,0.000619438877755511,0.0006212424849699399,0.0006230460921843687,0.0006248496993987976,0.0006266533066132265,0.0006284569138276553,0.0006302605210420842,0.000632064128256513,0.0006338677354709418,0.0006356713426853707,0.0006374749498997996,0.0006392785571142284,0.0006410821643286573,0.0006428857715430862,0.000644689378757515,0.0006464929859719439,0.0006482965931863728,0.0006501002004008016,0.0006519038076152305,0.0006537074148296593,0.0006555110220440881,0.000657314629258517,0.0006591182364729459,0.0006609218436873747,0.0006627254509018036,0.0006645290581162325,0.0006663326653306613,0.0006681362725450902,0.0006699398797595191,0.0006717434869739479,0.0006735470941883768,0.0006753507014028056,0.0006771543086172344,0.0006789579158316633,0.0006807615230460922,0.000682565130260521,0.0006843687374749499,0.0006861723446893788,0.0006879759519038076,0.0006897795591182365,0.0006915831663326654,0.0006933867735470942,0.000695190380761523,0.0006969939879759519,0.0006987975951903807,0.0007006012024048096,0.0007024048096192385,0.0007042084168336673,0.0007060120240480962,0.0007078156312625251,0.0007096192384769539,0.0007114228456913828,0.0007132264529058117,0.0007150300601202405,0.0007168336673346693,0.0007186372745490982,0.000720440881763527,0.0007222444889779559,0.0007240480961923848,0.0007258517034068136,0.0007276553106212425,0.0007294589178356714,0.0007312625250501002,0.0007330661322645291,0.000734869739478958,0.0007366733466933868,0.0007384769539078156,0.0007402805611222445,0.0007420841683366733,0.0007438877755511022,0.000745691382765531,0.0007474949899799599,0.0007492985971943888,0.0007511022044088176,0.0007529058116232465,0.0007547094188376754,0.0007565130260521042,0.000758316633266533,0.000760120240480962,0.0007619238476953907,0.0007637274549098196,0.0007655310621242485,0.0007673346693386773,0.0007691382765531062,0.0007709418837675351,0.0007727454909819639,0.0007745490981963928,0.0007763527054108217,0.0007781563126252505,0.0007799599198396794,0.0007817635270541082,0.000783567134268537,0.0007853707414829659,0.0007871743486973948,0.0007889779559118236,0.0007907815631262525,0.0007925851703406814,0.0007943887775551102,0.0007961923847695391,0.000797995991983968,0.0007997995991983968,0.0008016032064128256,0.0008034068136272545,0.0008052104208416833,0.0008070140280561122,0.0008088176352705411,0.0008106212424849699,0.0008124248496993988,0.0008142284569138277,0.0008160320641282565,0.0008178356713426854,0.0008196392785571143,0.0008214428857715431,0.000823246492985972,0.0008250501002004008,0.0008268537074148296,0.0008286573146292585,0.0008304609218436874,0.0008322645290581162,0.0008340681362725451,0.000835871743486974,0.0008376753507014028,0.0008394789579158317,0.0008412825651302606,0.0008430861723446894,0.0008448897795591182,0.0008466933867735471,0.0008484969939879759,0.0008503006012024048,0.0008521042084168337,0.0008539078156312625,0.0008557114228456914,0.0008575150300601203,0.0008593186372745491,0.000861122244488978,0.0008629258517034069,0.0008647294589178357,0.0008665330661322645,0.0008683366733466933,0.0008701402805611222,0.0008719438877755511,0.0008737474949899799,0.0008755511022044088,0.0008773547094188377,0.0008791583166332665,0.0008809619238476954,0.0008827655310621243,0.0008845691382765531,0.000886372745490982,0.0008881763527054108,0.0008899799599198396,0.0008917835671342685,0.0008935871743486974,0.0008953907815631262,0.0008971943887775551,0.000898997995991984,0.0009008016032064128,0.0009026052104208417,0.0009044088176352706,0.0009062124248496994,0.0009080160320641283,0.0009098196392785571,0.0009116232464929859,0.0009134268537074148,0.0009152304609218437,0.0009170340681362725,0.0009188376753507014,0.0009206412825651303,0.0009224448897795591,0.000924248496993988,0.0009260521042084169,0.0009278557114228457,0.0009296593186372745,0.0009314629258517034,0.0009332665330661322,0.0009350701402805611,0.00093687374749499,0.0009386773547094188,0.0009404809619238477,0.0009422845691382766,0.0009440881763527054,0.0009458917835671343,0.0009476953907815632,0.000949498997995992,0.0009513026052104208,0.0009531062124248497,0.0009549098196392785,0.0009567134268537074,0.0009585170340681363,0.0009603206412825651,0.000962124248496994,0.0009639278557114229,0.0009657314629258517,0.0009675350701402806,0.0009693386773547095,0.0009711422845691383,0.0009729458917835671,0.000974749498997996,0.0009765531062124248,0.0009783567134268537,0.0009801603206412825,0.0009819639278557115,0.0009837675350701403,0.000985571142284569,0.000987374749498998,0.0009891783567134269,0.0009909819639278557,0.0009927855711422847,0.0009945891783567134,0.0009963927855711422,0.0009981963927855712,0.001]} diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/runner.jl b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/runner.jl new file mode 100644 index 000000000000..7d8acedd1109 --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/fixtures/julia/runner.jl @@ -0,0 +1,105 @@ +#!/usr/bin/env julia +# +# @license Apache-2.0 +# +# Copyright (c) 2025 The Stdlib Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import JSON + +""" + gen( x, name ) + +Generate fixture data and write to file. + +# Arguments + +* `x`: domain +* `name::AbstractString`: output filename + +# Examples + +``` julia +julia> x = range( -1000, stop = 1000, length = 2001 ); +julia> gen( x, \"data.json\" ); +``` +""" +function gen( x, name ) + y = Array{Any}( undef, length(x) ); + for i in eachindex(x) + # Mimic implicit type promotion in JavaScript: + y[i] = bitstring( convert( Float16, x[i] ) ); + end + + # Store data to be written to file as a collection: + data = Dict([ + ("x", x), + ("expected", y) + ]); + + # Based on the script directory, create an output filepath: + filepath = joinpath( dir, name ); + + # Write the data to the output filepath as JSON: + outfile = open( filepath, "w" ); + write( outfile, JSON.json(data) ); + write( outfile, "\n" ); + close( outfile ); +end + +# Get the filename: +file = @__FILE__; + +# Extract the directory in which this file resides: +dir = dirname( file ); + +# Positive normal values: +x = range( 0, stop = 1001, length = 500 ); +gen( x, "positive_normal.json" ); + +# Negative normal values: +x = range( -1001, stop = 0, length = 500 ); +gen( x, "negative_normal.json" ); + +# Positive small values: +x = range( 0, stop = 1, length = 500 ); +gen( x, "positive_small.json" ); + +# Negative small values: +x = range( -1, stop = 0, length = 500 ); +gen( x, "negative_small.json" ); + +# Positive tiny values: +x = range( 1e-4, stop = 1e-3, length = 500 ); +gen( x, "positive_tiny.json" ); + +# Negative tiny values: +x = range( -1e-4, stop = -1e-3, length = 500 ); +gen( x, "negative_tiny.json" ); + +# Positive subnormal values: +x = range( 1e-7, stop = 6e-5, length = 500 ); +gen( x, "positive_subnormal.json" ); + +# Negative subnormal values: +x = range( -1e-7, stop = -6e-5, length = 500 ); +gen( x, "negative_subnormal.json" ); + +# Large positive values: +x = range( 1e3, stop = 6.5e4, length = 500 ); +gen( x, "positive_large.json" ); + +# Large negative values: +x = range( -1e3, stop = -6.5e4, length = 500 ); +gen( x, "negative_large.json" ); diff --git a/lib/node_modules/@stdlib/number/float16/base/to-word/test/test.js b/lib/node_modules/@stdlib/number/float16/base/to-word/test/test.js new file mode 100644 index 000000000000..f8e11df6744b --- /dev/null +++ b/lib/node_modules/@stdlib/number/float16/base/to-word/test/test.js @@ -0,0 +1,333 @@ +/** +* @license Apache-2.0 +* +* Copyright (c) 2025 The Stdlib Authors. +* +* Licensed under the Apache License, Version 2.0 (the "License"); +* you may not use this file except in compliance with the License. +* You may obtain a copy of the License at +* +* http://www.apache.org/licenses/LICENSE-2.0 +* +* Unless required by applicable law or agreed to in writing, software +* distributed under the License is distributed on an "AS IS" BASIS, +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +* See the License for the specific language governing permissions and +* limitations under the License. +*/ + +'use strict'; + +// MODULES // + +var tape = require( 'tape' ); +var NINF = require( '@stdlib/constants/float16/ninf' ); +var PINF = require( '@stdlib/constants/float16/pinf' ); +var repeat = require( '@stdlib/string/repeat' ); +var rpad = require( '@stdlib/string/right-pad' ); +var toWord = require( './../lib' ); + + +// VARIABLES // + +// TODO: consider making external constants +var NUM_EXPONENT_BITS = 5; +var NUM_SIGNIFICAND_BITS = 10; + + +// FIXTURES // + +var negativeLarge = require( './fixtures/julia/negative_large.json' ); +var negativeNormal = require( './fixtures/julia/negative_normal.json' ); +var negativeSmall = require( './fixtures/julia/negative_small.json' ); +var negativeSubnormal = require( './fixtures/julia/negative_subnormal.json' ); +var negativeTiny = require( './fixtures/julia/negative_tiny.json' ); +var positiveLarge = require( './fixtures/julia/positive_large.json' ); +var positiveNormal = require( './fixtures/julia/positive_normal.json' ); +var positiveSmall = require( './fixtures/julia/positive_small.json' ); +var positiveSubnormal = require( './fixtures/julia/positive_subnormal.json' ); +var positiveTiny = require( './fixtures/julia/positive_tiny.json' ); + + +// TESTS // + +tape( 'main export is a function', function test( t ) { + t.ok( true, __filename ); + t.strictEqual( typeof toWord, 'function', 'main export is a function' ); + t.end(); +}); + +tape( 'if provided `0`, the function returns an unsigned 16-bit integer representing the underlying IEEE 754 bit sequence', function test( t ) { + var uint16; + var word; + var sign; + var frac; + var exp; + var w; + + sign = '0'; + exp = repeat( '0', NUM_EXPONENT_BITS ); // all 0s + frac = repeat( '0', NUM_SIGNIFICAND_BITS ); // all 0s + w = sign + exp + frac; + + uint16 = parseInt( w, 2 ); + + word = toWord( 0.0 ); + + t.strictEqual( word, uint16, 'equals '+w ); + t.end(); +}); + +tape( 'if provided `-0`, the function returns an unsigned 16-bit integer representing the underlying IEEE 754 bit sequence', function test( t ) { + var uint16; + var word; + var sign; + var frac; + var exp; + var w; + + sign = '1'; + exp = repeat( '0', NUM_EXPONENT_BITS ); // all 0s + frac = repeat( '0', NUM_SIGNIFICAND_BITS ); // all 0s + w = sign + exp + frac; + + uint16 = parseInt( w, 2 ); + + word = toWord( -0.0 ); + + t.strictEqual( word, uint16, 'equals '+w ); + t.end(); +}); + +tape( 'if provided `+infinity`, the function returns an unsigned 16-bit integer representing the underlying IEEE 754 bit sequence', function test( t ) { + var uint16; + var word; + var sign; + var frac; + var exp; + var w; + + sign = '0'; + exp = repeat( '1', NUM_EXPONENT_BITS ); // all 1s + frac = repeat( '0', NUM_SIGNIFICAND_BITS ); // all 0s + w = sign + exp + frac; + + uint16 = parseInt( w, 2 ); + + word = toWord( PINF ); + + t.strictEqual( word, uint16, 'equals '+w ); + t.end(); +}); + +tape( 'if provided `-infinity`, the function returns an unsigned 16-bit integer representing the underlying IEEE 754 bit sequence', function test( t ) { + var uint16; + var word; + var sign; + var frac; + var exp; + var w; + + sign = '1'; + exp = repeat( '1', NUM_EXPONENT_BITS ); // all 1s + frac = repeat( '0', NUM_SIGNIFICAND_BITS ); // all 0s + w = sign + exp + frac; + + uint16 = parseInt( w, 2 ); + + word = toWord( NINF ); + + t.strictEqual( word, uint16, 'equals '+w ); + t.end(); +}); + +tape( 'if provided `NaN`, the function returns an unsigned 16-bit integer representing the underlying IEEE 754 bit sequence', function test( t ) { + var uint16; + var word; + var sign; + var frac; + var exp; + var w; + + sign = '0'; + exp = repeat( '1', NUM_EXPONENT_BITS ); // all 1s + frac = rpad( '1', NUM_SIGNIFICAND_BITS, '0' ); // not all 0s + w = sign + exp + frac; + + uint16 = parseInt( w, 2 ); + + word = toWord( NaN ); + + t.strictEqual( word, uint16, 'equals '+w ); + t.end(); +}); + +tape( 'if provided large positive values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = positiveLarge.x; + expected = positiveLarge.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided normal positive values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = positiveNormal.x; + expected = positiveNormal.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided small positive values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = positiveSmall.x; + expected = positiveSmall.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided tiny positive values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = positiveTiny.x; + expected = positiveTiny.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided subnormal positive values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = positiveSubnormal.x; + expected = positiveSubnormal.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided large negative values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = negativeLarge.x; + expected = negativeLarge.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided normal negative values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = negativeNormal.x; + expected = negativeNormal.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided small negative values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = negativeSmall.x; + expected = negativeSmall.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided tiny negative values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = negativeTiny.x; + expected = negativeTiny.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +}); + +tape( 'if provided subnormal negative values, the function returns unsigned 16-bit integers representing the underlying IEEE 754 bit sequences', function test( t ) { + var expected; + var x; + var y; + var w; + var i; + + x = negativeSubnormal.x; + expected = negativeSubnormal.expected; + for ( i = 0; i < x.length; i++ ) { + y = toWord( x[ i ] ); + w = parseInt( expected[ i ], 2 ); + t.strictEqual( y, w, 'x: '+x[i]+', y: '+y+', expected: '+w ); + } + t.end(); +});