The bounds can be given as any numeric type, the set_bounds handlers are expected to interpret them appropriately.
[eclipse 1]: lib(fd), lib(ic).
yes.
% update both attributes:
[eclipse 2]: ic:(X::3.0..9.0), fd:(X::1..7), set_var_bounds(X, 5, 6.5).
X = X{ic : 5.0..6.5, fd:[5, 6]}
yes.
% no attribute - no effect:
[eclipse 13]: set_var_bounds(X, 5, 6.5).
X = X
yes.
[eclipse 15]: set_var_bounds(0, 5, 6.5).
no (more) solution.
[eclipse 14]: set_var_bounds(a, 3,7).
type error in set_var_bounds(a, 3, 7)