Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id s4QMukvZ005740 for ; Tue, 27 May 2014 00:56:47 +0200 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx111) with ESMTPS (Nemesis) id 0MP0kF-1WtkOF1dxv-006M3d for ; Tue, 27 May 2014 00:56:40 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s4QMsIJT001856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 27 May 2014 00:54:18 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s4QM12ZI015714; Tue, 27 May 2014 00:54:17 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 11128377 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 27 May 2014 00:54:17 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id s4QMsH7w021288 for ; Tue, 27 May 2014 00:54:17 +0200 Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id s4QMs8Mr019077 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Tue, 27 May 2014 00:54:11 +0200 Received: by mail-pa0-f50.google.com with SMTP id fb1so8100503pad.23 for ; Mon, 26 May 2014 15:54:08 -0700 (PDT) X-Received: by 10.68.245.162 with SMTP id xp2mr31580862pbc.69.1401144847825; Mon, 26 May 2014 15:54:07 -0700 (PDT) Received: from [192.168.0.9] ([101.166.11.86]) by mx.google.com with ESMTPSA id xk3sm19956965pbb.65.2014.05.26.15.54.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 26 May 2014 15:54:07 -0700 (PDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) References: <5382FD21.6040600@clear.net.nz> X-Mailer: Apple Mail (2.1874) X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id s4QMsH7w021289 Message-ID: Date: Tue, 27 May 2014 08:24:07 +0930 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Will Robertson Subject: Re: l3fp and sin(pi), cos(pi/2) To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by relay2.uni-heidelberg.de id s4QMsIJT001856 Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:yVb1cmpxBkM=:6xbknhKDGFfMOa1FpgBPTwpKu8 QfMXIsjkATyRc/Jzpr93aE/BI4OKajrnsKyw7S/uIaZS7Yzqb0SfY4uLl7FNgQHZBaTcty7Fa 6sa02jDj1atsmJl84GRZeKmTNPzykTj254treZ+ssv3Re0eZxuLw9ZebveaYS49259av+DLxi 9D1DjOBSoq7A4WwutFPr6Jl73i9vdSvKr/8JS7eXVkiLdGpWD7HEbs1k0csuSSC3PERvFt269 tUvA979JZJM+CUVQO6ZOsEKIRLTdxd/pLD1cH9fDd0VY5vZwqSwkQLSba7OEApDvRNiGw1d8j lE+2C5EkVSnxaNivRgRAA3z7tF/VMscVpmRxwcwmnCIFLCgVcBIv32/WaPXjbI0m8QjnUmjWf 0KZEOnun0H/tGTK98096p1LSj6bR6SPpC1F6Q/ltodH76tb4jhhMrBjkur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TsxsNpAMlEGD9AL+SQsSs+XmpeCHHQL42DJl+nl a7ye3b38WseQpLlGomuzEf0gNPcRTugTWgUd/FLsw X-UI-Loop:V01:2ddGCwp0fws=:22tuUdDPbWa+PQ42uH4L9Mo9N2Nkk7lZE+Nvxey02OI= Status: R X-Status: X-Keywords: X-UID: 7453 On 27 May 2014, at 3:11 am, Bruno Le Floch 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 =97 while I am= certainly okay with receiving this result in a computational sense, I wo= nder 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 =93normalise=94 it; is that a cr= azy idea? Cheers, Will