From 132ea9fc2a3a105e472524964d9698c61835eb67 Mon Sep 17 00:00:00 2001 From: NEERAJ Date: Thu, 1 Jan 2026 19:39:22 +0530 Subject: [PATCH 1/2] feat: add initial scaffolding --- .../number/float64/base/div/package.json | 119 +++++++++++++++++- 1 file changed, 118 insertions(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/number/float64/base/div/package.json b/lib/node_modules/@stdlib/number/float64/base/div/package.json index de861c50828d..85c38ab2f841 100644 --- a/lib/node_modules/@stdlib/number/float64/base/div/package.json +++ b/lib/node_modules/@stdlib/number/float64/base/div/package.json @@ -67,5 +67,122 @@ "double", "double-precision" ], - "__stdlib__": {} + "__stdlib__": { + "scaffold": { + "$schema": "math/base@v1.0", + "base_alias": "div", + "alias": "div", + "pkg_desc": "divide two double-precision floating-point numbers", + "desc": "divides two half-precision floating-point numbers", + "short_desc": "", + "parameters": [ + { + "name": "x", + "desc": "first input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + 1, + 27, + 0, + 10, + 9, + 8, + 1, + 125, + 20, + 11, + 12, + 3, + 2, + 15, + 16, + 17, + 125, + 19, + 101, + 21 + ] + }, + { + "name": "y", + "desc": "second input value", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + }, + "domain": [ + { + "min": "-infinity", + "max": "infinity" + } + ], + "rand": { + "prng": "random/base/uniform", + "parameters": [ + -10, + 10 + ] + }, + "example_values": [ + 51, + 2, + 10, + 14, + 90, + 88, + 1, + 12, + 120, + 71, + 62, + 31, + 2, + 45, + 26, + 37, + 25, + 59, + 11, + 41 + ] + } + ], + "output_policy": "same", + "returns": { + "desc": "result", + "type": { + "javascript": "number", + "jsdoc": "number", + "c": "double", + "dtype": "float64" + } + }, + "keywords": [ + "division", + "divide", + "div" + ], + "extra_keywords": [] + } + } } From 2d23570698dc7bd1d92a1c3c33cd2f5f32fa7deb Mon Sep 17 00:00:00 2001 From: Neeraj Pathak Date: Mon, 5 Jan 2026 19:05:12 +0530 Subject: [PATCH 2/2] chore: update description --- lib/node_modules/@stdlib/number/float64/base/div/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node_modules/@stdlib/number/float64/base/div/package.json b/lib/node_modules/@stdlib/number/float64/base/div/package.json index 85c38ab2f841..75dcb95cc01f 100644 --- a/lib/node_modules/@stdlib/number/float64/base/div/package.json +++ b/lib/node_modules/@stdlib/number/float64/base/div/package.json @@ -73,7 +73,7 @@ "base_alias": "div", "alias": "div", "pkg_desc": "divide two double-precision floating-point numbers", - "desc": "divides two half-precision floating-point numbers", + "desc": "divides two double-precision floating-point numbers", "short_desc": "", "parameters": [ {