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
Show All Mail Headers

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

Print Reply
Subject:
From:
Joseph Wright <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Fri, 4 Oct 2013 19:49:09 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
On 04/10/2013 08:50, Andrew Parsloe wrote:
> I recently stumbled on the following bug in the l3fp package:
> 
> \fp_eval:n { sin( 2pi - .0001 ) } ==> 9999.999000000002
> 
> which seems a little excessive for a function bounded by +1, -1.
> 
> \fp_eval:n { sin( 2pi - .001 ) } seems to evaluate correctly. The value
> between .001 and .0001 where the bug arises is between .001853071795,
> which is too small and brings on the error, and .001853071796, which
> doesn't.

Thanks for the bug report: I've logged it as
https://github.com/latex3/svn-mirror/issues/155, and assigned it to
Bruno :-) (He wrote the FPU!). As I've said in the issue database, this
looks like a range-reduction failure to me. Range reduction is known to
be 'hard', so that's not that surprising.

> P.S. Is this a *very* quiet list, or have I not configured things
> correctly so that I'm missing postings to it?

List traffic varies: there are lots of ideas to discuss but getting
feedback is not always easy even when there is time for us to ask the
questions!
-- 
Joseph Wright

ATOM RSS1 RSS2