|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: base64 byte-length formula--- 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 20:18:49 2002 10740 messages in chronological order |