[gambit-list] automatic int -> double conversion
lowly coder
lowlycoder at huoyanjinjing.com
Tue May 19 15:48:31 EDT 2009
I have a C/ffi function that expects a double as an argument.
If I do (foo 0.0) <-- works fine
if I do (foo 0) <-- complains about int / double mismatch; which makes
sense. Is there a way to automatically have gambit convert ints to doubles?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20090519/41f3aa55/attachment.htm>
More information about the Gambit-list
mailing list