Skip to content

docs: simplify abs example by removing dtype#9557

Closed
Atharv-K-979 wants to merge 10000 commits intostdlib-js:masterfrom
Atharv-K-979:docs-abs-example-simplify
Closed

docs: simplify abs example by removing dtype#9557
Atharv-K-979 wants to merge 10000 commits intostdlib-js:masterfrom
Atharv-K-979:docs-abs-example-simplify

Conversation

@Atharv-K-979
Copy link
Copy Markdown

@Atharv-K-979 Atharv-K-979 commented Jan 5, 2026

This PR simplifies the abs example by removing an explicit float64 dtype from the discreteUniform call.

Since discreteUniform generates integer values, this avoids ambiguity between the integer format specifier used in the example output and the underlying data type, while keeping the example behavior unchanged.

  • I have read, understood, and followed the contributing guidelines.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autoclose: Contributor Guidelines Pull request which should be auto-closed due to not following the Contributor Guidelines. First-time Contributor A pull request from a contributor who has never previously committed to the project repository. Math Issue or pull request specific to math functionality.

Projects

None yet

Development

Successfully merging this pull request may close these issues.