Skip to content

erts: Implement based support for float BIFs #11263

Open
lucioleKi wants to merge 3 commits into
erlang:masterfrom
lucioleKi:isabell/erts/based-float
Open

erts: Implement based support for float BIFs #11263
lucioleKi wants to merge 3 commits into
erlang:masterfrom
lucioleKi:isabell/erts/based-float

Conversation

@lucioleKi

Copy link
Copy Markdown
Contributor

Add BIFs list_to_float/2 and binary_to_float/2 in the erlang module.
Add an option base to BIFs float_to_list/2, float_to_binary/2.

This implementation is a follow-up task for EEP-75 and #9106.

@lucioleKi lucioleKi requested review from bjorng and jhogberg June 18, 2026 11:44
@lucioleKi lucioleKi self-assigned this Jun 18, 2026
@lucioleKi lucioleKi added the team:VM Assigned to OTP team VM label Jun 18, 2026
@lucioleKi lucioleKi added this to the OTP 30.0 milestone Jun 18, 2026
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

    4 files    225 suites   1h 58m 48s ⏱️
3 850 tests 3 744 ✅ 103 💤 3 ❌
4 934 runs  4 804 ✅ 126 💤 4 ❌

For more details on these failures, see this check.

Results for commit a2d3f57.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@lucioleKi lucioleKi force-pushed the isabell/erts/based-float branch from 2b387a6 to e53bb49 Compare June 18, 2026 12:04
Comment thread erts/emulator/beam/bif.c Outdated
@lucioleKi lucioleKi force-pushed the isabell/erts/based-float branch from e53bb49 to d792527 Compare June 18, 2026 13:34
Add BIFs `list_to_float/2` and `binary_to_float/2` in the `erlang` module.
Add an option `base` to BIFs `float_to_list/2`, `float_to_binary/2`.

This implementation is a follow-up task for EEP-75 and
erlang#9106.
@lucioleKi lucioleKi force-pushed the isabell/erts/based-float branch from d792527 to a2d3f57 Compare June 18, 2026 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:VM Assigned to OTP team VM

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants