Next: cpg-ref-SP_put_functor, Previous: cpg-ref-SP_put_encoded_string, Up: cpg-bif [Contents][Index]
SP_put_float()
#include <sicstus/sicstus.h> int SP_put_float(SP_term_ref term, double f);
Assigns to term
a reference to a float.
The SP_term_ref to be assigned
The float (must be finite)
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.