2 * Written by J.T. Conklin <jtc@netbsd.org>.
5 * $NetBSD: a64l.c,v 1.8 2000/01/22 22:19:19 mycroft Exp $
6 * $FreeBSD: src/lib/libc/stdlib/a64l.c,v 1.2 2006/05/19 19:06:38 jkim Exp $
20 for (i = 0; *s != '\0' && i < 6; i++, s++) {
23 else if (*s <= '0' + 9)
25 else if (*s <= 'A' + 25)
26 digit = *s - 'A' + 12;
28 digit = *s - 'a' + 38;
30 value |= digit << shift;