[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [bugs #6891] Delegates don't work correctly
From: |
Rhys Weatherley |
Subject: |
[Pnet-developers] [bugs #6891] Delegates don't work correctly |
Date: |
Sun, 30 Nov 2003 20:08:57 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #6891] Latest Modifications:
Changes by:
Rhys Weatherley <address@hidden>
'Date:
Mon 12/01/2003 at 01:08 (GMT)
What | Removed | Added
---------------------------------------------------------------------------
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Fix committed to CVS - 1 Dec 2003
/**************************************************************************/
[bugs #6891] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=6891>
Project: DotGNU Portable.NET
Submitted by: 0
On: Mon 12/01/2003 at 00:18
Category: None
Severity: 5 - Average
Item Group: None
Resolution: None
Assigned to: None
Status: Closed
Summary: Delegates don't work correctly
Original Submission: The test program as attached has implemented 3 delegates,
calculating the square of a number (2). One uses double as in- and output, a
second integers. The third uses double as input and integer as output.
Compiling the program with cscc 0.6.0 and running it with ilrun 0.6.0
(pnetlib-0.6.0.1) calculates the correct values for the delegate with integer
in- and output. Both other functions, return invalid values. Program output as
follows:
Result: ISqr(2) = 4
Result: D2ISqr(2) = -2147483648
Result: DSqr(2) = NaN
Running the program compiled with cscc using Billy's .NET runtime returns the
expected values. Therefore my first guess is, that there's a problem with the
implementation of the delegate class in the mscorlib in pnetlib.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Mon 12/01/2003 at 01:08 By: rweather
Fix committed to CVS - 1 Dec 2003
File Attachments
-------------------
-------------------------------------------------------
Date: Mon 12/01/2003 at 00:18 Name: delegate_test2.cs Size: 745KB By: None
Short demonstration program of delegate problem
http://savannah.gnu.org/bugs/download.php?item_id=6891&item_file_id=890
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=6891>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/