> On Sun, 30 Mar 2014 16:12:10 +0200, Stelian Ionescu said:
>
> or use the syntax 4.0s0 for a literal single-float(4.0d0 is a literal
> double in comparison).
Minor correction: that should be 4.0f0 for single-float (4.0s0 is
short-float).
__Martin
___
On Sun, 2014-03-30 at 06:59 -0700, Joeish W wrote:
> This is the way I thought you did it but I'm running this and it's not
> working:
>
> (with-foreign-object (float :float)
>
>(setf float 6)
> (type-of float))
>
> >(INTEGER 0 4611686018427387903)
>
> Th
This is the way I thought you did it but I'm running this and it's not working:
(with-foreign-object (float :float)
(setf float 6)
(type-of float))
>(INTEGER 0 4611686018427387903)
The output says it is an integer
I tried this:
(with-foreign-obj