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

Add f16, f128#333

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

Open
usamoi wants to merge3 commits intorust-num:master
base:master
Choose a base branch
Loading
fromusamoi:master
Open

Add f16, f128#333

usamoi wants to merge3 commits intorust-num:masterfromusamoi:master

Conversation

@usamoi
Copy link

@usamoiusamoi commentedAug 26, 2024
edited
Loading

  1. integer_decode is implemented forf128 by truncating the radix to its 64 most significant bits. SeeFloat::integer_decode cannot be implemented for quadruple precision floating types. #98.
  2. Because of precision limitations,f128 tests underno_std andlibm fail.

tgross35, raldone01, futpib, and awoimbee reacted with heart emoji
src/lib.rs Outdated
Comment on lines 20 to 21
#![cfg_attr(feature ="f16", feature(f16))]
#![cfg_attr(feature ="f128", feature(f128))]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'm not keen on maintaining for unstable features in this crate, so we're probably going to be blocked here until the language and standard library stabilize these new floats.

At that point, I think we'll probably want to have detection in the build script to enable it automatically, and Cargo features can force that on -- like we used to forhas_i128.

@usamoiusamoiforce-pushed themaster branch 2 times, most recently fromc6e7689 todc38e4dCompareAugust 31, 2024 02:39
@usamoiusamoiforce-pushed themaster branch 2 times, most recently from70e6d69 to510dfa4CompareMay 31, 2025 16:12
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@cuvipercuvipercuviper left review comments

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@usamoi@cuviper

[8]ページ先頭

©2009-2025 Movatter.jp