File: fixed.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 (27 lines) | stat: -rw-r--r-- 1,110 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
26
27
\subsection{fixed}
\label{labfixed}
\noindent Name: \textbf{fixed}\\
\phantom{aaa}indicates that fixed-point formats should be used for \textbf{fpminimax}\\[0.2cm]
\noindent Library names:\\
\verb|   sollya_obj_t sollya_lib_fixed()|\\
\verb|   int sollya_lib_is_fixed(sollya_obj_t)|\\[0.2cm]
\noindent Usage: 
\begin{center}
\textbf{fixed} : \textsf{fixed$|$floating}\\
\end{center}
\noindent Description: \begin{itemize}

\item The use of \textbf{fixed} in the command \textbf{fpminimax} indicates that the list of
   formats given as argument is to be considered to be a list of fixed-point
   formats.
   See \textbf{fpminimax} for details.
\end{itemize}
\noindent Example 1: 
\begin{center}\begin{minipage}{15cm}\begin{Verbatim}[frame=single]
> fpminimax(cos(x),6,[|32,32,32,32,32,32,32|],[-1;1],fixed);
0.9999997480772435665130615234375 + x^2 * (-0.4999928693287074565887451171875 + 
x^2 * (4.163351492024958133697509765625e-2 + x^2 * (-1.3382239267230033874511718
75e-3)))
\end{Verbatim}
\end{minipage}\end{center}
See also: \textbf{fpminimax} (\ref{labfpminimax}), \textbf{floating} (\ref{labfloating})