{"_id":"@stdlib/math-base-napi-binary","_rev":"3333858","name":"@stdlib/math-base-napi-binary","description":"C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.","dist-tags":{"latest":"0.2.1"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"time":{"modified":"2024-07-10T07:37:35.000Z","created":"2021-06-14T17:39:24.787Z","0.2.1":"2024-02-24T21:11:32.547Z","0.2.0":"2024-02-14T08:11:52.269Z","0.1.0":"2023-09-24T02:54:42.768Z","0.0.8":"2022-02-16T19:33:46.621Z","0.0.7":"2021-08-22T21:47:09.771Z","0.0.6":"2021-07-06T23:55:33.015Z","0.0.5":"2021-06-27T22:43:04.580Z","0.0.4":"2021-06-16T04:22:49.623Z","0.0.3":"2021-06-15T15:08:35.204Z","0.0.2":"2021-06-15T02:52:56.101Z","0.0.1":"2021-06-14T17:39:24.787Z"},"users":{},"author":{"name":"The Stdlib Authors","url":"https://github.com/stdlib-js/stdlib/graphs/contributors"},"repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"versions":{"0.2.1":{"name":"@stdlib/math-base-napi-binary","version":"0.2.1","description":"C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":false,"directories":{"doc":"./docs","include":"./include","lib":"./lib","src":"./src","dist":"./dist"},"types":"./docs/types","scripts":{},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/complex-float32":"^0.2.1","@stdlib/complex-float64":"^0.2.1","@stdlib/complex-reim":"^0.2.1","@stdlib/complex-reimf":"^0.2.1","@stdlib/utils-library-manifest":"^0.2.1"},"devDependencies":{},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","node-api","addon","binary","map","transform"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"31aff930532b53e34d2c7386684375a079fcf6bb","_id":"@stdlib/math-base-napi-binary@0.2.1","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"0e69751a6570efe606bcc9826ebcacdfc2864213","size":13295,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.2.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.2.1_1708809092327_0.3251776811815119"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-24T21:11:32.547Z","publish_time":1708809092547,"_source_registry_name":"default","_cnpm_publish_time":1708809092547},"0.2.0":{"name":"@stdlib/math-base-napi-binary","version":"0.2.0","description":"C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":false,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/complex-float32":"^0.2.0","@stdlib/complex-float64":"^0.2.0","@stdlib/complex-reim":"^0.2.0","@stdlib/complex-reimf":"^0.2.0","@stdlib/utils-library-manifest":"^0.2.0"},"devDependencies":{"@stdlib/assert-is-browser":"^0.1.1","@stdlib/math-base-assert-is-nan":"^0.1.1","@stdlib/utils-try-require":"^0.2.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git","@stdlib/bench-harness":"^0.2.0","@stdlib/bench":"^0.3.1"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","node-api","addon","binary","map","transform"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"7137673f0798ef13d7c9fd7becf78e557b1d583b","_id":"@stdlib/math-base-napi-binary@0.2.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"9b69487c93a2d61ef69e05dd38b80fc36b557f47","size":13460,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.2.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.2.0_1707898312103_0.768012604773654"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-02-14T08:11:52.269Z","publish_time":1707898312269,"_source_registry_name":"default","_cnpm_publish_time":1707898312269},"0.1.0":{"name":"@stdlib/math-base-napi-binary","version":"0.1.0","description":"C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":false,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/complex-float32":"^0.1.0","@stdlib/complex-float64":"^0.1.0","@stdlib/complex-reim":"^0.1.0","@stdlib/complex-reimf":"^0.1.0","@stdlib/utils-library-manifest":"^0.1.0"},"devDependencies":{"@stdlib/assert-is-browser":"^0.1.0","@stdlib/bench":"^0.1.0","@stdlib/math-base-assert-is-nan":"^0.1.0","@stdlib/utils-try-require":"^0.1.0","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-min":"git+https://github.com/Planeshifter/tap-min.git"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","node-api","addon","binary","map","transform"],"funding":{"type":"opencollective","url":"https://opencollective.com/stdlib"},"gitHead":"09e778888dc3ceb96e90fcf9e55bdfae4f1d729e","_id":"@stdlib/math-base-napi-binary@0.1.0","_nodeVersion":"16.20.2","_npmVersion":"8.19.4","dist":{"shasum":"6c4c0c35f0440b859a0d43012d3551c3f09046ae","size":13660,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.1.0.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte+stdlibbot@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.1.0_1695524082561_0.5996929378604925"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-24T02:54:42.768Z","publish_time":1695524082768,"_source_registry_name":"default","_cnpm_publish_time":1695524082768},"0.0.8":{"name":"@stdlib/math-base-napi-binary","version":"0.0.8","description":"C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":false,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/complex-float32":"^0.0.x","@stdlib/complex-float64":"^0.0.x","@stdlib/complex-reim":"^0.0.x","@stdlib/complex-reimf":"^0.0.x","@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","node-api","addon","binary","map","transform"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"a3f0ae48d9ea4738a48729ae9f439d019f6006fc","_id":"@stdlib/math-base-napi-binary@0.0.8","_nodeVersion":"16.13.2","_npmVersion":"8.1.2","dist":{"shasum":"b2754b021e40e3982c5f22b853ca50724b9eb8de","size":13007,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.8.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.8_1645040026472_0.3872226630735549"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-02-16T19:33:55.261Z","publish_time":1645040026621,"_cnpm_publish_time":1645040026621},"0.0.7":{"name":"@stdlib/math-base-napi-binary","version":"0.0.7","description":"C APIs for registering a Node-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":false,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","node-api","addon","binary","map","transform"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"55d41cd71afd46c0f2acc465777776f70722c8ac","_id":"@stdlib/math-base-napi-binary@0.0.7","_nodeVersion":"16.7.0","_npmVersion":"7.20.3","dist":{"shasum":"bf2ab74ae595c03893e349732e9f20aaa935a50e","size":12542,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.7.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.7.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.7_1629668829600_0.6408162744138475"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T16:32:46.798Z","publish_time":1629668829771,"_cnpm_publish_time":1629668829771},"0.0.6":{"name":"@stdlib/math-base-napi-binary","version":"0.0.6","description":"C APIs for registering an N-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":true,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark","install":"node-gyp rebuild"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","addon","binary","map","transform"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"fafd8ee18df222f255bc7beea07d484a8a4081c8","_id":"@stdlib/math-base-napi-binary@0.0.6","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"a2a086ed1aee746d29a3ffce8a974dd553872343","size":12626,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.6.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.6.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.6_1625615732886_0.6233102623192175"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T16:32:45.049Z","hasInstallScript":true,"publish_time":1625615733015,"_cnpm_publish_time":1625615733015},"0.0.5":{"name":"@stdlib/math-base-napi-binary","version":"0.0.5","description":"C APIs for registering an N-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":true,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark","install":"node-gyp rebuild"},"homepage":"https://stdlib.io","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","addon","binary","map","transform"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"e686b5eafb2df84962a82d227a423e151cc8f71e","_id":"@stdlib/math-base-napi-binary@0.0.5","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"befaa25379d247bc8c6b72ea810e3c97d80b9264","size":12626,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.5.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.5_1624833784429_0.6790816274134341"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T16:32:43.292Z","hasInstallScript":true,"publish_time":1624833784580,"_cnpm_publish_time":1624833784580},"0.0.4":{"name":"@stdlib/math-base-napi-binary","version":"0.0.4","description":"C APIs for registering an N-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":true,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark","install":"node-gyp rebuild"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","addon","binary","map","transform"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"e7ed282a5b21647e545a52b7d152b3c743822fa6","_id":"@stdlib/math-base-napi-binary@0.0.4","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"f60553a6fa4731c6f4834e5ad6c1f67ff9c99168","size":12570,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.4.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.4_1623817369452_0.5297751850589179"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T16:32:41.474Z","hasInstallScript":true,"publish_time":1623817369623,"_cnpm_publish_time":1623817369623},"0.0.3":{"name":"@stdlib/math-base-napi-binary","version":"0.0.3","description":"C APIs for registering an N-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":true,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","benchmark":"make benchmark","install":"node-gyp rebuild"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","addon","binary","map","transform"],"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"4879111cd65a8b0b68190390c9472fa2309f2f20","_id":"@stdlib/math-base-napi-binary@0.0.3","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"shasum":"76c19920a7e354489bcddba09b4b8caf0be310fb","size":16142,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.3.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.3_1623769715043_0.8814040777670875"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T16:32:39.752Z","hasInstallScript":true,"publish_time":1623769715204,"_cnpm_publish_time":1623769715204},"0.0.2":{"name":"@stdlib/math-base-napi-binary","version":"0.0.2","description":"C APIs for registering an N-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":true,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","install":"node-gyp rebuild"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","addon","binary","map","transform"],"__stdlib__":{},"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"ab9e8f86e0bf53ee2ade76357129581efdaa8eb9","_id":"@stdlib/math-base-napi-binary@0.0.2","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"cdc51b10f74f1add339d540b2e64a855ad734ae5","size":16237,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.2.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.2_1623725575892_0.3801516688813813"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T16:32:37.784Z","hasInstallScript":true,"publish_time":1623725576101,"_cnpm_publish_time":1623725576101},"0.0.1":{"name":"@stdlib/math-base-napi-binary","version":"0.0.1","description":"C APIs for registering an N-API module exporting an interface for invoking a binary numerical function.","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","browser":"./lib/browser.js","gypfile":true,"directories":{"benchmark":"./benchmark","doc":"./docs","example":"./examples","include":"./include","lib":"./lib","src":"./src","test":"./test"},"types":"./docs/types","scripts":{"test":"make test","test-cov":"make test-cov","examples":"make examples","install":"node-gyp rebuild"},"homepage":"https://github.com/stdlib-js/stdlib","repository":{"type":"git","url":"git://github.com/stdlib-js/math-base-napi-binary.git"},"bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"dependencies":{"@stdlib/utils-library-manifest":"^0.0.x"},"devDependencies":{"@stdlib/assert-is-browser":"^0.0.x","@stdlib/bench":"^0.0.x","@stdlib/math-base-assert-is-nan":"^0.0.x","@stdlib/utils-try-require":"^0.0.x","tape":"git+https://github.com/kgryte/tape.git#fix/globby","istanbul":"^0.4.1","tap-spec":"5.x.x"},"engines":{"node":">=0.10.0","npm":">2.7.0"},"os":["aix","darwin","freebsd","linux","macos","openbsd","sunos","win32","windows"],"keywords":["stdlib","stdmath","mathematics","math","napi","n-api","addon","binary","map","transform"],"__stdlib__":{},"funding":{"type":"patreon","url":"https://www.patreon.com/athan"},"gitHead":"90d654f652195f4a847028439a1fd1e1c1169864","_id":"@stdlib/math-base-napi-binary@0.0.1","_nodeVersion":"14.17.0","_npmVersion":"6.14.13","dist":{"shasum":"75771596df26c174431fca9217e0d120c3d905da","size":15671,"noattachment":false,"key":"/@stdlib/math-base-napi-binary/-/@stdlib/math-base-napi-binary-0.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@stdlib/math-base-napi-binary/download/@stdlib/math-base-napi-binary-0.0.1.tgz"},"_npmUser":{"name":"stdlib-bot","email":"kgryte@gmail.com"},"maintainers":[{"name":"kgryte","email":"kgryte@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"stdlib-bot","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/math-base-napi-binary_0.0.1_1623692364659_0.2835105451802218"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-27T16:32:35.813Z","hasInstallScript":true,"publish_time":1623692364787,"_cnpm_publish_time":1623692364787}},"readme":"<!--\n\n@license Apache-2.0\n\nCopyright (c) 2020 The Stdlib Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n\n-->\n\n\n<details>\n  <summary>\n    About stdlib...\n  </summary>\n  <p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p>\n  <p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p>\n  <p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p>\n  <p>To join us in bringing numerical computing to the web, get started by checking us out on <a href=\"https://github.com/stdlib-js/stdlib\">GitHub</a>, and please consider <a href=\"https://opencollective.com/stdlib\">financially supporting stdlib</a>. We greatly appreciate your continued support!</p>\n</details>\n\n# binary\n\n[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->\n\n> C APIs for registering a Node-API module exporting interfaces for invoking binary numerical functions.\n\n<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->\n\n<section class=\"intro\">\n\n</section>\n\n<!-- /.intro -->\n\n<!-- Package usage documentation. -->\n\n<section class=\"installation\">\n\n## Installation\n\n```bash\nnpm install @stdlib/math-base-napi-binary\n```\n\n</section>\n\n<section class=\"usage\">\n\n## Usage\n\n```javascript\nvar headerDir = require( '@stdlib/math-base-napi-binary' );\n```\n\n#### headerDir\n\nAbsolute file path for the directory containing header files for C APIs.\n\n```javascript\nvar dir = headerDir;\n// returns <string>\n```\n\n</section>\n\n<!-- /.usage -->\n\n<!-- Package usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"notes\">\n\n</section>\n\n<!-- /.notes -->\n\n<!-- Package usage examples. -->\n\n<section class=\"examples\">\n\n## Examples\n\n```javascript\nvar headerDir = require( '@stdlib/math-base-napi-binary' );\n\nconsole.log( headerDir );\n// => <string>\n```\n\n</section>\n\n<!-- /.examples -->\n\n<!-- C interface documentation. -->\n\n* * *\n\n<section class=\"c\">\n\n## C APIs\n\n<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->\n\n<section class=\"intro\">\n\n</section>\n\n<!-- /.intro -->\n\n<!-- C usage documentation. -->\n\n<section class=\"usage\">\n\n### Usage\n\n```c\n#include \"stdlib/math/base/napi/binary.h\"\n```\n\n#### stdlib_math_base_napi_dd_d( env, info, fcn )\n\nInvokes a binary function accepting and returning double-precision floating-point numbers.\n\n```c\n#include <node_api.h>\n\n// ...\n\nstatic double add( const double x, const double y ) {\n    return x + y;\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_dd_d( env, info, add );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] double (*fcn)( double, double )` binary function.\n\n```c\nvoid stdlib_math_base_napi_dd_d( napi_env env, napi_callback_info info, double (*fcn)( double, double ) );\n```\n\n#### stdlib_math_base_napi_ff_f( env, info, fcn )\n\nInvokes a binary function accepting and returning single-precision floating-point numbers.\n\n```c\n#include <node_api.h>\n\n// ...\n\nstatic float addf( const float x, const float y ) {\n    return x + y;\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_ff_f( env, info, addf );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] float (*fcn)( float, float )` binary function.\n\n````c\nvoid stdlib_math_base_napi_ff_f( napi_env env, napi_callback_info info, float (*fcn)( float, float ) );\n```de \"stdlib/math/base/napi/binary.h\"\n````\n\n#### stdlib_math_base_napi_zz_z( env, info, fcn )\n\nInvokes a binary function accepting and returning double-precision complex floating-point numbers.\n\n```c\n#include \"stdlib/complex/float64.h\"\n#include \"stdlib/complex/reim.h\"\n#include <node_api.h>\n\n// ...\n\nstatic stdlib_complex128_t add( const stdlib_complex128_t x, const stdlib_complex128_t y ) {\n    double xre;\n    double xim;\n    double yre;\n    double yim;\n    double re;\n    double im;\n\n    stdlib_reim( x, &xre, &xim );\n    stdlib_reim( y, &yre, &yim );\n\n    re = xre + yre;\n    im = xim + yim;\n\n    return stdlib_complex128( re, im );\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_zz_z( env, info, add );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] stdlib_complex128_t (*fcn)( stdlib_complex128_t, stdlib_complex128_t )` binary function.\n\n```c\nvoid stdlib_math_base_napi_zz_z( napi_env env, napi_callback_info info, stdlib_complex128_t (*fcn)( stdlib_complex128_t, stdlib_complex128_t ) );\n```\n\n#### stdlib_math_base_napi_cc_c( env, info, fcn )\n\nInvokes a binary function accepting and returning single-precision complex floating-point numbers.\n\n```c\n#include \"stdlib/complex/float64.h\"\n#include \"stdlib/complex/reim.h\"\n#include <node_api.h>\n\n// ...\n\nstatic stdlib_complex64_t add( const stdlib_complex64_t x, const stdlib_complex64_t y ) {\n    float xre;\n    float xim;\n    float yre;\n    float yim;\n    float re;\n    float im;\n\n    stdlib_reimf( x, &xre, &xim );\n    stdlib_reimf( y, &yre, &yim );\n\n    re = xre + yre;\n    im = xim + yim;\n\n    return stdlib_complex64( re, im );\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_cc_c( env, info, add );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] stdlib_complex64_t (*fcn)( stdlib_complex64_t, stdlib_complex64_t )` binary function.\n\n```c\nvoid stdlib_math_base_napi_cc_c( napi_env env, napi_callback_info info, stdlib_complex64_t (*fcn)( stdlib_complex64_t, stdlib_complex64_t ) );\n```\n\n#### stdlib_math_base_napi_di_d( env, info, fcn )\n\nInvokes a binary function accepting a double-precision floating-point number and a signed 32-bit integer and returning a double-precision floating-point number.\n\n```c\n#include <node_api.h>\n#include <stdint.h>\n\n// ...\n\nstatic double mul( const double x, const int32_t y ) {\n    return x * y;\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_di_d( env, info, mul );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] double (*fcn)( double, int32_t )` binary function.\n\n```c\nvoid stdlib_math_base_napi_di_d( napi_env env, napi_callback_info info, double (*fcn)( double, int32_t ) );\n```\n\n#### stdlib_math_base_napi_fi_f( env, info, fcn )\n\nInvokes a binary function accepting a single-precision floating-point number and a signed 32-bit integer and returning a single-precision floating-point number.\n\n```c\n#include <node_api.h>\n#include <stdint.h>\n\n// ...\n\nstatic float mulf( const float x, const int32_t y ) {\n    return x * y;\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_fi_f( env, info, mulf );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] float (*fcn)( float, int32_t )` binary function.\n\n```c\nvoid stdlib_math_base_napi_fi_f( napi_env env, napi_callback_info info, float (*fcn)( float, int32_t ) );\n```\n\n#### stdlib_math_base_napi_zi_z( env, info, fcn )\n\nInvokes a binary function accepting a double-precision complex floating-point number and a signed 32-bit integer and returning a double-precision complex floating-point number.\n\n```c\n#include \"stdlib/complex/float64.h\"\n#include \"stdlib/complex/reim.h\"\n#include <node_api.h>\n#include <stdint.h>\n\n// ...\n\nstatic stdlib_complex128_t mul( const stdlib_complex128_t x, const int32_t y ) {\n    double xre;\n    double xim;\n    double re;\n    double im;\n\n    stdlib_reim( x, &xre, &xim );\n\n    re = xre * y;\n    im = xim * y;\n\n    return stdlib_complex128( re, im );\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_zi_z( env, info, mul );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] stdlib_complex128_t (*fcn)( stdlib_complex128_t, int32_t )` binary function.\n\n```c\nvoid stdlib_math_base_napi_zi_z( napi_env env, napi_callback_info info, stdlib_complex128_t (*fcn)( stdlib_complex128_t, int32_t ) );\n```\n\n#### stdlib_math_base_napi_ci_c( env, info, fcn )\n\nInvokes a binary function accepting a single-precision complex floating-point number and a signed 32-bit integer and returning a single-precision complex floating-point number.\n\n```c\n#include \"stdlib/complex/float64.h\"\n#include \"stdlib/complex/reimf.h\"\n#include <node_api.h>\n#include <stdint.h>\n\n// ...\n\nstatic stdlib_complex64_t mul( const stdlib_complex64_t x, const int32_t y ) {\n    float xre;\n    float xim;\n    float re;\n    float im;\n\n    stdlib_reimf( x, &xre, &xim );\n\n    re = xre * y;\n    im = xim * y;\n\n    return stdlib_complex64( re, im );\n}\n\n// ...\n\n/**\n* Receives JavaScript callback invocation data.\n*\n* @param env    environment under which the function is invoked\n* @param info   callback data\n* @return       Node-API value\n*/\nnapi_value addon( napi_env env, napi_callback_info info ) {\n    return stdlib_math_base_napi_ci_c( env, info, mul );\n}\n\n// ...\n```\n\nThe function accepts the following arguments:\n\n-   **env**: `[in] napi_env` environment under which the function is invoked.\n-   **info**: `[in] napi_callback_info` callback data.\n-   **fcn**: `[in] stdlib_complex64_t (*fcn)( stdlib_complex64_t, int32_t )` binary function.\n\n```c\nvoid stdlib_math_base_napi_ci_c( napi_env env, napi_callback_info info, stdlib_complex64_t (*fcn)( stdlib_complex64_t, int32_t ) );\n```\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_DD_D( fcn )\n\nMacro for registering a Node-API module exporting an interface for invoking a binary function accepting and returning double-precision floating-point numbers.\n\n```c\nstatic double add( const double x, const double y ) {\n    return x + y;\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_DD_D( add );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `double (*fcn)( double, double )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_FF_F( fcn )\n\nMacro for registering a Node-API module exporting an interface for invoking a binary function accepting and returning single-precision floating-point numbers.\n\n```c\nstatic float addf( const float x, const float y ) {\n    return x + y;\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_FF_F( addf );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `float (*fcn)( float, float )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_ZZ_Z( fcn )\n\nMacro for registering a Node-API module exporting an interface for invoking a binary function accepting and returning double-precision complex floating-point numbers.\n\n```c\n#include \"stdlib/complex/float64.h\"\n#include \"stdlib/complex/reim.h\"\n\nstatic stdlib_complex128_t add( const stdlib_complex128_t x, const stdlib_complex128_t y ) {\n    double xre;\n    double xim;\n    double yre;\n    double yim;\n    double re;\n    double im;\n\n    stdlib_reim( x, &xre, &xim );\n    stdlib_reim( y, &yre, &yim );\n\n    re = xre + yre;\n    im = xim + yim;\n\n    return stdlib_complex128( re, im );\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_ZZ_Z( add );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `stdlib_complex128_t (*fcn)( stdlib_complex128_t, stdlib_complex128_t )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_CC_C( fcn )\n\nMacro for registering a Node-API module exporting an interface for invoking a binary function accepting and returning single-precision complex floating-point numbers.\n\n```c\n#include \"stdlib/complex/float32.h\"\n#include \"stdlib/complex/reimf.h\"\n\nstatic stdlib_complex64_t add( const stdlib_complex64_t x, const stdlib_complex64_t y ) {\n    float xre;\n    float xim;\n    float yre;\n    float yim;\n    float re;\n    float im;\n\n    stdlib_reimf( x, &xre, &xim );\n    stdlib_reimf( y, &yre, &yim );\n\n    re = xre + yre;\n    im = xim + yim;\n\n    return stdlib_complex64( re, im );\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_CC_C( add );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `stdlib_complex64_t (*fcn)( stdlib_complex64_t, stdlib_complex64_t )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_DI_D( fcn )\n\nMacro for registering a Node-API module exporting an interface invoking a binary function accepting a double-precision floating-point number and a signed 32-bit integer and returning a double-precision floating-point number.\n\n```c\n#include <stdint.h>\n\nstatic double mul( const double x, const int32_t y ) {\n    return x * y;\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_DI_D( mul );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `double (*fcn)( double, int32_t )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_FI_F( fcn )\n\nMacro for registering a Node-API module exporting an interface invoking a binary function accepting a single-precision floating-point number and a signed 32-bit integer and returning a single-precision floating-point number.\n\n```c\n#include <stdint.h>\n\nstatic float mulf( const float x, const int32_t y ) {\n    return x * y;\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_FI_F( mulf );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `float (*fcn)( float, int32_t )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_ZI_Z( fcn )\n\nMacro for registering a Node-API module exporting an interface invoking a binary function accepting a double-precision complex floating-point number and a signed 32-bit and returning a double-precision complex floating-point number.\n\n```c\n#include \"stdlib/complex/float64.h\"\n#include \"stdlib/complex/reim.h\"\n#include <stdint.h>\n\nstatic stdlib_complex128_t mul( const stdlib_complex128_t x, const int32_t y ) {\n    double xre;\n    double xim;\n    double re;\n    double im;\n\n    stdlib_reim( x, &xre, &xim );\n\n    re = xre * y;\n    im = xim * y;\n\n    return stdlib_complex128( re, im );\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_ZI_Z( mul );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `stdlib_complex128_t (*fcn)( stdlib_complex128_t, int32_t )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_CI_C( fcn )\n\nMacro for registering a Node-API module exporting an interface invoking a binary function accepting a single-precision complex floating-point number and a signed 32-bit integer and returning a single-precision complex floating-point number.\n\n```c\n#include \"stdlib/complex/float32.h\"\n#include \"stdlib/complex/reimf.h\"\n#include <stdint.h>\n\nstatic stdlib_complex64_t add( const stdlib_complex64_t x, const int32_t y ) {\n    float xre;\n    float xim;\n    float re;\n    float im;\n\n    stdlib_reimf( x, &xre, &xim );\n\n    re = xre * y;\n    im = xim * y;\n\n    return stdlib_complex64( re, im );\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_CI_C( add );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `stdlib_complex64_t (*fcn)( stdlib_complex64_t, int32_t )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_ZD_Z( fcn )\n\nMacro for registering a Node-API module exporting an interface invoking a binary function accepting a double-precision complex floating-point number and a double-precision floating-point number and returning a double-precision complex floating-point number.\n\n```c\n#include \"stdlib/complex/float64.h\"\n#include \"stdlib/complex/reim.h\"\n\nstatic stdlib_complex128_t mul( const stdlib_complex128_t x, const double y ) {\n    double xre;\n    double xim;\n    double re;\n    double im;\n\n    stdlib_reim( x, &xre, &xim );\n\n    re = xre * y;\n    im = xim * y;\n\n    return stdlib_complex128( re, im );\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_ZD_Z( mul );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `stdlib_complex128_t (*fcn)( stdlib_complex128_t, double )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n#### STDLIB_MATH_BASE_NAPI_MODULE_CF_C( fcn )\n\nMacro for registering a Node-API module exporting an interface invoking a binary function accepting a single-precision complex floating-point number and a single-precision floating-point number and returning a single-precision complex floating-point number.\n\n```c\n#include \"stdlib/complex/float32.h\"\n#include \"stdlib/complex/reimf.h\"\n\nstatic stdlib_complex64_t add( const stdlib_complex64_t x, const float y ) {\n    float xre;\n    float xim;\n    float re;\n    float im;\n\n    stdlib_reimf( x, &xre, &xim );\n\n    re = xre * y;\n    im = xim * y;\n\n    return stdlib_complex64( re, im );\n}\n\n// ...\n\n// Register a Node-API module:\nSTDLIB_MATH_BASE_NAPI_MODULE_CF_C( add );\n```\n\nThe macro expects the following arguments:\n\n-   **fcn**: `stdlib_complex64_t (*fcn)( stdlib_complex64_t, float )` binary function.\n\nWhen used, this macro should be used **instead of** `NAPI_MODULE`. The macro includes `NAPI_MODULE`, thus ensuring Node-API module registration.\n\n</section>\n\n<!-- /.usage -->\n\n<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"notes\">\n\n### Notes\n\n-   The C-API functions expect that the callback `info` argument provides access to the following JavaScript arguments:\n\n    -   `x`: input value.\n    -   `y`: input value.\n\n</section>\n\n<!-- /.notes -->\n\n<!-- C API usage examples. -->\n\n<section class=\"examples\">\n\n</section>\n\n<!-- /.examples -->\n\n</section>\n\n<!-- /.c -->\n\n<!-- Section to include cited references. If references are included, add a horizontal rule *before* the section. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"references\">\n\n</section>\n\n<!-- /.references -->\n\n<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->\n\n<section class=\"related\">\n\n</section>\n\n<!-- /.related -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n\n<section class=\"main-repo\" >\n\n* * *\n\n## Notice\n\nThis package is part of [stdlib][stdlib], a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.\n\nFor more information on the project, filing bug reports and feature requests, and guidance on how to develop [stdlib][stdlib], see the main project [repository][stdlib].\n\n#### Community\n\n[![Chat][chat-image]][chat-url]\n\n---\n\n## License\n\nSee [LICENSE][stdlib-license].\n\n\n## Copyright\n\nCopyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].\n\n</section>\n\n<!-- /.stdlib -->\n\n<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->\n\n<section class=\"links\">\n\n[npm-image]: http://img.shields.io/npm/v/@stdlib/math-base-napi-binary.svg\n[npm-url]: https://npmjs.org/package/@stdlib/math-base-napi-binary\n\n[test-image]: https://github.com/stdlib-js/math-base-napi-binary/actions/workflows/test.yml/badge.svg?branch=v0.2.1\n[test-url]: https://github.com/stdlib-js/math-base-napi-binary/actions/workflows/test.yml?query=branch:v0.2.1\n\n[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/math-base-napi-binary/main.svg\n[coverage-url]: https://codecov.io/github/stdlib-js/math-base-napi-binary?branch=main\n\n<!--\n\n[dependencies-image]: https://img.shields.io/david/stdlib-js/math-base-napi-binary.svg\n[dependencies-url]: https://david-dm.org/stdlib-js/math-base-napi-binary/main\n\n-->\n\n[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg\n[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im\n\n[stdlib]: https://github.com/stdlib-js/stdlib\n\n[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors\n\n[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/math-base-napi-binary/main/LICENSE\n\n</section>\n\n<!-- /.links -->\n","_attachments":{},"homepage":"https://stdlib.io","bugs":{"url":"https://github.com/stdlib-js/stdlib/issues"},"license":"Apache-2.0"}