Skip to content

Fix Issue 11050 - correct FloatingPointControl invalidException docs - #11072

Open
niy-ati wants to merge 1 commit into
dlang:masterfrom
niy-ati:fix-11050-fpc-doc
Open

Fix Issue 11050 - correct FloatingPointControl invalidException docs#11072
niy-ati wants to merge 1 commit into
dlang:masterfrom
niy-ati:fix-11050-fpc-doc

Conversation

@niy-ati

@niy-ati niy-ati commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Remove incorrect doc claims that invalidException traps use of uninitialized floating-point variables
  • Clarify that invalidException traps IEEE 754 invalid operations
  • Update the FloatingPointControl example to use 0.0/0.0 instead of default-initialized storage

Fixes #11050

Test plan

  • Documentation-only change; no code behavior change
  • CI

Remove incorrect references to uninitialized floating-point variables.
invalidException traps IEEE invalid operations, not uninitialized storage.
Update the example accordingly.

Fixes dlang#11050
@0xEAB

0xEAB commented Jul 18, 2026

Copy link
Copy Markdown
Member

See also: #11061

@0xEAB 0xEAB added the Review:AI Generated Code that is generated by an LLM AI — or suspected to be. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

math Review:AI Generated Code that is generated by an LLM AI — or suspected to be. Severity:Documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

std.math.hardware FloatingPointControl should not mention uninitialized variables

2 participants