dotgnu-pnet
[Top][All Lists]
Advanced

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

[Pnet-developers] [bugs #6891] Delegates don't work correctly


From: anonymous
Subject: [Pnet-developers] [bugs #6891] Delegates don't work correctly
Date: Sun, 30 Nov 2003 19:18:39 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #6891] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=6891>
Project: DotGNU Portable.NET
Submitted by: 0
On: Sun 11/30/2003 at 19:18

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Assigned to:  None
Status:  Open


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.






File Attachments
-------------------

-------------------------------------------------------
Date: Sun 11/30/2003 at 19: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&amp;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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]