https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118191
Bug ID: 118191
Summary: missing option to read __float128 from command line
argument or string
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: newbie-02 at gmx dot de
Target Milestone: ---
hello @ all,
hope me wrong, but all search failed ...
How to write code that reads a __float128 value from command line argument or
string? In 'vanilla-c, not cpp, c++ or the like.
Tried different strtoxx and sscanxx, best strtold, but that castrates to ~20
digit precision.
Anybody an idea?
P.S. don't need that for 'real work', but want to compare performance of all
available datatypes, and for that need an option to set different values.