diff --git a/docs/LangRef.html b/docs/LangRef.html index caba8f0ad84..04f3c0e2ae2 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -288,7 +288,8 @@ These different primitive types fall into a few useful classifications:
signed | sbyte, short, int, long, float, double |
unsigned | ubyte, ushort, uint, ulong |
integral | ubyte, sbyte, ushort, short, uint, int, ulong, long |
integer | ubyte, sbyte, ushort, short, uint, int, ulong, long |
integral | bool, ubyte, sbyte, ushort, short, uint, int, ulong, long |
floating point | float, double |
first class | bool, ubyte, sbyte, ushort, short, uint, int, ulong, long, float, double, pointer |
@@ -832,11 +833,11 @@ There are several different binary operators:
The 'add' instruction returns the sum of its two operands.
+The two arguments to the 'add' instruction must be either integer or floating point values. Both arguments must have identical types.
+The value produced is the integer or floating point sum of the two operands.
@@ -862,12 +863,12 @@ instruction present in most other intermediate representations.
Arguments:
The two arguments to the 'sub' instruction must be either integral or floating point +href="#t_integer">integer or floating point values. Both arguments must have identical types.
Semantics:
-The value produced is the integral or floating point difference of the two +The value produced is the integer or floating point difference of the two operands.
Example:
@@ -888,11 +889,11 @@ operands.The 'mul' instruction returns the product of its two operands.
Arguments:
-The two arguments to the 'mul' instruction must be either integral or floating point values. Both arguments must have identical types.+The two arguments to the 'mul' instruction must be either integer or floating point values. Both arguments must have identical types.
Semantics:
-The value produced is the integral or floating point product of the two +The value produced is the integer or floating point product of the two operands.There is no signed vs unsigned multiplication. The appropriate action is taken @@ -920,12 +921,12 @@ The 'div' instruction returns the quotient of its two operands.
Arguments:
The two arguments to the 'div' instruction must be either integral or floating point +href="#t_integer">integer or floating point values. Both arguments must have identical types.
Semantics:
-The value produced is the integral or floating point quotient of the two +The value produced is the integer or floating point quotient of the two operands.
Example:
@@ -946,7 +947,7 @@ operands.The 'rem' instruction returns the remainder from the division of its two operands.
Arguments:
-The two arguments to the 'rem' instruction must be either integral or floating point values. Both arguments must have identical types.+The two arguments to the 'rem' instruction must be either integer or floating point values. Both arguments must have identical types.
Semantics:
@@ -1044,9 +1045,9 @@ The 'and' instruction returns the bitwise logical and of its two operanArguments:
-The two arguments to the 'and' instruction must be either integral or bool values. Both arguments must -have identical types.+The two arguments to the 'and' instruction must be integral values. Both arguments must have identical +types.
Semantics:
@@ -1084,9 +1085,9 @@ inclusive or of its two operands.
Arguments:
-The two arguments to the 'or' instruction must be either integral or bool values. Both arguments must -have identical types.+The two arguments to the 'or' instruction must be integral values. Both arguments must have identical +types.
Semantics:
@@ -1125,9 +1126,9 @@ two operands.
Arguments:
-The two arguments to the 'xor' instruction must be either integral or bool values. Both arguments must -have identical types.+The two arguments to the 'xor' instruction must be integral values. Both arguments must have identical +types.
Semantics:
@@ -1167,7 +1168,7 @@ specified number of bits.Arguments:
The first argument to the 'shl' instruction must be an integral type. The second argument must be an +href="#t_integer">integer type. The second argument must be an 'ubyte' type.
Semantics:
@@ -1196,7 +1197,7 @@ The value produced is var1 * 2var2.The 'shr' instruction returns the first operand shifted to the right a specified number of bits.
Arguments:
-The first argument to the 'shr' instruction must be an integral type. The second argument must be an 'ubyte' type.+The first argument to the 'shr' instruction must be an integer type. The second argument must be an 'ubyte' type.
Semantics:
@@ -1699,7 +1700,7 @@ more... Chris Lattner -Last modified: Fri Aug 30 16:49:39 CDT 2002 +Last modified: Mon Sep 2 19:52:16 CDT 2002