Math.NET Numerics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

110 lines
9.1 KiB

<HTML><HEAD><TITLE>Microsoft.FSharp.Compatibility.Byte</TITLE><link rel="stylesheet" type="text/css"href="../msdn.css"></link></HEAD><BODY>
<br><dl>
<dt></dt><dd>
<h1>[<a href='../namespaces.html'>Home</a>] Module <a href='Microsoft.FSharp.Compatibility.html'>Microsoft.FSharp.Compatibility</a>.Byte </h1><br>
</dd>
<dt></dt><dd>
<table>
<tr valign='top'><td><summary>
Byte (8-bit) operations.
</summary>
<dt><h3>Values</h3></dt><dd>
<table width="100%%">
<tr><th width=60%>Value</th><th>Description</th></tr>
<tr valign="top"><td><pre>val add : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns the sum of a and b
</summary></td></tr>
<tr valign="top"><td><pre>val compare : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__int.html'>int</a></pre></td><td><summary>
Compares a and b and returns 1 if a &gt; b, -1 if b &lt; a and 0 if a = b
</summary></td></tr>
<tr valign="top"><td><pre>val div : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns a divided by b
</summary></td></tr>
<tr valign="top"><td><pre>val logand : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Combines the binary representation of a and b by bitwise and
</summary></td></tr>
<tr valign="top"><td><pre>val lognot : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns the bitwise logical negation of a
</summary></td></tr>
<tr valign="top"><td><pre>val logor : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Combines the binary representation of a and b by bitwise or
</summary></td></tr>
<tr valign="top"><td><pre>val logxor : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Combines the binary representation of a and b by bitwise xor
</summary></td></tr>
<tr valign="top"><td><pre>val mul : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns a multiplied by b
</summary></td></tr>
<tr valign="top"><td><pre>val of_char : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__char.html'>char</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Converts a char to a byte
</summary></td></tr>
<tr valign="top"><td><pre>val of_int : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Converts a 32-bit integer to a byte
</summary></td></tr>
<tr valign="top"><td><pre>val of_int32 : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__int32.html'>int32</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Converts a 32-bit integer to a byte
</summary></td></tr>
<tr valign="top"><td><pre>val of_string : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__string.html'>string</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Converts a string to a byte
</summary></td></tr>
<tr valign="top"><td><pre>val of_uint16 : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__uint16.html'>uint16</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Converts a 16-bit integer to a byte
</summary></td></tr>
<tr valign="top"><td><pre>val of_uint32 : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__uint32.html'>uint32</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Converts an unsigned 32-bit integer to a byte
</summary></td></tr>
<tr valign="top"><td><pre>val one : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
The value one as a System.Byte
</summary></td></tr>
<tr valign="top"><td><pre>val pred : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns the predeccessor of the argument wrapped around 0uy
</summary></td></tr>
<tr valign="top"><td><pre>val rem : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns the remainder of a divided by b
</summary></td></tr>
<tr valign="top"><td><pre>val shift_left : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Shifts the binary representation a by n bits to the left
</summary></td></tr>
<tr valign="top"><td><pre>val shift_right : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__int.html'>int</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Shifts the binary representation a by n bits to the right
</summary></td></tr>
<tr valign="top"><td><pre>val sub : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns a minus b
</summary></td></tr>
<tr valign="top"><td><pre>val succ : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
Returns the successor of the argument wrapped around 255uy
</summary></td></tr>
<tr valign="top"><td><pre>val to_char : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__char.html'>char</a></pre></td><td><summary>
Converts a byte to a char
</summary></td></tr>
<tr valign="top"><td><pre>val to_int : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__int.html'>int</a></pre></td><td><summary>
Converts a byte to a 32-bit integer
</summary></td></tr>
<tr valign="top"><td><pre>val to_int32 : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__int32.html'>int32</a></pre></td><td><summary>
Converts a byte to a 32-bit integer
</summary></td></tr>
<tr valign="top"><td><pre>val to_string : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__string.html'>string</a></pre></td><td><summary>
Converts a byte to a string
</summary></td></tr>
<tr valign="top"><td><pre>val to_uint16 : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__uint16.html'>uint16</a></pre></td><td><summary>
Converts a byte to a 16-bit integer
</summary></td></tr>
<tr valign="top"><td><pre>val to_uint32 : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a> -> <a href='../FSharp.Core/Microsoft.FSharp.Core.type__uint32.html'>uint32</a></pre></td><td><summary>
Converts a byte to an unsigned 32-bit integer
</summary></td></tr>
<tr valign="top"><td><pre>val zero : <a href='../FSharp.Core/Microsoft.FSharp.Core.type__byte.html'>byte</a></pre></td><td><summary>
The value zero as a System.Byte
</summary></td></tr>
</table>
</dd>
</td></tr>
<tr valign='top'><td>
<dt><h3>See Also</h3></dt><dd>
<a href="Microsoft.FSharp.Compatibility.html">Microsoft.FSharp.Compatibility</a> </dd>
</td></tr>
</table>
</dd>
</dl>
<br /> <br/><p><i>Documentation for assembly FSharp.PowerPack, version 1.9.6.16, generated using <a href='http://research.microsoft.com/fsharp/'>F# Programming Language</a> version 1.9.6.16</i></p>
</BODY></HTML>