delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/06/04/03:35:10

Date: Mon, 4 Jun 2001 03:17:49 -0400
Message-Id: <200106040717.DAA16500@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT envy DOT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <Pine.SUN.3.91.1010604095847.14670G-100000@is> (message from Eli
Zaretskii on Mon, 4 Jun 2001 09:59:06 +0300 (IDT))
Subject: Re: [patch] Second draft: a64l and l64a
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1010604095847 DOT 14670G-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> What do other implementations, like glibc, do in that case?

glibc:

0x7ffffffc `/zzzzw'
0x7ffffffd `/zzzzx'
0x7ffffffe `/zzzzy'
0x7fffffff `/zzzzz'
0x80000000 `0.....'
0x80000001 `0..../'
0x80000002 `0....0'
0x80000003 `0....1'
0x80000004 `0....2'

0xfffffffc `1zzzzw'
0xfffffffd `1zzzzx'
0xfffffffe `1zzzzy'
0xffffffff `1zzzzz'
0x00000000 `'
0x00000001 `/'
0x00000002 `0'
0x00000003 `1'
0x00000004 `2'

glibc uses ./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
for the base-64 "digits".

So, it looks like glibc treats the value as unsigned.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019