/usr/share/mozart/doc/base/number.html is in mozart-doc 1.4.0-8ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>4.1 Numbers in General</TITLE><LINK href="ozdoc.css" rel="stylesheet" type="text/css"></HEAD><BODY><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node6.html">- Up -</A></TD><TD><A href="int.html#section.numbers.integers">Next >></A></TD></TR></TABLE><DIV id="section.numbers.general"><H2><A name="section.numbers.general">4.1 Numbers in General</A></H2><P> The module <A name="label52"></A><SPAN class="index"><CODE>Number</CODE></SPAN> contains procedures operating on numbers. Numbers in Oz are either integers or floats. The following arithmetic procedures are defined both on integers and on floats; however, there is no implicit conversion. If one input argument is a float and the other an integer, a type error is raised. </P><DL><DT><A name="label53"></A><SPAN class="index"><CODE>IsNumber</CODE></SPAN> <A name="label55"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Number<SPAN class="keyword">.</SPAN>is </CODE><CODE>+<I>X</I></CODE><CODE> </CODE><CODE>?<I>B</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>tests whether <CODE><I>X</I></CODE> is a number. </P></DD><DT><A name="label56"></A><SPAN class="index"><CODE><SPAN class="keyword">+</SPAN></CODE></SPAN> <A name="label57"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Number<SPAN class="keyword">.</SPAN><SPAN class="string">'+'</SPAN> </CODE><CODE>+<I>FI1</I></CODE><CODE> </CODE><CODE>+<I>FI2</I></CODE><CODE> </CODE><CODE>?<I>FI3</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>returns the sum of <CODE><I>FI1</I></CODE> and <CODE><I>FI2</I></CODE>. </P></DD><DT><A name="label58"></A><SPAN class="index"><CODE><SPAN class="keyword">-</SPAN></CODE></SPAN> <A name="label59"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Number<SPAN class="keyword">.</SPAN><SPAN class="string">'-'</SPAN> </CODE><CODE>+<I>FI1</I></CODE><CODE> </CODE><CODE>+<I>FI2</I></CODE><CODE> </CODE><CODE>?<I>FI3</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>returns the difference of <CODE><I>FI1</I></CODE> and <CODE><I>FI2</I></CODE>. </P></DD><DT><A name="label60"></A><SPAN class="index"><CODE><SPAN class="keyword">*</SPAN></CODE></SPAN> <A name="label61"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Number<SPAN class="keyword">.</SPAN><SPAN class="string">'*'</SPAN> </CODE><CODE>+<I>FI1</I></CODE><CODE> </CODE><CODE>+<I>FI2</I></CODE><CODE> </CODE><CODE>?<I>FI3</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>returns the product of <CODE><I>FI1</I></CODE> and <CODE><I>FI2</I></CODE>. </P></DD><DT><A name="label62"></A><SPAN class="index"><CODE><SPAN class="keyword">~</SPAN></CODE></SPAN> <A name="label63"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Number<SPAN class="keyword">.</SPAN><SPAN class="string">'~'</SPAN> </CODE><CODE>+<I>FI1</I></CODE><CODE> </CODE><CODE>?<I>FI2</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>returns the negation of <CODE><I>FI1</I></CODE>. </P></DD><DT><A name="label64"></A><SPAN class="index"><CODE>Pow</CODE></SPAN> <A name="label65"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Number<SPAN class="keyword">.</SPAN>pow </CODE><CODE>+<I>FI1</I></CODE><CODE> </CODE><CODE>+<I>FI2</I></CODE><CODE> </CODE><CODE>?<I>FI3</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>returns <CODE><I>FI1</I></CODE> to the power of <CODE><I>FI2</I></CODE>. </P></DD><DT><A name="label66"></A><SPAN class="index"><CODE>Abs</CODE></SPAN> <A name="label67"></A> </DT><DD><BLOCKQUOTE class="synopsis"><P><CODE>{Number<SPAN class="keyword">.</SPAN>abs </CODE><CODE>+<I>FI1</I></CODE><CODE> </CODE><CODE>?<I>FI2</I></CODE><CODE>}</CODE> </P></BLOCKQUOTE></DD><DD><P>returns the absolute value of <CODE><I>FI1</I></CODE>. </P></DD></DL><P> </P></DIV><TABLE align="center" border="0" cellpadding="6" cellspacing="6" class="nav"><TR bgcolor="#DDDDDD"><TD><A href="node6.html">- Up -</A></TD><TD><A href="int.html#section.numbers.integers">Next >></A></TD></TR></TABLE><HR><ADDRESS><A href="http://www.ps.uni-sb.de/~duchier/">Denys Duchier</A>, <A href="http://www.ps.uni-sb.de/~kornstae/">Leif Kornstaedt</A> and <A href="http://www.ps.uni-sb.de/~schulte/">Christian Schulte</A><BR><SPAN class="version">Version 1.4.0 (20110908185330)</SPAN></ADDRESS></BODY></HTML>
|