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
