object
floatï
Floating point numbers data type predicates.
Availability:
logtalk_load(types(loader))Author: Paulo Moura
Version: 1:7:0
Date: 2025-02-25
Compilation flags:
static, context_switching_callsExtends:
public numberRemarks:
(none)
Inherited public predicates:
 (<)/2  (=:=)/2  (=<)/2  (=\=)/2  =~= / 2  (>)/2  (>=)/2  approximately_equal/2  approximately_equal/3  check/1  depth/2  essentially_equal/3  ground/1  new/1  numbervars/1  numbervars/3  occurs/2  singletons/2  subsumes/2  subterm/2  tolerance_equal/4  valid/1  variables/2  variant/2  varnumbers/2  varnumbers/3
Public predicatesï
between/4ï
Enumerates by backtracking a sequence of N equally spaced floats in the interval [Lower,Upper]. Assumes N > 0 and Lower =< Upper; fails otherwise.
Compilation flags:
staticTemplate:
between(Lower,Upper,N,Float)Mode and number of proofs:
between(+float,+float,+positive_integer,-float) - zero_or_moresequence/4ï
Generates a list with the sequence of N equally spaced floats in the interval [Lower,Upper]. Assumes N > 0 and Lower =< Upper; fails otherwise.
Compilation flags:
staticTemplate:
sequence(Lower,Upper,N,List)Mode and number of proofs:
sequence(+float,+float,+positive_integer,-list(float)) - zero_or_onesequence/5ï
Generates a list with the sequence of Step spaced floats in the interval [Lower,Upper]. Also returns the length of the list. Assumes Lower =< Upper; fails otherwise.
Compilation flags:
staticTemplate:
sequence(Lower,Upper,Step,List,Length)Mode and number of proofs:
sequence(+float,+float,+float,-list(float),-positive_integer) - zero_or_oneProtected predicatesï
(no local declarations; see entity ancestors if any)
Private predicatesï
(no local declarations; see entity ancestors if any)
Operatorsï
(none)