Skip to content

Fix BigFloat#format not compiling#15796

Merged
straight-shoota merged 2 commits intocrystal-lang:masterfrom
HertzDevil:bug/bigfloat-format
May 21, 2025
Merged

Fix BigFloat#format not compiling#15796
straight-shoota merged 2 commits intocrystal-lang:masterfrom
HertzDevil:bug/bigfloat-format

Conversation

@HertzDevil
Copy link
Contributor

Apparently this was broken around the time Ryu Printf was added, because Float::Printer.shortest does not accept a BigFloat argument.

@HertzDevil HertzDevil added kind:bug A bug in the code. Does not apply to documentation, specs, etc. topic:stdlib:numeric kind:regression Something that used to correctly work but no longer works labels May 19, 2025
@straight-shoota straight-shoota added this to the 1.17.0 milestone May 19, 2025
@straight-shoota straight-shoota merged commit ba34749 into crystal-lang:master May 21, 2025
34 checks passed
@HertzDevil HertzDevil deleted the bug/bigfloat-format branch May 22, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:bug A bug in the code. Does not apply to documentation, specs, etc. kind:regression Something that used to correctly work but no longer works topic:stdlib:numeric

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants