#include <sicstus/sicstus.h> int SP_get_float(SP_term_ref term, double *f);
*f the float that corresponds
to a Prolog number.
If the term is an integer that does not fit in a
the call will fail.
The SP_term_ref holding the value
The location to assign
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.
Accessing Prolog Terms.