Replacement for snprintf

H. S. Teoh hsteoh at quickfur.ath.cx
Thu Oct 31 21:56:37 UTC 2019


On Thu, Oct 31, 2019 at 09:04:49PM +0000, Stefan Koch via Digitalmars-d wrote:
[...]
> I'd still prefer grisu2 over ryu, since it easier to understand and I
> already have a ctfeable version of it.

Meybe we should be using your implementation then?  No need to duplicate
work if it's already been done.


> (it can't be safe though since it casts double* to ulong*)

But surely it can be @trusted?


T

-- 
Your inconsistency is the only consistent thing about you! -- KD


More information about the Digitalmars-d mailing list