Also note that '_' gets replaced with '-', which is in keeping with other results, while all the other ASCII characters simply get reversed around 0. Maybe the reversal has something to do with the negative number?
Marshall -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Brian Schott Sent: Sunday, November 07, 2010 11:39 AM To: Programming forum Subject: Re: [Jprogramming] Obscure bug in Format (8!:2) Marshall, Perhaps this is obvious from your interesting results, but in case it is not, I did the following experiments. a. i. '-''..--).0-*(+,))+(0(' 45 39 46 46 45 45 41 46 48 45 42 40 43 44 41 41 43 40 48 40 #a. i. '-''..--).0-*(+,))+(0(' 20 #'_9223372036854775808' 20 95 57 50 50 51 51 55 50 48 51 54 56 53 52 55 55 53 56 48 56,:a. i. '-''..--).0-*(+,))+(0(' 95 57 50 50 51 51 55 50 48 51 54 56 53 52 55 55 53 56 48 56 45 39 46 46 45 45 41 46 48 45 42 40 43 44 41 41 43 40 48 40 95 57 50 50 51 51 55 50 48 51 54 56 53 52 55 55 53 56 48 56+a. i. '-''..--).0-*(+,))+(0(' 140 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 96 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
