Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t8N1pZLk008708 for ; Wed, 23 Sep 2015 03:51:37 +0200 Received: from relay2.uni-heidelberg.de ([129.206.119.212]) by mx-ha.gmx.net (mxgmx109) with ESMTPS (Nemesis) id 0M67a2-1abeBs0hbu-00y7t9 for ; Wed, 23 Sep 2015 03:51:30 +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 t8N1nl1A031036 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Sep 2015 03:49:47 +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 t8MNJH9F002079; Wed, 23 Sep 2015 03:49:46 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12533072 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 23 Sep 2015 03:49:46 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t8N1nk7h015914 for ; Wed, 23 Sep 2015 03:49:46 +0200 Received: from smtp4.clear.net.nz (smtp4.clear.net.nz [203.97.37.64]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t8N1naQr008994 for ; Wed, 23 Sep 2015 03:49:40 +0200 Received: from mxin3-orange.clear.net.nz (lb1-srcnat.clear.net.nz [203.97.32.236]) by smtp4.clear.net.nz (CLEAR Net Mail) with ESMTP id <0NV3001MWX2JC800@smtp4.clear.net.nz> for LATEX-L@listserv.uni-heidelberg.de; Wed, 23 Sep 2015 13:49:35 +1200 (NZST) Received: from 203-96-202-230.dsl.dyn.ihug.co.nz (HELO [127.0.0.1]) ([203.96.202.230]) by smtpin3.clear.net.nz with ESMTP; Wed, 23 Sep 2015 13:49:34 +1200 MIME-version: 1.0 Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 7bit X-Antivirus: avast! (VPS 150922-1, 23/09/2015), Outbound message X-Antivirus-Status: Clean User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Message-ID: <56020530.4070302@clear.net.nz> Date: Wed, 23 Sep 2015 13:49:36 +1200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Andrew Parsloe Subject: An incomplete int-erface? To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE 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:kZ5RQPrmluM=:+MNAvqOWXnA8IiXcfH9zaPFRnM AhGDbpMym+r6VvzZR3tqY0wSeEHEgD0zOZvEbSmo7LFcXjtoI3ULgZ7zC2X61QX8xj0yKtpBZ aPDvS4CoxRWpSX1WiSB4y3Pl7rMK1z08V1f4kg1boY0M0DjEIUSloNG56Sf1FLIGwzNaCTbsR k5pBKZE5daQfopJy3VIOiUUHMz4RS/ePnwHnuQkNH+Ru6IOuFXBtvYMtu9W03LE/PeR/yYNlb k/iWAxO8q5NG9yF9t/xuQX5r4EMjTvvZHyzXXqFJFi6bxRn+FuG80prhOzge7vI1wrJKLzqU5 Soid2r2Gi6mhVNsxg8II+kc0XeaKRjNwKEljiXTDfyYGHWlgJtbCdywM2W0hBe3A7F6kDS+EQ tur+KX3jp2U9i2pLyVotuDg8YsbnUDRYFhDJvgvXa12gRsd0f4MkP4DfRfhz6L2NgbWl0hZG+ zUOYlkOWJmzyMTGFwWeJgaz5dELdvosZGxCyWdahSXCj9uczUSdO3Mvkj8SkZ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HAZ6TQYMyMOs= X-UI-Out-Filterresults: notjunk:1;V01:K0:A67FNnLJTjE=:c5azyPbMyBULF7+9jx1edw 4kUdEtJm6hcn0gRXvCWzzAgSSObg/8dNhR6uUYfzQunBk4U0h9EBvCp0W/Lgs3FZhgNxWigDE kCz9j4WW2qB+9SRW9YewMRBqCgQIfy9LVQnbGVsjwIyFpaHyWwTK/XITKlKEt9W/Ls+WSBVXV Hus8XynlBnZg2DbiRNkIrfzJuUD3wzU2dTf7NrqkH/Y1jcWB4yf9OSLf/m0Z/4HO1WV21ms7t xOtw/gMbN4Zy97o0SWL1pVTMZTLfXdG3acwkcL/X6S7iVR4Cpz2y3fEMzDepPBoH+S9V7sLXN LzJgjT44VUeJuXwx/uNNg93twyQ4isOUSW+Nd+/iQ82whzs/DNk+qtmiismtFJ3DYgYP1XPDl gbmBHCmVU7wXXeCKs/TT1wZsJP3uKAASsUtpCJel+CWEeyJRkbDOKNHInRlWyKbZunL9k46lT d4F8F990U0u47ebKWEnKvZOToSMLv2tDPmlSl1FXaYge5lPSNukW X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Status: R X-Status: X-Keywords: X-UID: 7886 \int_eval:n { - (1+2) } gives a "Missing number, treated as zero" message. So does \int_eval:n { + (1+2) }. But \int_eval:n { 0 - (1+2) } evaluates correctly. If + ( or - ( are the first members of an integer argument, an error results; if they are not the first members, they are accepted by \int_eval:n etc. I don't know that this is a bug as such but it certainly feels to me like an untidiness in the l3int interface. It means that the order in which component parts of an expression are presented to \int_eval:n matters, even though in an arithmetical sense, they evaluate to the same number. I query too whether an expression like \int_eval:n { 3(1+2) } should "evaluate" to 3(1+2), rather than 9, without showing an error. (Alternatively, I find myself wondering what would be entailed to harmonize the integer interface with the fp one (which has no problem with these expressions)? Then one could choose whether to evaluate an expression involving integral numerals in l3fp or l3int without having to change the expression, as one does at present. For instance, if the expression involves an exponent, use l3fp; if not use l3int. This choice becomes more complicated when the expression itself needs to be changed.) Andrew --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus