Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

operator<</>> for __float128 are poore #1118

Open
gpeterhoff opened this issue Apr 7, 2024 · 0 comments
Open

operator<</>> for __float128 are poore #1118

gpeterhoff opened this issue Apr 7, 2024 · 0 comments

Comments

@gpeterhoff
Copy link

gpeterhoff commented Apr 7, 2024

generally

  • hexfloat is not supported
  • in the implementations, exceptions are used for flow control -> this procedure is/(has never been) sensible

Suggestions
a) via quadmath_snprintf/strtoflt128

  • for gcc the operators can be updated
  • this may also be possible for intel
  1. reasonably current intel compilers also seem to provide quadmath_snprintf/strtoflt128. Is that correct? Then you can use these functions.
  2. What relevance does __float128/_Quad still have for intel? This could then be removed if necessary.

b) via std/boost to_chars/from_chars

  • std
  1. If std::float128_t is available, these functions can be used
  2. Possibly these functions are still implemented in gcc for __float128 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113260

regards
Gero

@gpeterhoff gpeterhoff changed the title std operator<</>> for __float128 are poore operator<</>> for __float128 are poore Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant