Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
September 19, 2014 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hsteoh@quickfur.ath.cx --- Comment #13 from hsteoh@quickfur.ath.cx --- Wouldn't the most lossless format be to just dump the representation in hexadecimal (i.e., in the same format as a hexadecimal float literal)? That way you're guaranteed that you don't get excess precision where there is none, nor do you lose any bits. -- |
November 04, 2014 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com --- Comment #14 from yebblies <yebblies@gmail.com> --- (In reply to hsteoh from comment #13) > Wouldn't the most lossless format be to just dump the representation in hexadecimal (i.e., in the same format as a hexadecimal float literal)? That way you're guaranteed that you don't get excess precision where there is none, nor do you lose any bits. That would no longer be human-readable. -- |
June 09, 2015 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 Andrei Alexandrescu <andrei@erdani.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |D2 -- |
September 07, 2015 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 hsteoh@quickfur.ath.cx changed: What |Removed |Added ---------------------------------------------------------------------------- CC|hsteoh@quickfur.ath.cx | -- |
November 03, 2015 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 --- Comment #15 from Andrei Alexandrescu <andrei@erdani.com> --- Anyone working on this? -- |
April 16, 2019 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 Ben <ben.james.jones@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ben.james.jones@gmail.com --- Comment #16 from Ben <ben.james.jones@gmail.com> --- I'd be interested in taking a stab at this based on the new algorithm presented here: https://dl.acm.org/citation.cfm?id=3192369 . STL (the person) has been tweeting about adding this to the MS STL (the library) implementation for char_conv in C++ 17(?) and it sounds like a big speed win in addition to having nice round trip properties. Currently formatValueImpl seems to just call snprintf. -- |
April 16, 2019 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 Stefan Koch <uplink.coder@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |uplink.coder@gmail.com --- Comment #17 from Stefan Koch <uplink.coder@gmail.com> --- @Ben I already have a ctfeable implementation which is lossless for doubles. I am going to push it to druntime soon -- |
February 13, 2021 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 Walter Bright <bugzilla@digitalmars.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://issues.dlang.org/sh | |ow_bug.cgi?id=6925, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=7341, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=8424, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=9297, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=9489, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=9593, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=9594, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=9872, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=9889, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=12284, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=12627, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=12743, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=13055, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=13568, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=13680, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=13971, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=15227, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=15386, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=16078, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=16336, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=17281, | |https://issues.dlang.org/sh | |ow_bug.cgi?id=17381 -- |
December 17, 2022 [Issue 3248] lossless floating point formatting | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=3248 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P4 -- |
Copyright © 1999-2021 by the D Language Foundation