LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Forum View

Use Proportional Font
Show HTML Part by Default
Condense Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Wed, 18 Jun 2014 17:36:39 +1200
MIME-version:
1.0
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Content-type:
text/plain; charset=ISO-8859-1; format=flowed
Subject:
From:
aparsloe <[log in to unmask]>
Message-ID:
Content-transfer-encoding:
7bit
Parts/Attachments:
text/plain (21 lines)
\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.

ATOM RSS1 RSS2