Skip to content

Support parsing - #327

Draft
PatrickHaecker wants to merge 7 commits into
JuliaMath:masterfrom
PatrickHaecker:parsing
Draft

Support parsing#327
PatrickHaecker wants to merge 7 commits into
JuliaMath:masterfrom
PatrickHaecker:parsing

Conversation

@PatrickHaecker

Copy link
Copy Markdown

Support Base.parse and Base.tryparse for Normed and Fixed.

The PR builds on #324 and targets FixedPointNumbers.jl in v0.8.

kimikage and others added 7 commits May 13, 2024 16:28
* Backport "Fix test for exponentially growing `promote_type` (JuliaMath#280)"

* fix tests on 1.7 (JuliaMath#253)

Co-authored-by: Johnny Chen <johnnychen94@hotmail.com>
Co-authored-by: kimikage <kimikage.ceo@gmail.com>

* Mark `test_broken` for conversion to `Float16`

* Backport "Add test for `unsafe_trunc` returning arbitrary values (JuliaMath#289)"

---------

Co-authored-by: Kristoffer Carlsson <kricarl@student.chalmers.se>
Co-authored-by: Johnny Chen <johnnychen94@hotmail.com>
@kimikage

kimikage commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

The development branch has been moved to v0.9.

I don’t think adding a parser is a bad idea, but we need to discuss which formats to accept.

If there are ambiguities or limitations in the specification, or if it is essentially a reimplementation of parse(Float64, x), I think it’s better to leave that matter to downstream packages or end users.

@kimikage
kimikage marked this pull request as draft September 14, 2026 00:11
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