From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/54664 Path: main.gmane.org!not-for-mail From: Norbert Koch Newsgroups: gmane.emacs.gnus.general Subject: Re: Scoring out of bounds Date: Tue, 04 Nov 2003 06:49:58 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1067924893 17209 80.91.224.253 (4 Nov 2003 05:48:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2003 05:48:13 +0000 (UTC) Original-X-From: ding-owner+M3205@lists.math.uh.edu Tue Nov 04 06:48:11 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AGu31-0004az-00 for ; Tue, 04 Nov 2003 06:48:11 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AGu2j-0007qV-00; Mon, 03 Nov 2003 23:47:53 -0600 Original-Received: from justine.libertine.org ([66.139.78.221]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AGu2c-0007qP-00 for ding@lists.math.uh.edu; Mon, 03 Nov 2003 23:47:46 -0600 Original-Received: from mail.LF.net (mail.LF.net [212.9.160.2]) by justine.libertine.org (Postfix) with ESMTP id 972EE3A004F for ; Mon, 3 Nov 2003 23:47:45 -0600 (CST) Original-Received: from p50831b8b.dip.t-dialin.net ([80.131.27.139] helo=redqueen.bytechase.cx) by mail.LF.net with esmtp (Exim 4.22) id 1AGu2Z-000EaZ-So for ding@gnus.org; Tue, 04 Nov 2003 06:47:44 +0100 Original-Received: from nk by redqueen.bytechase.cx with local (Exim 4.22) id 1AGu4l-000JRl-0x for ding@gnus.org; Tue, 04 Nov 2003 06:49:59 +0100 Original-To: ding@gnus.org X-Face: 9,{UOz`879Gt1t?~vOo"iN!BBRwO (Katsumi Yamaoka's message of "Tue, 04 Nov 2003 13:04:17 +0900") User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:54664 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:54664 Katsumi Yamaoka writes: > I've committed it with a slight modification[1]. Thanks. Thanks for applying it. > BTW, isn't it an XEmacs bug? Emacs's floor can handle the value > of an argument that it returns the maximum integer: > > (floor (+ (lsh -1 -1) 0.999)) > => 134217727 Ah, I've always shifted in the other direction :-) I'm not sure whether to call this behaviour a bug. If an operation returns an out of bound value, you've always got two possibilities: flag an error or silently convert it to the maximum allowed error. norbert.