Debian Bug report logs - #1020869
geg: Generates different graphs from equivalent formulas

version graph

Package: src:geg; Maintainer for src:geg is Debian Science Maintainers <[email protected]>;

Reported by: Sven Geuer <[email protected]>

Date: Tue, 27 Sep 2022 19:33:01 UTC

Severity: important

Tags: upstream

Found in version geg/2.0.9-3

Full log


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#1020869: geg: Generates different graphs from equivalent formulas
Reply-To: Sven Geuer <[email protected]>, [email protected]
Resent-From: Sven Geuer <[email protected]>
Resent-To: [email protected]
Resent-CC: Debian Science Maintainers <[email protected]>
X-Loop: [email protected]
Resent-Date: Tue, 27 Sep 2022 19:33:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: report 1020869
X-Debian-PR-Package: src:geg
X-Debian-PR-Keywords: upstream
X-Debian-PR-Source: geg
Received: via spool by [email protected] id=B.16643069445455
          (code B); Tue, 27 Sep 2022 19:33:01 +0000
Received: (at submit) by bugs.debian.org; 27 Sep 2022 19:29:04 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
	(2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-15.1 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,MURPHY_DRUGS_REL6,
	RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP,XMAILER_REPORTBUG
	autolearn=ham autolearn_force=no
	version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 21; hammy, 150; neutral, 56; spammy,
	0. spammytokens: hammytokens:0.000-+--bookworm,
	0.000-+--H*r:key-exchange, 0.000-+--H*r:RSA-PSS,
	0.000-+--H*r:server-digest, 0.000-+--sk:taint_o
Received: from smtp5.goneo.de ([2001:1640:5::8:30]:56736 helo=smtp052.goneo.de)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
	(Exim 4.92)
	(envelope-from <[email protected]>)
	id 1odGGN-0001PL-DE
	for [email protected]; Tue, 27 Sep 2022 19:29:04 +0000
Received: from hub2.goneo.de (hub2.goneo.de [85.220.129.53])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by smtp5.goneo.de (Postfix) with ESMTPS id 8204410A0143;
	Tue, 27 Sep 2022 21:20:33 +0200 (CEST)
Received: from hub2.goneo.de (localhost [127.0.0.1])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by hub2.goneo.de (Postfix) with ESMTPS id 65A0A10A32CC;
	Tue, 27 Sep 2022 21:20:29 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=g-e-u-e-r.de;
	s=DKIM001; t=1664306429;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=OByRelVI6FhenPUlJeKMwtIOX5VjL1DQqPc+xoiXjMo=;
	b=Efl/X/omnRsWLQfkPYkcdQp7YkFciPvYPX4rZdBkASNokPuoVIBCBGZnmCAELRr8KNMXqb
	/tkW4tMasd3Vx8KxrqyEbpLg5Je9gDptlh0hypmEd2r69xcAgNjarYCPlrBkceHgrNTAyg
	J3rQWA46QwgHj/TylbCFkMkUAF55TPylcz8ohtInfFu7xl2uxl8yTQRZY1O4MzjsZuLp2Q
	uT/x8/KMHyadqWpDAtkdLKyTd7K2WZdFS7KOjUpTGVXj8RYqSIf9AHjOknQYHdJfva7uXl
	l9qZnVZbO/sKHNaUSCzdrbhgAmGE+uyPqPYY6aR94mvyFtKDKJrPirym70Bzyg==
Received: from [127.0.1.1] (port-92-201-56-44.dynamic.as20676.net [92.201.56.44])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
	(No client certificate requested)
	by hub2.goneo.de (Postfix) with ESMTPSA id 17A9B10A32C0;
	Tue, 27 Sep 2022 21:20:29 +0200 (CEST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Sven Geuer <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Message-ID: <166430641915.16929.87432870301211856.reportbug@e580sg>
X-Mailer: reportbug 11.5.1
Date: Tue, 27 Sep 2022 21:20:19 +0200
X-Rspamd-UID: 38063e
X-Rspamd-UID: cb176c
X-Greylist: delayed 505 seconds by postgrey-1.36 at buxtehude; Tue, 27 Sep 2022 19:29:03 UTC
Delivered-To: [email protected]
Source: geg
Version: 2.0.9-3
Severity: important
Tags: upstream

Dear Maintainer,

  1/sqrt(1-x^2/100) and
  1/sqrt(1-(x^2)/100)

generate the same wrong graph, while

  1/sqrt(1-0.01x^2)
  1/sqrt(1-(1/100)x^2)
  sqrt(1-x^2/100)^(-1)

each return the expected one.

The error disappears for the non-reciprocal formulas

  sqrt(1-x^2/100)
  sqrt(1-(x^2)/100)
  sqrt(1-0.01x^2)
  sqrt(1-(1/100)x^2)

all of which generate the same expected graph.


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.19.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 14:23:39 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.