File: introExample32.tex

package info (click to toggle)
sollya 8.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,592 kB
  • sloc: ansic: 124,655; yacc: 7,543; lex: 2,440; makefile: 888; cpp: 77
file content (25 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
\begin{center}\begin{minipage}{15cm}\begin{Verbatim}[frame=single]
> f = exp(x) + 5;
> f(-infty);
5
> evaluate(f,[-infty;infty]);
[5;infty]
> f(infty);
infty
> [-infty;5] * [3;4];
[-infty;20]
> -infty < 5;
true
> log(0);
-infty
> [log(0);17];
Warning: inclusion property is satisfied but the diameter may be greater than th
e least possible.
Warning: at least one of the given expressions is not a constant but requires ev
aluation.
Evaluation is guaranteed to ensure the inclusion property. The approximate resul
t is at least 165 bit accurate.
[-infty;17]
> 
\end{Verbatim}
\end{minipage}\end{center}