[plt-scheme] inf.0 and nan.0 in embeded program

From: Danny Yoo (dyoo at hkn.eecs.berkeley.edu)
Date: Fri Mar 3 21:12:31 EST 2006


On Fri, 3 Mar 2006, Chongkai Zhu wrote:

> In my C program that embeds mzscheme, I would like to have Scheme_object
> that is "+inf.0"/ "-inf.0"/"+nan.0".

Hi Chongkai,

How about using scheme_eval_string("+inf.0", ...) to get at those
constants?


Best of wishes!




Posted on the users mailing list.