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:
Will Robertson <[log in to unmask]>
Reply To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Date:
Tue, 27 May 2014 08:24:07 +0930
Content-Type:
text/plain
Parts/Attachments:
text/plain (12 lines)
On 27 May 2014, at 3:11 am, Bruno Le Floch <[log in to unmask]> wrote:

> Short answer: use the trigonometric functions which expect arguments
> in degrees: sind, cosd, tand,...  sind(180) correctly gives -0.

I came across this the other day and had been going to ask — while I am certainly okay with receiving this result in a computational sense, I wonder about the typesetting; should/can we provide an easy way to typeset negative zero just as zero?

When I was trying it out, I thought perhaps that \fp_eval:n would return negative zero but \fp_to_decimal:n would “normalise” it; is that a crazy idea?

Cheers,
Will

ATOM RSS1 RSS2