GNU bug report logs - #25652
26.0.50; [calc] In Units Simplication + Degree mode cos(1 deg) != cos(1)

Previous Next

Package: emacs;

Reported by: Torsten Bronger <bronger <at> physik.rwth-aachen.de>

Date: Wed, 8 Feb 2017 07:39:02 UTC

Severity: normal

Tags: confirmed

Found in version 26.0.50

Done: Tino Calancha <tino.calancha <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 25652 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> users.sourceforge.net>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 25652 <at> debbugs.gnu.org, Torsten Bronger <bronger <at> physik.rwth-aachen.de>
Subject: Re: bug#25652: 26.0.50; calc says that cos(1 degree) is 0.54
Date: Wed, 8 Feb 2017 14:36:56 -0500
On Wed, Feb 8, 2017 at 2:31 PM, Óscar Fuentes <ofv <at> wanadoo.es> wrote:
> Torsten Bronger <bronger <at> physik.rwth-aachen.de> writes:
>
>> In Emacs calc usind degree mode, cos(1) results in 0.540302305868
>> instead of 0.999847695156.
>>
>>
>> In GNU Emacs 26.0.50.3 (x86_64-pc-linux-gnu)
>>  of 2017-02-08 built on wilson
>
> After pulling and building *right* *now* M-x version says
>
> GNU Emacs 26.0.50.1 (x86_64-pc-linux-gnu, X toolkit) of 2017-02-08
>
> Why the OP version is 26.0.50.3 ?

The last number is the build number, and just counts the number of
times you rebuilt Emacs locally, see #25590.

>
>> Repository revision: c8ee570a8be7afaae3ea318b9d7dbffb62a7bbd0
>
> This revision exists and is one behind `master' on my checkout.
>
> BTW, I can't reproduce the problem following the recipe described by the
> OP on his other message.
>

I can't reproduce it either, cos(1) gives the expected 0.999847695156
in degree mode.

4:  0
3:  0.999847695156
2:  -0.448073616129
1:  0.540302305868




This bug report was last modified 8 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.