[ library(ic_kernel) | Reference Manual | Alphabetic Index ]

msg(?Var1, ?Var2, ?MSG)

Computes the most specific generalisation of Var1 and Var2 that is expressible with ic variables.
A variable or number
A variable or number
Most specific generalisation (variable)


The most specific generalisation of two intervals is computed and returned as MSG. MSG will interval over the smallest interval enclosing the input intervals, and have the more general type of the input types. If either Var1 or Var2 are domain-less, or have values that cannot be expressed as ic-domains, MSG remains unbound.

Modes and Determinism