Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upShould we add f80? #2263
Comments
3442853561
changed the title
Should we add some trait for f80?
Should we add f80?
Dec 25, 2017
This comment has been minimized.
This comment has been minimized.
|
I think this issue is under-specified, can you please clarify? |
This comment has been minimized.
This comment has been minimized.
|
I agree that some more details are definitely needed. |
This comment has been minimized.
This comment has been minimized.
|
@ranma42 Yes, I'm looking for a primitive type which like |
Centril
added
the
T-lang
label
Dec 26, 2017
This comment has been minimized.
This comment has been minimized.
|
We can build it as a crate, however I think it should in stdlib instead of other crate. |
Centril
added
the
T-libs
label
Dec 26, 2017
This comment has been minimized.
This comment has been minimized.
|
So, what should we do now? Should we create a crate for the |
This comment has been minimized.
This comment has been minimized.
|
AFAIU support for a type that is compatible with I believe that the main cause for the lack of support in Rust is that |
This comment has been minimized.
This comment has been minimized.
|
@ranma42 Honestly, that to me means that implementing both That said, all of these types are rigourously defined, which would technically not rule them out for FFI. |
This comment has been minimized.
This comment has been minimized.
|
I know of at least one C library that has a long double in its API that I've had to work around: https://github.com/libunwind/libunwind/blob/7c079200d024d5868073246c4ec8f80446b0a4c0/include/libunwind-x86_64.h#L54 |
This comment has been minimized.
This comment has been minimized.
Centril
closed this
May 15, 2018
This comment has been minimized.
This comment has been minimized.
|
FWIW We have already added architecture-specific types, like the SIMD vector types, to |
3442853561 commentedDec 25, 2017
•
edited
Should we add f80? Even if it is not often used.