LATEX-L Archives

Mailing list for the LaTeX3 project

LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

Options: Use Classic View

Use Monospaced Font
Show HTML Part by Default
Condense Mail Headers

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

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Fri, 4 Oct 2013 19:49:09 +0100
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=ISO-8859-1
From: Joseph Wright <[log in to unmask]>
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