12.3.69 SP_put_float()

Synopsis

     #include <sicstus/sicstus.h>
     
     int
     SP_put_float(SP_term_ref term,
                  double f);

Assigns to term a reference to a float.

Arguments

term
The SP_term_ref to be assigned
f
The float

Return Value

Zero if the conversion fails (as far as failure can be detected), and a nonzero value otherwise.

See Also

Creating Prolog Terms.


Send feedback on this subject.