@infsup: disp (X) ¶Display the value of interval X.
Interval boundaries are approximated with faithful decimal numbers.
Interval arrays with many rows are wrapped according to the terminal
width. disp prints nothing when X is an interval array
without elements.
Note that the output from disp always ends with a newline.
If an output value is requested, disp prints nothing and returns the
formatted output in a string.
format long
disp (infsupdec ("pi"))
⇒ [3.141592653589793, 3.141592653589794]_com
format short
disp (infsupdec ("pi"))
⇒ [3.1415, 3.1416]_com
disp (infsupdec (1 : 5))
⇒ [1]_com [2]_com [3]_com [4]_com [5]_com
s = disp (infsupdec (0))
⇒ s = [0]_com
See also: @@infsup/display, intervaltotext.
Package: interval