Skip to content

feat(om2): expand Number description with float64 and NaN details#2928

Merged
bwplotka merged 1 commit intomainfrom
krajo/om2-number-float64
Mar 30, 2026
Merged

feat(om2): expand Number description with float64 and NaN details#2928
bwplotka merged 1 commit intomainfrom
krajo/om2-number-float64

Conversation

@krajorama
Copy link
Copy Markdown
Member

Summary

  • Clarifies that float64 refers to IEEE 754-2008 double-precision (binary64), with ~15–17 significant decimal digits, using Go's float64 as a concrete example
  • Expands NaN usage beyond "division by zero" to cover any mathematical operation yielding an undefined or indeterminate result (e.g. ∞−∞, 0/0, sqrt of negative)

Test plan

  • Verify the change renders correctly in the docs site

Signed-off-by: György Krajcsovits gyorgy.krajcsovits@grafana.com

🤖 Coded with Claude Sonnet 4.6. Generated with Claude Code

- Add IEEE 754-2008 double-precision reference for float64
- Expand NaN usage to cover all undefined/indeterminate mathematical results

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Coded with Claude Sonnet 4.6.
Copy link
Copy Markdown
Member

@bwplotka bwplotka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, thanks!

@bwplotka bwplotka merged commit d4b8455 into main Mar 30, 2026
7 checks passed
@bwplotka bwplotka deleted the krajo/om2-number-float64 branch March 30, 2026 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants