-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.js.map
7 lines (7 loc) · 3.02 KB
/
index.js.map
1
2
3
4
5
6
7
{
"version": 3,
"sources": ["../lib/main.js", "../lib/index.js"],
"sourcesContent": ["/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n// MODULES //\n\nvar reim = require( '@stdlib/complex-reim' );\n\n\n// MAIN //\n\n/**\n* Tests whether two double-precision complex floating-point numbers are equal.\n*\n* @param {Complex128} z1 - first complex number\n* @param {Complex128} z2 - second complex number\n* @returns {boolean} result\n*\n* @example\n* var Complex128 = require( '@stdlib/complex-float64-ctor' );\n*\n* var z1 = new Complex128( 5.0, 3.0 );\n* var z2 = new Complex128( 5.0, 3.0 );\n*\n* var v = isEqual( z1, z2 );\n* // returns true\n*/\nfunction isEqual( z1, z2 ) {\n\tvar parts1 = reim( z1 );\n\tvar parts2 = reim( z2 );\n\treturn (\n\t\tparts1[ 0 ] === parts2[ 0 ] &&\n\t\tparts1[ 1 ] === parts2[ 1 ]\n\t);\n}\n\n\n// EXPORTS //\n\nmodule.exports = isEqual;\n", "/**\n* @license Apache-2.0\n*\n* Copyright (c) 2024 The Stdlib Authors.\n*\n* Licensed under the Apache License, Version 2.0 (the \"License\");\n* you may not use this file except in compliance with the License.\n* You may obtain a copy of the License at\n*\n* http://www.apache.org/licenses/LICENSE-2.0\n*\n* Unless required by applicable law or agreed to in writing, software\n* distributed under the License is distributed on an \"AS IS\" BASIS,\n* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n* See the License for the specific language governing permissions and\n* limitations under the License.\n*/\n\n'use strict';\n\n/**\n* Test whether two double-precision complex floating-point numbers are equal.\n*\n* @module @stdlib/complex-base-assert-is-equal\n*\n* @example\n* var Complex128 = require( '@stdlib/complex-float64-ctor' );\n* var isEqual = require( '@stdlib/complex-base-assert-is-equal' );\n*\n* var z1 = new Complex128( 5.0, 3.0 );\n* var z2 = new Complex128( 5.0, 3.0 );\n*\n* var v = isEqual( z1, z2 );\n* // returns true\n*/\n\n// MODULES //\n\nvar main = require( './main.js' );\n\n\n// EXPORTS //\n\nmodule.exports = main;\n"],
"mappings": "uGAAA,IAAAA,EAAAC,EAAA,SAAAC,EAAAC,EAAA,cAsBA,IAAIC,EAAO,QAAS,sBAAuB,EAqB3C,SAASC,EAASC,EAAIC,EAAK,CAC1B,IAAIC,EAASJ,EAAME,CAAG,EAClBG,EAASL,EAAMG,CAAG,EACtB,OACCC,EAAQ,CAAE,IAAMC,EAAQ,CAAE,GAC1BD,EAAQ,CAAE,IAAMC,EAAQ,CAAE,CAE5B,CAKAN,EAAO,QAAUE,ICjBjB,IAAIK,EAAO,IAKX,OAAO,QAAUA",
"names": ["require_main", "__commonJSMin", "exports", "module", "reim", "isEqual", "z1", "z2", "parts1", "parts2", "main"]
}