[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#148529: marked as done ([PR ada/6911] gnat-3.1: sin broken)

Your message dated Sat, 17 Apr 2004 12:29:22 +0200
with message-id <16513.1794.307451.16878@gargle.gargle.HOWL>
and subject line fixed in gnat-3.3
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 30 May 2002 05:58:52 +0000
>From bam@snoopy.apana.org.au Thu May 30 00:58:52 2002
Return-path: <bam@snoopy.apana.org.au>
Received: from snoopy.apana.org.au [] (postfix)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17DIxX-0006Ep-00; Thu, 30 May 2002 00:58:51 -0500
Received: from localhost (localhost [])
	by snoopy.apana.org.au (Postfix) with ESMTP
	id 8FCAD3319F; Thu, 30 May 2002 15:58:47 +1000 (EST)
Received: from scrooge.chocbit.org.au (scrooge.apana.org.au [])
	by snoopy.apana.org.au (Postfix) with ESMTP
	id 04D2A3319A; Thu, 30 May 2002 15:58:43 +1000 (EST)
Received: from localhost (localhost [])
	by scrooge.chocbit.org.au (Postfix) with ESMTP
	id 93C3AAFAA; Thu, 30 May 2002 15:58:43 +1000 (EST)
Received: by scrooge.chocbit.org.au (Postfix, from userid 1003)
	id 6548E3D38; Thu, 30 May 2002 15:58:39 +1000 (EST)
From: Brian May <bam@snoopy.apana.org.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gnat-3.1: sin broken
X-Mailer: reportbug 1.50
Date: Thu, 30 May 2002 15:58:39 +1000
Message-Id: <20020530055839.6548E3D38@scrooge.chocbit.org.au>
X-Virus-Scanned: by AMaViS snapshot-20020316
X-Virus-Scanned: by AMaViS snapshot-20020316
Delivered-To: submit@bugs.debian.org

Package: gnat-3.1
Version: 1:3.1-2
Severity: normal

With the following code:

with Ada.Text_IO;
use Ada.Text_IO;

with Ada.Numerics;
use Ada.Numerics;
with Ada.Numerics.Generic_Elementary_Functions;

procedure TestBug2 is

   type F is new Float;
   subtype Radians is F;

   package Maths is new Generic_Elementary_Functions(F);
   use Maths;

end TestBug2;

It returns:


I think the first number is NaN (at least according to the patched gdb
5.0 it was), not sure why the last one is different.

According to Gnome Calculator, sin(5.49779)==0.707, and sin(0)==0.

I never had any problems with sin/cos/arcsin using the old version of
gnat (but didn't run this test program).

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux scrooge 2.4.18 #1 Wed Apr 3 13:18:14 EST 2002 i686

Versions of packages gnat-3.1 depends on:
ii  gcc-3.1                       1:3.1-2    The GNU C compiler.
ii  gcc-3.1-base                  1:3.1-2    The GNU Compiler Collection (base 
ii  libc6                         2.2.5-6    GNU C Library: Shared libraries an
ii  libgnat3.15a                  1:3.1-2    Runtime library for GNU Ada applic

Received: (at 148529-done) by bugs.debian.org; 17 Apr 2004 10:32:15 +0000
>From doko@cs.tu-berlin.de Sat Apr 17 03:32:15 2004
Return-path: <doko@cs.tu-berlin.de>
Received: from mail.cs.tu-berlin.de [] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BEn7O-0000mc-00; Sat, 17 Apr 2004 03:32:14 -0700
Received: from bolero.cs.tu-berlin.de (doko@bolero.cs.tu-berlin.de [])
	by mail.cs.tu-berlin.de (8.9.3p2/8.9.3) with ESMTP id MAA13325
	for <148529-done@bugs.debian.org>; Sat, 17 Apr 2004 12:29:22 +0200 (MET DST)
Received: (from doko@localhost)
	by bolero.cs.tu-berlin.de (8.12.10+Sun/8.12.8/Submit) id i3HATM1V021219;
	Sat, 17 Apr 2004 12:29:22 +0200 (MEST)
From: Matthias Klose <doko@cs.tu-berlin.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <16513.1794.307451.16878@gargle.gargle.HOWL>
Date: Sat, 17 Apr 2004 12:29:22 +0200
To: 148529-done@bugs.debian.org
Subject: fixed in gnat-3.3
X-Mailer: VM 7.03 under 21.4 (patch 6) "Common Lisp" XEmacs Lucid
Delivered-To: 148529-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00 autolearn=no 
X-CrossAssassin-Score: 1

according to the bug trail this is fixed in gnat-3.3

Reply to: