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
Mime-Version:
1.0 (Mac OS X Mail 7.2 \(1874\))
Content-Type:
text/plain; charset=windows-1252
Date:
Tue, 27 May 2014 08:24:07 +0930
Reply-To:
Mailing list for the LaTeX3 project <[log in to unmask]>
Subject:
From:
Will Robertson <[log in to unmask]>
Message-ID:
In-Reply-To:
Content-Transfer-Encoding:
8bit
Sender:
Mailing list for the LaTeX3 project <[log in to unmask]>
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