[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Passing floats to and from foreign functions
From: |
John Cowan |
Subject: |
Re: [Chicken-users] Passing floats to and from foreign functions |
Date: |
Sat, 11 May 2013 20:26:51 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
pluijzer . scripsit:
> I'm having trouble passing floating point numbers to and from foreign
> functions.
That is because Scheme inexact numbers correspond to C doubles, not C
floats. There is no support in Chicken for C floats.
--
John Cowan <address@hidden> http://www.ccil.org/~cowan
Charles li reis, nostre emperesdre magnes,
Set anz totz pleinz ad ested in Espagnes.