Re: [PATCH] Allow intfmt to handle uint64s with {p=0,w=64,b=2}
[Thread Prev] | [Thread Next]
- Subject: Re: [PATCH] Allow intfmt to handle uint64s with {p=0,w=64,b=2}
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Tue, 20 Mar 2018 13:34:53 -0700
- To: myrddin-dev@xxxxxxxxxxxxxx
- Cc: "S. Gilles" <sgilles@xxxxxxxxxxxx>
Applied. Context for those watching: this is an edge case that we only hit when formatting 64 bit binary numbers; all other common bases will fit into 32 bytes. On Tue, 20 Mar 2018 16:22:10 -0400 "S. Gilles" <sgilles@xxxxxxxxxxxx> wrote: > --- > lib/std/fmt.myr | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/std/fmt.myr b/lib/std/fmt.myr > index 8202ac94..c26d5c43 100644 > --- a/lib/std/fmt.myr > +++ b/lib/std/fmt.myr > @@ -539,7 +539,7 @@ const digitchars = "0123456789abcdef" > const intfmt = {sb, opts, signed, bits : uint64, nbits > var isneg > var sval, val > - var b : byte[32] > + var b : byte[64] > var i, j, npad > var base > > -- > 2.16.2 > > -- Ori Bernstein <ori@xxxxxxxxxxxxxx>
[PATCH] Allow intfmt to handle uint64s with {p=0,w=64,b=2} | "S. Gilles" <sgilles@xxxxxxxxxxxx> |
- Prev by Date: [PATCH] Allow intfmt to handle uint64s with {p=0,w=64,b=2}
- Next by Date: Myrddin 0.2.1: Updates to OpenBSD support.
- Previous by thread: [PATCH] Allow intfmt to handle uint64s with {p=0,w=64,b=2}
- Next by thread: Myrddin 0.2.1: Updates to OpenBSD support.
- Index(es):