Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Makefloat::Float::integer_decode DRY#328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
mtilda wants to merge12 commits intorust-num:master
base:master
Choose a base branch
Loading
frommtilda:mtilda/enhance/float-integer-decode

Conversation

@mtilda
Copy link
Contributor

@mtildamtilda commentedJun 27, 2024
edited
Loading

Blocked by#327

Motivation

The trait methodfloat::Float::integer_decode invokes one of the functionsinteger_decode_f32 orinteger_decode_f64 depending on the implementation. These functions share a lot of code, so I would like to refactor them to use the same underlying source.

Considerations

Status

This is a work in progress, as indicated by the fact that it is a Draft PR. Comments and suggestions are welcome, but not expected.

@mtildamtildaforce-pushed themtilda/enhance/float-integer-decode branch from141f91e to6d30ca6CompareJune 27, 2024 21:22
@mtildamtilda changed the titleRefactor functionsinteger_decode_f32 andinteger_decode_f64 with new macrointeger_decode!Makefloat::Float::integer_decode DRYJun 27, 2024
@mtildamtildaforce-pushed themtilda/enhance/float-integer-decode branch from3971e1c to0a0a8e5CompareJune 28, 2024 20:35
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@mtilda

[8]ページ先頭

©2009-2025 Movatter.jp