Re: [Cffi-devel] Casting variables and functions

2014-03-31 Thread Martin Simmons
> 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 ___

Re: [Cffi-devel] Casting variables and functions

2014-03-30 Thread Stelian Ionescu
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

[Cffi-devel] Casting variables and functions

2014-03-30 Thread Joeish W
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