Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s5I5drfr015598 for ; Wed, 18 Jun 2014 07:39:54 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx009) with ESMTPS (Nemesis) id 0LyQyM-1WcyLV1046-015unh for ; Wed, 18 Jun 2014 07:39:47 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s5I5aqm9013150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Jun 2014 07:36:52 +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 s5I400bY022329; Wed, 18 Jun 2014 07:36:52 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11066248 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 18 Jun 2014 07:36:52 +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 s5I5apa5027401 for ; Wed, 18 Jun 2014 07:36:51 +0200 Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s5I5afQW013094 for ; Wed, 18 Jun 2014 07:36:45 +0200 Received: from mxin2-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0N7C007UENL3VO30@smtp5.clear.net.nz> for LATEX-L@listserv.uni-heidelberg.de; Wed, 18 Jun 2014 17:36:40 +1200 (NZST) Received: from 121-74-36-42.telstraclear.net (HELO [127.0.0.1]) ([121.74.36.42]) by smtpin2.clear.net.nz with ESMTP; Wed, 18 Jun 2014 17:36:38 +1200 MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7bit X-Antivirus: avast! (VPS 140617-1, 18/06/2014), Outbound message X-Antivirus-Status: Clean User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 Message-ID: <53A12567.90105@clear.net.nz> Date: Wed, 18 Jun 2014 17:36:39 +1200 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: aparsloe Subject: Bug in l3fp 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:EHRAZzlHXew=:x2AmeDvvANrSGGdh0bx/MjXekv ZdUP/ooW3VHNFThNwf00hdbG/BNXkOuBfnIrGO4gOeftskpyA4WGaSFW08dW1V4vjYrvBsDWN nEilfId3ZCs59p9divmbEhjBEMJu5orcYFXHOp6MiC7B1cBvkUn4CgX4PEQ0n1I5LyJC/dgmK mtomeE1wJbzmYUmBVJsM4rCj0egs7HdpY5M8YODb27HtAA4uxmZophdpcOj0svuujqGyuSupQ MeROhHEQVJE21Bv1YdAfx6L5B7FnW28Yrzk5WWZLCCbMsqJ6e7USStNm+qqFoqp6a3smaErsD etw+P/y9FNL7dD1wcddY6oWqP5bZNxx4W6R+SsbyfxWkiLizENMx9lhSzI3/9sc9W69uzJwpb 0tTpswLNiA9yama5gePa9tlIwwQMMMXVzbfzqrkRvu2dESD+7dog95ieTj/LY4/5rTyjixyFR vkCwO5YiT+i1G4blzz7MeYh0fEk799WnphiTf/EeQ9ksnWQfmn+vbI65tG4IsCFJ4UzcXPZ/S fKTbt/0Y48LVw/FDex9Tvh7bvvjYX3qjoY6fO9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xBFKCY+PNSEqPfims7UT0o= Status: R X-Status: X-Keywords: X-UID: 7494 \fp_eval:n { exp(1) - (1+1/1009)^{1009} } -> 0.001346 \fp_eval:n { exp(1) - (1+1/1010)^{1010} } -> 0.001613 \fp_eval:n { exp(1) - (1+1/1011)^{1011} } -> 0.001343 (1+1/n)^n should approach e monotonically, so there is clearly an error when n = 1010. Similarly, there are errors when n = 1020 and 1032, and at 505 (half of 1010, but 510 and 516 seem to be OK). Andrew PS. I haven't been testing l3fp integer by integer (truly). This just popped out at me when testing a LyX package based on l3fp that I've been working on.