[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cinvoke-dev] C/Invoke DLL
From: |
Dean C. Davis |
Subject: |
Re: [cinvoke-dev] C/Invoke DLL |
Date: |
Wed, 02 Aug 2006 21:43:00 -0400 |
User-agent: |
Thunderbird 1.5.0.5 (Windows/20060719) |
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.