Date: Mon, 9 Jun 1997 22:34:42 +0200 From: Ollivier Robert <roberto@keltia.freenix.fr> To: hackers@FreeBSD.ORG Subject: Re: %i conversion in sscanf? Message-ID: <19970609223442.26371@keltia.freenix.fr> In-Reply-To: <199706091452.AAA29091@genesis.atrad.adelaide.edu.au>; from Michael Smith on Tue, Jun 10, 1997 at 12:22:20AM %2B0930 References: <199706091452.AAA29091@genesis.atrad.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
According to Michael Smith: > It's "fairly" clear that %i might be expected to convert 0xABCDEF45 > to a negative number - Tcl thinks that way : > > silver:/tmp>tclsh > % expr 0xABCDEF45 > -1412567227 Interesting: 244 [22:29] roberto@keltia:~> perl -e 'print 0xABCDEF45 . "\n"' 2882400069 Perl 5.004 -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #18: Sun Jun 8 15:32:28 CEST 1997
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970609223442.26371>