|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: base64 byte-length formulaI said already that your formula is correct. I do not understand why you say that the 2 formulas are not equivalent for all the lengths (good aor bad)? I would appreciate if you respond although you don't have to. Julo
--- Julian Satran <Julian_Satran@il.ibm.com> wrote: > The difference between our formulas is that I > (mistakenly) took 1 digit as > a possible string (or 5, 9 etc.) > For those you need the +3 TERM. > > For all the good length 2,3,4 6,7,8 etc the two > formulas are equivalent. No they are not. They are only equivalent for n = 0 (mod 4). So I'm still insisting that n * 3 / 4 is the simplest right formula. Martins Krikis, Intel Corp. Disclaimer: these are my opinions and may not be Intel's. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Home Last updated: Wed Jun 12 21:18:41 2002 10745 messages in chronological order |