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.
term
Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.
Creating Prolog Terms.