From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Mikhail Zabaluev To: mandrake-russian@altlinux.ru Message-ID: <20011127215332.GC1983@localhost.localdomain> Mail-Followup-To: Mikhail Zabaluev , mandrake-russian@altlinux.ru References: <008601c1765d$b8c2e120$0200a8c0@southwest.mgn.ru> <20011126143011.6e1ed90f.SilverFox@rgantd.ru> <20011127092954.F1643@lic145.kiev.ua> <20011127133149.07f510ad.SilverFox@localhost> <20011127110426.GB2268@localhost.localdomain> <20011127142737.6ff8018b.SilverFox@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20011127142737.6ff8018b.SilverFox@localhost> User-Agent: Mutt/1.3.23.1i Subject: [mdk-re] Re: bash =?koi8-r?B?ySDCz8zY28nFIN7J08zB?= Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Wed Nov 28 00:38:04 2001 X-Original-Date: Wed, 28 Nov 2001 00:53:32 +0300 Archived-At: List-Archive: List-Post: Hello SilverFox, On Tue, Nov 27, 2001 at 02:27:37PM +0300, SilverFox wrote: > > > > > ..."Evaluation is done in long integers"... > > > > :( > > > Тут и bash сам все говорит ... > > > [sfox@sfox mp3]$ echo $((0x7FFFFFFF)) > > > 2147483647 > > > А > > > [sfox@sfox mp3]$ echo $((0x7FFFFFFFF)) > > > -1 > > > 2^64-1 - а еще половина на отрицательные числа ;) > > > > Это не 2^64, а 2^32. > Точно... Тем хуже ;( А для 64 разрядных машин, интересно, как? См. цитату. Там long будет 64 бита. -- Stay tuned, MhZ JID: mookid@jabber.org ___________ Without adventure, civilization is in full decay. -- Alfred North Whitehead