docs: fix C API examples in blas/ext/base/zwxmy - #13802
Merged
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UN61jV6C144EpKHXKNXsG4
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
anandkaranubc
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Follow-up fixes for commits merged to
developbetween 2026-07-30 14:56 PT (22f4f46) and 2026-07-31 04:19 PT (a669750).This pull request:
blas/ext/base/zwxmy: Fixedblas/ext/base/zwxmyREADME examples (451c6c8): the C snippets forstdlib_strided_zwxmy/stdlib_strided_zwxmy_ndarraydeclaredx/wasfloatarrays cast tostdlib_complex128_t *, an 8-byte-per-element vs. 16-byte-per-element mismatch causing OOB reads and float-as-double reinterpretation for N=4. Changed both declarations todoublewith matching literals inlib/node_modules/@stdlib/blas/ext/base/zwxmy/README.md, consistent with thezxmy/zanysibling docs.blas/ext/base/zwxmy: Fixes the C "Examples" section inblas/ext/base/zwxmy/README.md(introduced in 451c6c8) to matchexamples/c/example.c: drops the erroneousfsuffixes from all twelvestdlib_complex128literals and switches theprintfformat specifier from%fto%lf.Related Issues
No.
Questions
No.
Other
Validation. All 27 commits merged to
developin the last 24 hours were reviewed for typos, bugs, and stdlib style-guide compliance: two independent style-compliance passes (checked againstdocs/style-guidesand established sibling packages such asgtriu,zxmy,dindex-of), plus two independent bug-scan passes over the union diff (strided-loop index arithmetic, native addon marshalling, C benchmark refactors, README/repl example outputs, ULP tolerance translations in the migratedmath/base/specialtests). Only issues that were objective, independently re-verifiable from the diff, and fixable without touching code outside the diff window were retained. Deliberately excluded: subjective suggestions, style preferences not mandated by the style guides, and missing entries in the auto-generatedblas/ext/baseaggregate README/TypeScript declarations (the regeneration commits simply predate the namespace wiring; the next regeneration run will pick them up).Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was produced by a scheduled automated review: Claude Code reviewed the last 24 hours of commits merged to
developand authored the fixes. A human maintainer will audit before promoting this draft.Generated by Claude Code