Skip to content

feat(bfloat16): add Phase 5 parse and format functions#14

Merged
dndungu merged 1 commit intomainfrom
feat/bfloat16-phase5
Mar 30, 2026
Merged

feat(bfloat16): add Phase 5 parse and format functions#14
dndungu merged 1 commit intomainfrom
feat/bfloat16-phase5

Conversation

@dndungu
Copy link
Copy Markdown
Contributor

@dndungu dndungu commented Mar 30, 2026

T46.5.7

Implement BFloat16FromString, fmt.Formatter (supporting %e, %f, %g and
variants with width/precision), GoString, MarshalJSON, UnmarshalJSON,
MarshalBinary, and UnmarshalBinary. JSON encodes NaN/Inf as strings for
round-trip safety. Binary encoding uses 2-byte little-endian.
@dndungu dndungu merged commit a89cb77 into main Mar 30, 2026
@dndungu dndungu deleted the feat/bfloat16-phase5 branch March 30, 2026 14: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.

1 participant