[Vm-dev] Re: Suspect single float types

Eliot Miranda eliot.miranda at gmail.com
Mon May 5 00:41:42 UTC 2014


Hi Nicolas.


On Sun, Apr 27, 2014 at 6:13 AM, Nicolas Cellier <
nicolas.cellier.aka.nice at gmail.com> wrote:

>
>
> 2013-12-28 14:55 GMT+01:00 Nicolas Cellier <
> nicolas.cellier.aka.nice at gmail.com>:
>
>> I read in CCodeGenerator>>computeKernelReturnTypes
>>
>>
>>          fetchFloatAt:into: #float storeFloatAt:from: #float
>>             fetchFloatAtPointer:into: #float storeFloatAtPointer:from:
>> #float
>>          fetchSingleFloatAt:into: #float storeSingleFloatAt:from: #float
>>             fetchSingleFloatAtPointer:into: #float
>> storeSingleFloatAtPointer:from: #float
>>
>> Ain't these #double?
>>
>
> Hi Eliot,
> this still sounds suspect to me, fetchSingleFloat might be a float but
> shouldn't fetchFloat map to double?
> Or did I miss the answer ?
>

Ha, good to check.  In fact the correct return type for them is void.
 They're all macros and they fetch and store from/into their last argument.

Thanks!
-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140504/b11d9aa2/attachment-0001.htm


More information about the Vm-dev mailing list