cinvoke-dev
[Top][All Lists]
Advanced

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

RE: [cinvoke-dev] C/Invoke DLL


From: Will Weisser
Subject: RE: [cinvoke-dev] C/Invoke DLL
Date: Thu, 3 Aug 2006 12:12:11 -0500

Blech, thanks.

        -W.W.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Dean C. Davis
Sent: Wednesday, August 02, 2006 9:43 PM
To: address@hidden
Subject: Re: [cinvoke-dev] C/Invoke DLL

Shmuel Zeigerman scribed the following on 8/2/2006 5:52 PM:
> Shmuel Zeigerman wrote:
> [...]
>> 3) functions that returned incorrect values:
>> atof, floor, sqrt, etc. (a problem with Cdouble?)
>>
> 
> For what it worth:
> Additional tests showed that Cdouble parameter was OK
> but Cdouble return value wasn't.
> E.g., the function 'float f1(double)' worked correctly
> but 'double f2(float)' returned incorrect values.
> 

There's a small oops in the function 'unmarshal_retval' (cinvoke-0.9
cinvoke_lua.c):  case CINV_T_DOUBLE is being cast as float instead of
double...

-- 
Dean.


_______________________________________________
cinvoke-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/cinvoke-dev




reply via email to

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