Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s458x8SP005864 for ; Mon, 5 May 2014 10:59:09 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx009) with ESMTPS (Nemesis) id 0LkjpM-1XFTYf3zqG-00aUhB for ; Mon, 05 May 2014 10:59:02 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s458uRq1017553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 May 2014 10:56:28 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s458IJWP013656; Mon, 5 May 2014 10:56:27 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 10880943 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Mon, 5 May 2014 10:56:27 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s458uRrU031295 for ; Mon, 5 May 2014 10:56:27 +0200 Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s458uHfl017449 for ; Mon, 5 May 2014 10:56:20 +0200 Received: from mittelbach-online.de (p4FEE54EF.dip0.t-ipconnect.de [79.238.84.239]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0MA6Q5-1WaPBu1PFh-00BLwk; Mon, 05 May 2014 10:56:15 +0200 Received: from [192.168.123.105] (falco [192.168.123.105]) (Authenticated sender: frank) by mittelbach-online.de (Postfix) with ESMTPSA id DD11DA0019 for ; Mon, 5 May 2014 10:55:18 +0200 (CEST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 References: <5366C875.9040709@googlemail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner-ID: DD11DA0019.A5A44 X-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-MailScanner-From: frank.mittelbach@latex-project.org X-Spam-Status: No X-Provags-ID: V02:K0:cnwDhDB7gNMHpUyyHyQodIkj0UHSnG2sKkTzIWqj/06 SX8w32bcv0wWlhOyzkUjCkvSzlDQfUvpaNJAlyi6W0JI+ROBg4 yAS0Y8hXV/iWoSBcYLxG//JdHFgr23V+O3gm3BrYQA63yDdKPG xIJZJBshUb7Og9OB4BjvDpGk3ejcP31iFz8O5pN+iSd2diGS1H 4XI5EYdPycaLK+1ZA8/3yJElVz7infprp6zeKD12+585G42p8/ huYDhZEVPcc3nabvmr4jOy5i7ZFpVJYwohp5Svyu0L/m9e1H5K gONpjCsM+eNBasahtFu9h2STcHDLftPuj+URG71KtSDrgsm7UK GFnVa85Zjo25cDFUvBV4kyqZlvlNhkt/fsmzk9carKkCcoE7FE JqpRy1dKVAkiQ== Message-ID: <536751EB.5010207@latex-project.org> Date: Mon, 5 May 2014 10:55:07 +0200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Frank Mittelbach Subject: Re: \__dim_strip_bp:n To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <5366C875.9040709@googlemail.com> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:zMzVTA2coKY=:xMo1q1L9f7hQMTcsYLkHwG6s3p SRi7TlqV1HsSIua46bh1s/nMDpvUIxqwLrsxHUs3t5vZMLq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YyH2EWKwtobt6Bqs+shtDC1axtEqNQgm6ObdyZBY HDfPBSRbL+TxQnPCiXPJ/LPWYp4I9STttqSDAUWF0b6t96zuaJFBVOWJ9YW0WAzD9dms1mXoj 0zNTl9DbTiUSF1Yv36SUCvYVU7lJDzt2lIE7L/Pzn7HLLjNwkl12RMhgtGf9qMTMRu3X6luqs KLi0igkMB0u36RZTZuCrmo6WbUhBUHC5Q/eqSsXLPWARIUf4xVGKobjRNVrYGXWSXk60prj9v UdP0hCmf2ZXVu33CA7jqOhR9NIvvPuDUaf50K/3oi572AunLwpWc/YbIr0nXDpK/+4qbn+nYd WA1y4fOw== X-UI-Loop:V01:o68NZ+vMTbY=:Zu9prLsVC9cZvz7FZDtJ0BRlc9+OOSSBKiGN5vCoiyM= Status: R X-Status: X-Keywords: X-UID: 7389 Am 05.05.2014 01:08, schrieb Heiko Oberdiek: > Improved version with higher precision: > > \cs_new:Npn \__dim_strip_bp:n #1 > { > \__dim_strip_pt:n > { > \__dim_eval:w ( #1 ) * 800 / 803 \__dim_eval_end: > } > } > > * 800/803 is the integer fraction for 72/72.27 perhaps I'm completely off the mark, but isn't this introducing a restriction on the values that can be entered? (ie generating an overflow by doing *800 first) frank