December 30, 2018
On Sun, Dec 30, 2018 at 03:26:33PM +0200, ketmar via Digitalmars-d-announce wrote:
> Basile B. wrote:
> 
> > On Sunday, 30 December 2018 at 12:19:19 UTC, ketmar wrote:
> > > too bad that i didn't knew about Ryu back than.
> > 
> > It's very recent, announce on proggit is < 1 year.
> > 
> > It would be nice to have one to format in phobos. RYU or Grisu3 doesn't matter much as long as the two issues that are
> > 
> > - CTFE formatting of floats
> > - formatting is identical on all platforms
> actually, there is a 3rd issue, which is often overlooked: conversion from string to float. to get a perfect roundtrip, this one should be done right too.
[...]

Doesn't hex output format (e.g. std.format's %a and %A) already solve this?  It basically outputs the exact bits in hex. No room for error there.


T

-- 
It said to install Windows 2000 or better, so I installed Linux instead.
December 30, 2018
H. S. Teoh wrote:

>> actually, there is a 3rd issue, which is often overlooked: conversion
>> from string to float. to get a perfect roundtrip, this one should be
>> done right too.
> Doesn't hex output format (e.g. std.format's %a and %A) already solve
> this?  It basically outputs the exact bits in hex. No room for error
> there.
it does. but then you can simply go with writing binaries as-is -- they are not really less readable than hex floats. ;-) but we want decimals! ;-)
December 30, 2018
On Thursday, 27 December 2018 at 12:46:06 UTC, Nick Treleaven wrote:
> Is the MIT license compatible with Boost?
Simply put, no. The MIT license comes with the additional requirement of including the copyright notice and license in all copies (incl. binary form), whereas BSL-1.0 requires this only for source form.

PS: I am not a lawyer.
January 04, 2019
On Sunday, 30 December 2018 at 15:14:08 UTC, 0xEAB wrote:
> On Thursday, 27 December 2018 at 12:46:06 UTC, Nick Treleaven wrote:
>> Is the MIT license compatible with Boost?
> Simply put, no. The MIT license comes with the additional requirement of including the copyright notice and license in all copies (incl. binary form), whereas BSL-1.0 requires this only for source form.
>
> PS: I am not a lawyer.

Fantastic news
https://github.com/night-shift/fpconv/blob/master/license

night-shift was so kind to release it under boost license.

Kind regards
Andre
1 2
Next ›   Last »