On Mon, Feb 22, 2010 at 7:34 PM, Shawn Rutledge
<shawn.t.rutle...@gmail.com> wrote:
> Functions like endian_lowio_read_int8 return by value, but
> endian_lowio_read_ieee_float32 set a value into a passed pointer, so
> wonder why that is... anyway seems to be where the problem is.  Maybe
> it's done that way because of NaN?  But usually NaN is a valid value,
> and can be tested for with isnan().

And indeed it seems to work OK if I make those functions return
double, just as the integer ones return ints/longs.  I can still store
a +nan.0 into a file, and read it back successfully.  I regenerated
the swig interface too.


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to